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

JW6 works on desktop, not on mobile


Brand new to JW Player and I'm sure this is a simple fix but I'm not seeing it. I'm using JW6 with CloudFront. The player is working on the desktop browsers but not showing up on mobile Chrome or Exlporer.

<script type="text/javascript">// <![CDATA[
jwplayer('mediaplayer').setup({
sources: [{
file: "rtmp://s1qp14qqytgab5.cloudfront.net/cfx/st/mp4:linda-home-2.mp4"
},{
file: "http://d1tw8z6zeba8dw.cloudfront.net/linda-home-2.mp4"
}],
width: "700",
height: "400",
primary: "flash",
});
// ]]></script>

What am I missing?

35 Community Answers

JW Player

User  
0 rated :

Forgot the link

http://lindahorninspires.com/

JW Player

User  
0 rated :

RTMP is Flash only, so it won't work on a non-Flash device, i.e., virtually all mobiles.

JW Player

User  
0 rated :

Actually, that should work, in theory. First, try getting rid of the trailing comma after primary: "flash", since that's the last attribute.

Then, what happens if you don't specify a primary at all?

Ethan Feldman

JW Player Support Agent  
0 rated :

That should be fine now.

JW Player

User  
0 rated :

Getting rid of the trailing comma after primary: "flash" had no effect. If primary is not specified then the player does not show on desktop or mobile.

JW Player

User  
0 rated :

I am not at all into anything techy whatsever and have been trying to follow some of these conversations but to no avail. I use jw player to watch tv shows on cucirca.com but it has suddenly stopped working. It comes up with a sign which says "the video could not be loaded, either because of the server or network failed or because the format is not supported..."it keeps going with a whole lot of letters and numbers which i dont understand so how do i get the player to work againa?

JW Player

User  
0 rated :

Lizzy, this forum is for webmasters who are using JW Player to show videos on their websites. If you're having a problem with a particular website, contact the owner of that site. You can't configure JW Player yourself.

JW Player

User  
0 rated :

Still no luck on getting this player to work on both mobile and desktop devices - HELP!

JW Player

User  
0 rated :

@Chris

> You are loading JW Player 3 times... comprising different versions (get rid of the redundant ones)
> Your MP4 has the MIME-type of "application/octet-stream" - this should be "video/mp4" (needs configuring on the server)
> Your MP4 probably needs re-encoding as it appears to be downloading the whole file before playing - pass it through Handbrake - http://www.longtailvideo.com/support/jw-player/28838/mp4-video-encoding

James

Ethan Feldman

JW Player Support Agent  
0 rated :

@Lizzy – Email the site’s web master.

@Chris – Your mp4 file – http://d1tw8z6zeba8dw.cloudfront.net/linda-home-2.mp4

Has this mime type – application/octet-stream

But it needs to be – video/mp4

That is the mobile issue.

Ethan Feldman

JW Player Support Agent  
0 rated :

Nice James :)

JW Player

User  
0 rated :

I'll start working on it - Thank you!

Ethan Feldman

JW Player Support Agent  
0 rated :

Np!

JW Player

User  
0 rated :

Your MP4 has the MIME-type of "application/octet-stream" - this should be "video/mp4" (needs configuring on the server)

Do you have instructions on how to do this?

JW Player

User  
0 rated :

Ideally, your web host should take care of that. But if you have access to your own .htaccess file, you can add this line to it, which will accomplish the same thing (though not as robustly):

AddType video/mp4 .mp4

JW Player

User  
0 rated :

Okay, used Handbrake to re-encode video, then added 'AddType video/mp4 .mp4 to .htaccess file

Also found that I could change Content-Type Value from application/octet-stream to video/mp4 in the Properties->Metadata

Video still plays fine on desktop but not on mobile device. I feel like I've wasted hours on this issue - FRUSTRATED!

JW Player

User  
0 rated :

Hi,

I was trying to see the page:

http://www.longtailvideo.com/support/jw-player/29236/basic-youtube-stream/

On my iphone 5 and gets an error of This video is currently unavailable. Learn more.

But the same page in desktop I can see the video.

Ethan Feldman

JW Player Support Agent  
0 rated :

@Chris – The MIME TYPE is set on Amazon CF. Your file is being served from there. They can update it for you.

@Goncalo – This is unrelated, and it works fine on my iPhone5, please start a new thread, thanks.

JW Player

User  
0 rated :

@Ethan I'm using the basic plan with CF. Would I need to get a support plan for them to do the update?

Ethan Feldman

JW Player Support Agent  
0 rated :

You should be able to have a place in CF to change the MIME TYPE.

JW Player

User  
0 rated :

This is the most frustrating experience with implementing something into a Wordpress site. Now I'm back to getting "Error loading media: File not found" on my desktop browser in addition to never playing on my mobile devices. I would NEVER recommend this product.

JW Player

User  
0 rated :

So you're blaming JW Player for problems with Amazon CF, or with WordPress?

This is the problem with CMS's like WordPress. The people who use them don't have a clue about what makes them work. As soon as something doesn't work with a simple "click here, click there" approach, they're completely lost.

JW Player

User  
0 rated :

You're absolutely right, it doesn't work as anticipated and I'm completely lost.

From my experience over the last several days I would only recommend this to those with a higher level of expertise than myself - maybe a warning label is in order for us 'clueless'. Or could it be that my expectations were unreasonably set too high when I read:

"Whether youre a beginner or a pro, JW Player 6 gives you limitless possibilities" or

"Why Choose the JW Player?
Web video is complex, we make it simple. Never worry that your player will crash on mobile. Or that your video is in the wrong format. JW Player has evolved through the history of online video since its first version in 2005. Our experiences are built into JW Player 6, bringing you the most robust and versatile player on the market. Choose our cloud-hosted player for maximum simplicity or our self-hosted player for maximum control."

The bottom line is I was expecting a player that would easily, with little or no coding, play videos on mobile and desktop without other branding or videos ie. YouTube. For now I will go back to the simpler video player plugin options until I can find a better solution.

At any rate, thank you for trying to help.

JW Player

User  
0 rated :

Here's a page that shows how to embed a video on a web page. Take a look at the source code of the page. Does this actually look complicated to you?

http://misterneutron.com/JW6embed/

JW Player

User  
0 rated :

That coding does not look complicated and glad it works for you, however, that does not help solve the problem I'm having with getting my videos to play on both desktop and mobile devices.

Ethan Feldman

JW Player Support Agent  
0 rated :

@Chris – Did you get CF to update the MIME TYPE?

JW Player

User  
0 rated :

I believe that I have updated the MIME Type. Within CF you can change the content type under the Metadata tab. Key: Content-Type Value: video/mp4

Ethan Feldman

JW Player Support Agent  
0 rated :

Yes, it is right now. It should be fine now then.

JW Player

User  
0 rated :

It is playing on desktop but on my Galaxy S3 using Chrome and Explorer I get 'Error loading player: No playable sources found'

Ethan Feldman

JW Player Support Agent  
0 rated :

Where this is running? Can I see the latest example?

JW Player

User  
0 rated :

http://lindahorninspires.com/

JW Player

User  
0 rated :

Do you have Flash installed on that S3? You're providing two sources: an FLV file, and an RTMP stream. Both require Flash, no matter what player you're using. No Flash, no video on the device. Period.

JW Player

User  
0 rated :

@misterneutron In your page example from earlier I was able to play your video on both desktop and my S3 Can you please tell me how to accomplish this? I'm obviously missing something

JW Player

User  
0 rated :

You can play an MP4 on virtually any device - on mobiles and most desktop browsers it will use native HTML5, and on a few older browsers it will use Flash.

But the FLV format and the RTMP streaming format are both _FLASH ONLY_. They can't be played natively in HTML5. So, on virtually all mobile devices, these formats can't be shown.

Ethan Feldman

JW Player Support Agent  
0 rated :

Your link is FLV / RTMP. You need to use an MP4. Why not just use the MP4?

This question has received the maximum number of answers.