Refreshing URL as variable?
Posted: Fri Jul 28, 2017 5:36 am
Hey all,
I've searched around and can't see how this would be done.
I have a control page with a refreshing camera image ; I wish it to alternate between 2 different cameras (say staying on each for a few seconds; then looping back).
So I have for the dynamic URL :
http://user:password@127.0.0.1:8000/++i ... height=180
If the URL could come from a variable (rather than hard coded) I *assume* I could write a schedule that simply populates this variable with any camera/stream I wish and just cycle around.
Seems a nice simple solution; but can't see how/if the control pages allow that.
Any ideas?
Ta
I've searched around and can't see how this would be done.
I have a control page with a refreshing camera image ; I wish it to alternate between 2 different cameras (say staying on each for a few seconds; then looping back).
So I have for the dynamic URL :
http://user:password@127.0.0.1:8000/++i ... height=180
If the URL could come from a variable (rather than hard coded) I *assume* I could write a schedule that simply populates this variable with any camera/stream I wish and just cycle around.
Seems a nice simple solution; but can't see how/if the control pages allow that.
Any ideas?
Ta