Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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>

3 Community Answers

diverses

Best Answer 

I've found my mistake.
I forgot the " " around flash.

View in conversation

diverses

Best Answer  User  
0 rated :

I've found my mistake.
I forgot the " " around flash.

Andrew

JW Player Support Agent  
0 rated :

Ah! Glad you’ve figured it out. I’ll close this out then.

MisterNeutron

User  
0 rated :

If you're providing an FLV, there's no need for primary: "flash" anyway. An FLV is, by definition, a Flash video, and can't be played with native HTML5. So, this video will always be played with Flash on a desktop/laptop, and won't be playable on a mobile device at all, no matter what you do.

This question has received the maximum number of answers.