I'm using Wowza 2.2.3 to restream a feed from our Axis P1344-E network camera using JW Flash Player 5.6.1768. I followed all the instructions on Wowza's site and everything appeared to be working great at first.
Then I noticed the following javascript error:
Error: missing : after property id
The error seems to point to a spot in the jwplayer.js file but it's hard to tell where because of the format of the js code.
The strange thing is I can substitute an on-demand video in the "file" attribute and leave the rest of the embed code alone and there is no javascript error.
Also strange is the fact that this javascript error doesn't affect the playback of the live stream at all - it's just bothersome to see that error.
The searching I've done says that this error usually points to a hyphen inside a property name that's not inside quotes or something similar, but I don't have that anywhere in my embed code.
Anyway, here is my embed code, along with a link that exhibits the problem. Any help would be great - thanks!
http://www.cedarville.edu/Advancement/Health-Sciences-Center/Webcam-Video.aspx
jwplayer("videoframe").setup({
width: 720,
height: 450,
autostart: true,
stretching: "fill",
controlbar: "over",
modes: [
{
type: "flash",
src: "/lib/swf/player.swf",
config: {
'provider': 'rtmp',
'streamer': '[address of our streaming server]',
'file': 'camera.stream'
}
}
]
});
I am not able to replicate the error. It works for me and there are no errors at all.