
JW player does not appear at all
What did I do wrong? Did I forget something?
1. I have uploaded the jwplayer folder in a sub folder of my website.
www.mywebsite.com/video/jwplayer
2. I've included the folling between the <head> tags of the index.php (lays in the folder www.mywebsite.com/video)
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
3. I have written the following code at the index.php, where the video shall appear:
<div id="comdeypreis2014">Loading the player with the video comedypreis2014</div>
<script type="text/javascript">
jwplayer("comdeypreis2014").setup({
file: "http://www.mywebsite.com/video/sources/comedypreis2014.flv",
height: 380,
width: 640,
primary: flash,
image: "http://www.mywebsite.com/video/screenshots/comedypreis2014.png"
});
</script>