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

JWPlayer 6 in Wordpress 4.4 doesn't work with Firefox & Safari


I use JWPlayer 6 in my Wordpress 4.4 (latest version) -- audio only -- and while it seems to work fine in Chrome and Explorer, not so much in Firefox and Safari.

In Firefox, only the first two seconds are played before it cuts off.

In Safari, you can only control the 'play' button, not scroll through the stream.

Should I update to JWP7 to fix this? If so, how? There is no "update" option in the JWPlayer settings area.

My site is here:

http://celluloidtunes.no

42 Community Answers

Alex

JW Player Support Agent  
-1 rated :

Hi, there.

The audio players on your page look like they’re setup with MediaElement.js and not with JW Player. I see how you have jwplayer.js embedded on the page, but I do not see instances of the player anywhere.

Please advise. Thank you.

tjhaga

User  
0 rated :

Really? Is it not JWPlayer?

What I do is that I upload the file to my media library, then I get the option to "insert with JWPlayer". I press that and a code is added to the document. Something like:

[jwplayer mediaid="589"]

I then type [audio] in front and [/audio] after to make the bar the full length of the page.

Is this not JWPlayer?

Alex

JW Player Support Agent  
0 rated :

Hi, there.

When you wrap your shortcode in [audio] tags, it makes Wordpress use its own media player instead of JW Player. For example:

[jwplayer mediaid=“589”] <—— uses our player

mediaid=“589”][/audio] <—— uses Wordpress’s media player, essentially ignoring the “jwplayer” part of your shortcode

You can see another example in the screenshot linked below. The first player is not wrapped in [audio] tags, the second one is.

Screenshot – https://www.dropbox.com/s/fwe066wlimgqumc/69107_wp.png?dl=0

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

Thank you!

tjhaga

User  
0 rated :

I understand, thanks. I use the 'audio' tag because it looks neater on the page, filling out the whole page (whereas JWPlayer has a much shorter bar). But perhaps there's some way to "stretch out" JWPlayer to look similar?

Interestingly, I tried to remove the [audio] tags now, and the whole player disappeared. There's nothing there!

In either case, does this explain why Firefox users (and to a certain extent, Safari users) have issues with the playback?

Alex

JW Player Support Agent  
0 rated :

Hi, there.

I’m not too familiar with Wordpress’ media player so I’m not sure if it has any playback issues in Firefox or Safari.

As for the JW Player embed, I would try deleting that code altogether and try re-inserting the media.

tjhaga

User  
0 rated :

OK, so I first need to get JWPlayer to work, and then I'll doublecheck the Firefox/Safari thing

Anyway, I tried to re-insert the media from the library using 'Insert as JWPlayer', but it still comes up completely blank on the page. No player at all visible (unless I add those wicked [audio] tags, but then it's JWPlayer anymore). Weird.

Alex

JW Player Support Agent  
0 rated :

I think I may know what the issue is. Is your player rendering in Flash or HTML5? You can verify this by going inside of your Wordpress Admin, going to JW Player > Player Management > click on “Edit” for your player" and look under “Default Rendering Mode”.

If it is set to Flash, the player may not appear in Chrome because they automatically block Flash content of a certain size.

Please let me know.

tjhaga

User  
0 rated :

Yeah, I have two options there -- "Default and fallback player (unremovable)." and "Audio Only". I guess it's the "Audio Only" which is relevant for me.

In both cases, it's set to Flash. Do I change it to HTML5?

Alex

JW Player Support Agent  
0 rated :

Yes, you should change it to HTML5. It would also increase your cross-browser compatibility and make the media viewable on mobile devices.

tjhaga

User  
0 rated :

I changed the settings for both to HTML5, and when I insert the file, this code is added to the document:

[jwplayer player="2" mediaid="510"]

...but when I refresh the page to see, there is still just a blank space. No player of any kind.

Alex

JW Player Support Agent  
0 rated :

Can you supply a link to where you are seeing the player not showing up?

tjhaga

User  
0 rated :

Sure. Let's use this page as an example:

http://celluloidtunes.no/celluloid-tunes-35-fjellfilm/

Here are three screenshots of what happens:

1. Adding the file from the media library:

http://www.celluloidtunes.no/non-website/jw1.jpg

2. This is how the code then looks in the document:

http://www.celluloidtunes.no/non-website/jw3.jpg

3. But this is how it looks when I update/refresh/reload at the page itself:

http://www.celluloidtunes.no/non-website/jw3.jpg

tjhaga

User  
0 rated :

Sorry -- replace jw3 with jw2 in second link.

Alex

JW Player Support Agent  
0 rated :

Hi, there.

When I visit that link, it looks like the Wordpress media player is there. Please see the below linked screenshot.

Screenshot – https://www.dropbox.com/s/lo6e9abxrxxha27/69107_celluloid.png?dl=0

When you experience the issue, are there any errors in the browser’s console?

tjhaga

User  
0 rated :

Yes, I put the Wordpress player back after I created the screenshots. But you can check again now -- I've reinserted the JWPlayer that results in a blank space.

There are no error notifications in the browser's console when the issue occurs.

Alex

JW Player Support Agent  
0 rated :

I went into my test Wordpress Instance and tried embedding a player the same size of yours and it’s showing up fine. I would suggest the following:

1. Can you delete the plugin from your Wordpress instance and then re-download and install it again? You can click this link to download the JW 6 Wordpress plugin.
2. If it still does not work, can you send me screenshots of your Plugin Settings and Player Management screens for the plugin in your Wordpress Admin?

Thanks.

tjhaga

User  
0 rated :

I deleted and re-installed the plug-in, as advised, but the problem prevails. Still no player visible.

Here are screenshots of the screens, as requested:

http://www.celluloidtunes.no/non-website/jw4a.jpg
http://www.celluloidtunes.no/non-website/jw4b.jpg
http://www.celluloidtunes.no/non-website/jw5.jpg

Alex

JW Player Support Agent  
0 rated :

Hi, there.

It looks like, from the first screenshot you sent, that you don’t have a license key inputted in your Plugin Settings. Even though you have a “Free” account, you still have a license key that ties the player to your account. To get the key, just login to your Account Dashboard (http://account.jwplayer.com), click on the “License Keys & Downloads” link towards the middle of the page, and copy and paste the license key for JW Player 6 (Self-Hosted) into that field in your Wordpress Admin.

Please let me know if that resolves your issue.

tjhaga

User  
0 rated :

Hi!

I added a licence key, as suggested. Unfortunately, that did not solve the issue.

There is something seriously wrong here. Could my template be too old? I have the latest Wordpress version (4.4.1).

Alex

JW Player Support Agent  
0 rated :

Quick question – do you have any arguments against upgrading to JW 7? If so, we have a new plugin that may work a lot better.

Please let me know.

tjhaga

User  
0 rated :

No, I'm fine with an upgrade, but there is no upgrade option in the Wordpress admin area.

Alex

JW Player Support Agent  
0 rated :

The option would not be in your Wordpress admin area. You would want to do the following:

1. Go to https://wordpress.org/plugins/jw-player/ and download the plugin.
2. Extract the downloaded ZIP file and copy the jw-player folder to your wp-content/plugins directory of your Wordpress installation.
3. In your Wordpress Admin, go to Plugins > Installed Plugins, if you are not on that page already.
4. Activate the plugin.
5. Go to Settings > JW Player.
6. You will see an option to insert your API Key and Secret. You can find these by logging into your JW Player Account Dashboard, going to Account > Properties.

The plugin should then be set up. It ties into your Account Dashboard so you would want to configure your players on the Dashboard, instead of in Wordpress like you’re used to. You would also want to either host your content with us, or add external content via URL on the Content page of your Account Dashboard.

Please note, however, that since you have a free account, you are limited to uploading 5GB of content to our server and streaming 25GB of content per month. If you are hosting your media outside of JW Player, then those limits do not pertain to you.

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

Thank you!

tjhaga

User  
0 rated :

OK, thanks. I'll try that and get back to you.

My content is hosted in a different server, and it's not ideal to configure my player outside the Wordpress interface, but if that's what I got to do, that's what I got to do.

tjhaga

User  
0 rated :

OK, after those changes, the player at least shows:

http://celluloidtunes.no/celluloid-tunes-35-fjellfilm/

It looks a bit weird, and not as slick as the Wordpress player (it doesn't fill out the page's horizontal length, and the top seems to have been cut off), but at least it's something there. Plus uploading new episodes will be rather complicated from now on.

BUT. It will have to do for now. Thanks for the help.

Now comes the next issue -- and the purpose of this thread in the first place. Will it work properly with Firefox, Safari etc.?

tjhaga

User  
0 rated :

OK, I just realized I can edit the player to look the way I want, from the new Dashboard thing.

So I'll stop talking now! :) But I hope it's OK if I chime back if the browser issues persist. I'll make some tests here and there.

Alex

JW Player Support Agent  
0 rated :

If you change the player’s height to 40, it would display properly.

As for playback in Firefox and Safari – it’s working fine for me in Safari but isn’t in Firefox. I see that you’re pointing to the file you uploaded to Wordpress, can you try uploading it to our platform and try again. Your MP3 worked fine for me when I uploaded it to my dashboard.

tjhaga

User  
0 rated :

I'll try, but I cannot use JWPlayer for uploading content/storage. I pay my domain provider lots of money every year for that (for a 20 GB account).

tjhaga

User  
0 rated :

So if I have to upload to JWPlayer just to make Firefox users access the mp3s properly, I have to find another player.

But perhaps that's not what you meant?

tjhaga

User  
0 rated :

OK. It works when I upload.

So I have to ask -- is there any way to make this work with Firefox without having to upload to JWPlayer's server?

Alex

JW Player Support Agent  
0 rated :

Hi, there.

I played around with this a little bit and found that you do have to add the media to your JW Player account, but you don’t have to upload it. You can just add the URL either through the JW Player dashboard or by clicking the “Add the URL” link on the bottom of the dialog in Wordpress you use to embed JW Player. I just tested this with Firefox and it worked for me.

tjhaga

User  
0 rated :

Thanks for testing, Alex.

I've been doing some testing myself, and at the moment only this works in Firefox:

http://celluloidtunes.no/celluloid-tunes-35-fjellfilm/

Because that's the one I uploaded to the server in full.

This one, which is pointing to the uploaded Wordpress content as you describe, does not work so well. It's only 2 seconds long:

http://celluloidtunes.no/celluloid-tunes-39-the-10-best-scores-of-2015-13th-international-edition/

tjhaga

User  
0 rated :

Also, at the moment, neither of the two -- neither the uploaded or the "pointing-to-content" episode -- play in Safari at all. I tested Safari on my iPhone as well my PC. I do not have a Mac.

Alex

JW Player Support Agent  
0 rated :

Hey, there.

It’s weird because sometimes I see your issue in Firefox or Safari (for Mac or iOS), but sometimes I do not. I’m curious – can you try creating a test page and embedding the MP3 with the normal Wordpress plugin and see if the same issue happens?

Thanks.

tjhaga

User  
0 rated :

Yes, it's rather bizarre -- and there seems to be no system to it. Everything is fine in Chrome, but things are wonky in Safari and Firefox.

I'm not sure what you mean with 'creating a test page'. Do you mean a test page at my site, or somewhere else?

Alex

JW Player Support Agent  
0 rated :

Yes, a test page on your site. You can see our support article about how to create a test page here: https://support.jwplayer.com/customer/en/portal/articles/2186238-troubleshooting-%E2%80%94-creating-a-reproduction-page

Thanks.

tjhaga

User  
0 rated :

OK, here is the test page:

http://celluloidtunes.no/test/

This is the results for me:

Firefox: Wordpress player plays 2 seconds, then halts. JWPlayer doesn't play at all.

Safari: Wordpress player works fine. JWPlayer doesn't play at all.

Chrome: Both work fine.

(incidentally, I also tried changing my site's design/Wordpress template, but that didn't have any effect)

Alex

JW Player Support Agent  
0 rated :

Hi, there.

I just tried your test page on Chrome on Mac, and I’m having issues with both players. With the JW Player, the first couple times I tried to play the content, it would just not play and the play button will revert back to Play. After a few times, the JW Player will play the first two seconds and then stop. I’ve tried the Wordpress player both times and it’s not working.

At this point, I’m thinking it’s an issue with the MP3 itself. Can you try uploading and doing the same embedding technique with a sample MP3 found on this page: http://www.noiseaddicts.com/free-samples-mp3/

Thank you!

tjhaga

User  
0 rated :

Really? Chrome works fine on my PC (both players). Only Firefox and Safari have issues.

I doubt it's something with the mp3. All my mp3s are the same and I've never had any issues before. This is only an issue that has arisen in the last month or so.

I'd love to upload an mp3 sample from that page, but there is no download option. It only streams the sound. However, I've uploaded a new mp3 in a new JWPlayer and a new Wordpress player at the test page. You can check it out now, and see if the problem persists.

Alex

JW Player Support Agent  
0 rated :

You should be able to download the MP3s when they start playing by right-clicking on the player and choosing Save As..

As for your new MP3, I’ve tried it and the browser console is reporting a media error for it. I also tried the MP3 directly in the browser and it fails to play natively in Chrome. (http://celluloidtunes.no/wp-content/uploads/2016/01/03-Touchy.mp3)

tjhaga

User  
0 rated :

Again, the new mp3 plays fine here (also natively in my Chrome), so perhaps there is a difference between our "Chromes"? Have you tried them in Firefox and Safari?

I tried downloading by right-clicking etc. earlier, but it only wants to download the webpage (html), not the mp3.

Alex

JW Player Support Agent  
0 rated :

Of course, the next time I try your test page in Chrome, it works and the media plays. :)

It’s also playing for me in Firefox, but not in Safari.

I downloaded your 03-Touchy.mp3 and uploaded it to my Wordpress and embedded it the same way you did – added the URL to my account dashboard, then embedded it with our new plugin – and it works fine for me in all browsers, including Safari.

At this point, I’m not sure how else I can troubleshoot this. I know one thing – it doesn’t look like it’s an issue with our player itself. I’m also not able to reproduce your issue in another Wordpress environment. I would suggest maybe removing some plugins or other JavaScript libraries you may have on your page to see if that does anything.

I’m sorry I could not be of further help.

tjhaga

User  
1 rated :

I see. Well, the answer is obviously somewhere in there (whether Wordpress or JWPlayer or something else) -- and it's something that mysteriously happened one month ago.

Anyways, I appreciate your help along the way. I'll try your tips about plug-ins, but if that doesn't work, I think I may have to go for a different player altogether.

This question has received the maximum number of answers.