template_js.html problem

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
David
Posts: 7
Joined: Fri Mar 09, 2007 2:21 pm

template_js.html problem

Post by David »

Using "own_server_example.html" all is fine but I wanted to add an offline graphic so I have tried using "template_js.html".
Page comes up, loading graphic loads then after a period the offline graphic is displayed. The menu system is all there and working but it seems just not to be detecting the video stream.
I have put http://ip address:8081 in one place in the javascript header. Is this the only place?
Any help appreciated.

David
malun
Site Admin
Posts: 1593
Joined: Sun Jan 04, 2004 1:29 pm

Re: template_js.html problem

Post by malun »

David wrote:I have put http://ip address:8081 in one place in the javascript header. Is this the only place?
It should be, but I haven't had time to look at this yet. It is possible that some more changes are needed.

Wait, perhaps you forgot the last slash (/).
The line:
var baseURL = "";
shall be changed to:
var baseURL = "http://ip-address:8081/";

(with the slash included after the port number...)

I will look in to this more deeply later.

/malun
David
Posts: 7
Joined: Fri Mar 09, 2007 2:21 pm

Post by David »

Malun, / is after 8081 and noticed that if you go into Edit Settings, Stream, Page designer and hit Preview the same happens, Loading image then after a period to Off line image.

This may be a complete red herring but id I load template_js.html into Dreamweaver and hit F12 to preview page in browser no image seems to be present but there is just one pixel where there is something.

Anyway, thanks for looking when you can.

David
Post Reply