Hi,
I try to load the jwplayer but all browser (Chrome, Firefox, Explorer) give me an error. I get the error if "Uncaught SyntaxError: Invalid or unexpected token". Navigating to the error, it takes me to the .swf file to the first line, 4th character. I don't understand what I'm doing wrong.
My code is:
Amazon CloudFront Streaming with JW Player 7
jwplayer.key="G6CGER4L0o6OsdnlJc2kKztN+jYJzVm5Zw/6NA==";
This video is streamed by CloudFront and played by JW Player 7.
jwplayer("my-video").setup({
file: "rtmp://XXXXXX.cloudfront.net/cfx/st/Sample.mp4",
width: "720",
height: "480",
primary: "flash"
});
↧