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

YouTube Embedding and Firefox


We are currently using the JW Player Version 6.12. Premium, as bad as we would like upgrading to version 7 of the player, at the present time is not an option, as JW 7 does not support IE 7 and 8 ( we have large number of users on this format, too large to ignore at this point).

We are having problems with Firefox and Youtube (single video play) embedding. Sometimes it will play, sometimes not, or play really sluggish.

We are using “flash” as our primary in the code. If we switch this to “html5” in the code it will work with Firefox, BUT we will render useless the player in almost half of our traffic that uses earlier versions of internet explorer, so this is not an option either.

One frequent user of this support board (James Herrieven) suggested the following code, which it worked:

jwplayer(...).setup({
...
"primary": (jwplayer.utils.isIE(7)||jwplayer.utils.isIE(8)?"flash":"html5"),
...
});

The problem is that now it will load things like “Playlist” from the channel you are embedding, from "Next Video" "Overlay" comments and so on. Where before it would filter all that. Basically it looses the point of having a JW player as it's now a Youtube player.

Here’s a sample link of our issue:

http://i.imgur.com/PkZ7OIQ.jpg


My question:

Is there a patch, a work around or a code trick that can be use for JW Player Version 6.12 to fix this Youtube embedding problem?

Any thoughts or suggestions will be incredibly appreciated .

Thanks,

8 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi, there!

I just made a test page using a YouTube stream in JW 6 and am unable to reproduce your issue. Do you mind giving me a link to the page where you have the player setup so I can see it in action?

Thanks!

jose

User  
0 rated :

I can't provide you with a direct link to our server right now, but try embedding the enclosed link in the JW 6 Player you have created and wait until the video is almost to the end and you will see Youtube playlist trying to load up.

http://www.youtube.com/v/mqNmYoGWjO4?

Alex

JW Player Support Agent  
0 rated :

Hi, Jose.

I have done what you asked and am still unable to reproduce your issue. The video plays and completes as expected. Please see the linked screenshot for what the player looks like at the end of the video. I’ve also linked my test page below:

Test Page: http://qa.jwplayer.com/~abussey/57542-youtube-firefox.html
Screenshot: http://qa.jwplayer.com/~abussey/screenshots/youtube-firefox.png

Please let me know if you need any more help or have any other questions.

Thank you!

jose

User  
0 rated :

Hi Alex,

These are my screen shots using your player ( I did not make a player) . I am just viewing the one you put together. You will see how YouTube is loading a playlist on the player.

http://i.imgur.com/JcLzffq.jpg

http://i.imgur.com/r9BZXqC.jpg

Alex

JW Player Support Agent  
0 rated :

Ah, my apologies – I thought you mean it was automatically trying to play another item in a playlist.

Unfortunately, there is no way for our player to remove that “Suggested” video item. It comes through via YouTube’s API, so we have no control over that part of it. All our player is doing in that context is displaying a different skin on top of the YouTube video and allowing you to get analytics from it.

jose

User  
0 rated :

Right now it works if the primary is "flash". On that setting it does filter that "Suggested" list. Here is the thing, Google API will allow you to remove that through a setting call "modest branding" but you will have to use a Youtube player. I think is worth it if you guys had a patch for this.

Alex

JW Player Support Agent  
0 rated :

Hi, Jose.

It’s against YouTube’s Terms of Service for the API that we use to make that change. We don’t use the same player that you would be able to embed from the video’s page.

jose

User  
0 rated :

I understand, Thanks for the explanation.

This question has received the maximum number of answers.