
Error Setting up player: Invalid license Key ( JW Player 6)
I am trying to embed a video where the content is stored in a database. Everything works fine when I try to play video using HTML5 however if I need to use flash I get the following error "Error Setting up player: Invalid license Key". Here are some screen shots. I verified that I get the same error message in Chrome when I set the primary option to "Flash". I have tried this both ways with using my jwplayer.key and leaving it out.
Not working in FireFox with Flash
http://test.ammkwed.com/images/ff_flash_video.png
Working in Chrome with HTML5
http://test.ammkwed.com/images/chrome_html5.png
On a side note in order to make this work I had to add the fake.mp4 to the url and use some client side code to map it back to the correct controller.
Example code
bc.. jwplayer('mediaspace').setup({
file: "http://iphidden/getAttachment/fake.mp4?attachId=myId",
width: 720,
height: 420,
controls: true
});