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

video not playing on iphone


I embedded the jw player and it is working fine in my safari browser. But when I look on the iphone I get the message 'this video could not be loaded etc'. I read other forum topics on this but they don't seem to help me solve this issue.

I used Handbrake and clicked on iPhone and iPod touch settings. But when I click this I can't click 'web optimized' anymore. Well I can click it but then the iPhone settings on the right are gone. Anyway I uploaded a video with iPhone settings (without web optimized) but this also doesn't play.

Then I used a video from a friend of mine who is also using jw player. His video on his website is working on my iphone (this is mp4 format). But when I use his video on my website it isn't working on the iPhone. So this makes me conclude something else is wrong on my page, but I can't figure out what it is. I have used exactly the same code as he has.

Link to the page: www.paragliding.nl/video/player.php

The test video is my friends movie that works on his website but not on mine. The 'Soaren in Wijk Aan Zee' video is the one that is in iPhone format without web optimization (and hence doesn't play immediately).

Any suggestions?

Thanks,

Vincent

35 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

It might be an encoding thing.

When encoding, please make sure you are using H.264 Baseline Profile Level 3.0 or lower with no more than three reference frames, AAC Low Complexity Profile, and an MP4 container if you want to support older iProducts. The “Normal” profile in Handbrake doesn’t use Baseline Profile H.264 so the older devices can’t decode it. Use the iPod or iPhone presets in Handbrake and they will work fine in Flash as well!

JW Player

User  
0 rated :

As I said in my post I used the iphone profile in handbrake and it still doesn't work. Also when you select the iphone profile in Handbrake you cannot select the 'web optimized' anymore which means the video won't load immediately.

Also as written above I have used a video that works on a friends page so the encoding must be right. But when I use it on my website it won't work on the iphone. Even though video is the same and the embedding of the player (the code) is the same.

Makes no sense to me :)

Ethan Feldman

JW Player Support Agent  
0 rated :

I have an idea. It could be a server thing.

1) Try to link to – http://www.longtailvideo.com/jw/upload/bunny.mp4

See if it works.

2) If it works, download the file and put it on your own server.

Does it still work?

JW Player

User  
0 rated :

Yep, just as you expected. If I link to the file on your server it works, if I put it on my own server it doesn't work on the iphone.

What server setting influences this?

Ethan Feldman

JW Player Support Agent  
0 rated :

If the server is Apache, this might help – http://threatpost.com/en_us/blogs/apache-plans-range-header-bug-fix-next-day-082611

JW Player

User  
0 rated :

Thanks Ethan, I will pass it on to the server guys. Will let you know if it works.

Ethan Feldman

JW Player Support Agent  
0 rated :

Np.

JW Player

User  
0 rated :

Today we moved our website from an Nginx-Unix server to a Linux server and guess what: it works! Thanks for your help.

Ethan Feldman

JW Player Support Agent  
0 rated :

Np!

JW Player

User  
0 rated :

Similar issue as above regarding iPhone playback. Error message is "The video could not be loaded, either because the server or network failed on...". Then, the message cuts off.

We're using GoDaddy for Linux hosting of our WordPress website and the dashboard says it's running PHP 5.2.

Here's a link to our page that contains the video:
http://sharemediaservices.com/?slider=smarter-than-your-donor

Please let me know your thoughts and suggestions.

Thanks!

Ethan Feldman

JW Player Support Agent  
0 rated :

It could have to do with how your video was encoded.

If you try – http://www.longtailvideo.com/jw/upload/bunny.m4v, does it work?

JW Player

User  
0 rated :

Dear Ethan LongTail,

embedded jw player 5.9 on my webserver.
it works fine for firefox IE, and chrome. However it is not working for Safari on a PC (both Windows & Mac OS), neither on a iPhone/iPad.

the link is www.llcontent.com

any tips for me?

Thanks in advance.

Ethan Feldman

JW Player Support Agent  
0 rated :

How was your MP4 file encoded?

JW Player

User  
0 rated :

Yes, the video file is encoded in H.264/avc. mp4 is the file format.

JW Player

User  
0 rated :

it is working on the safari browser now. however it does not work for an iPhone/iPad yet.

I used the http://www.longtailvideo.com/jw/upload/bunny.mp4 file to the test page: http://www.llcontent.com/christmasgreetings

IIS 6.0 server.

any tips?



Ethan Feldman

JW Player Support Agent  
0 rated :

Can you update to the 5.9 patch?

http://www.longtailvideo.com/players/jw-flv-player/

5.9.2156

JW Player

User  
0 rated :

Thanks Ethan.

No luck on this patch either. is it something to do with IIS?

I will move this question to http://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding/25646/jw-player-not-working-on-ipad-iphone

regards

Ethan Feldman

JW Player Support Agent  
0 rated :

It might…does your IIS server have range request headers enabled?

JW Player

User  
0 rated :

not working for me neither, no matter what!?!?!?!?!

Ethan Feldman

JW Player Support Agent  
0 rated :

@am – please provide a link, or something useful here to add to the discussion.

JW Player

User  
0 rated :

Looks like I'm having a similar problem.
http://ricardoalmonte.com/?page_id=5

This is currently linked to the longtailvideo bunny.mp4. Loads fine from my mac desktop but there is no player appearing on ipad or iphone.

I'm using the jw player wordpress plugin, on a godaddy.com hosted linux server. I'm able to get videos to playback on desktop when hosted from my own site, but I have yet to see a working html 5 player appear on my iPad in any situation.

Embed code in wordpress is:

[jwplayer config="myplayer" file="http://longtailvideo.com/jw/upload/bunny.mp4" html5_file="http://www.longtailvideo.com/jw/upload/bunny.mp4"]

Thanks

Ethan Feldman

JW Player Support Agent  
0 rated :

Just make it:

[jwplayer config=“myplayer” file=“http://www.longtailvideo.com/jw/upload/bunny.mp4”]

You don’t need file and html5_file if they are in fact the same file.

JW Player

User  
0 rated :

Ok. Done. Still not getting it on the ipad or iphone....
Thanks for the quick response.

Ethan Feldman

JW Player Support Agent  
0 rated :

Remove this line –
<script type="text/javascript" src="http://ricardoalmonte.com/jwplayer.js"></script>

Not sure where that is from, but that is not from our plugin.

JW Player

User  
0 rated :

Done. That was from my original self install.
No effect on the iPad... Not appearing for me.

Server? iPad Cache? Interestingly enough however, I'm not getting video on my iPad 2 at: http://longtailvideo.com/players

This is over Wi-Fi in my apartment. I don't have 3g to test it. Thanks again,

James

Ethan Feldman

JW Player Support Agent  
0 rated :

I see no reasons as to why this wouldn’t work. What version of iOS are you using?

JW Player

User  
0 rated :

iOs version 4.3.5. I can upgrade but it might be better to troubleshoot this first.

JW Player

User  
0 rated :

Good news! I closed all of the apps on the multitasking bar on my iPad and now video works. Many thanks Ethan

Ethan Feldman

JW Player Support Agent  
0 rated :

Oh, great! Thanks for letting me know!

JW Player

User  
0 rated :

Coding Question. We hired a company to build us a wbsite. We need to have videos that play on the iPhone and iPad. One video does. It is set up like this:

<div class="content">
<div class="banner">
<div class="video">
<div id="media"></div>

<script type="text/javascript">
jwplayer("media").setup({
flashplayer: "js/player.swf",
file: "vedio/About.mp4",
image: "images/home.jpg",
controlbar: 'bottom',
stretching: 'uniform',
height:270,
width:480,

});
</script>


The rest of the videos do not play. THe vendor we hired is no longer responding to us. Is there an easy way to fix this that a non-coder can implement? The other videos are set up like this:

<div class="picbox">
<div class="picstyle">
<div style="float:left; margin-left:7px;margin-top:5px">
<div class="jwbox">
<img width="170" height="127" alt="JW Box Image" title="The Need" src="images/nn.jpg"/>
<div class="jwbox_hidden">
<div class="jwbox_content">

<object id="single1" width="500" height="400" name="single1" bgcolor="#000000" data="js/player.swf" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="controlbar" value="top" /><param name="stretching" value="exactfit" /><param name="wmode" value="transparent" /><param name="flashvars" value="file=http://www.iq-communications.com/vedio/The Need.mp4&autostart=true&stretching=uniform&allowfullscreen=true" /><param name="src" value="js/player.swf" /></object>
</div>
</div>
</div>
</div>
</div>
<div class="pictxt">Line animation</div>
</div>

Ethan Feldman

JW Player Support Agent  
0 rated :

The 2nd one does not because you are using <object> and <embed> code here, which is Flash only.

You need to use jwplayer.js for html5 support – http://www.longtailvideo.com/support/blog/15827/using-the-jw-embedder-to-embed-your-player

JW Player

User  
0 rated :

Is there a max resolution size for the mp4 to play on iPhone ?

It appears to work fine when the video is a lower resolution but I have tried at 938 x 600 and it does not play on the iPhone.

In all applications it works on an iPad and all browsers - Just not iPhone

Ethan Feldman

JW Player Support Agent  
0 rated :

Which iPhone? The iPhone 3gs has a limit of 640×480.

JW Player

User  
0 rated :

I actually have a question about these limits. Do these limits refer to the size of the video as I export or do they refer to the size I make my player on my site?

Because I'm thinking of having a regular version which would be viewable on the ipod and ipad and a higher Def version for those whose systems allow them to view that if they want (I'll be using the HD plugin for this one).

Basically to clarify my question some more, if I record something in full HD and edit, should I be rendering with a size of 640 by 480 or can I render with the original size(Most likely 1920 by 1080) and then write the javascript code for 640 by 480 on my website?


I don't think this question requires this, but if it will help you answer me, here's my website again. BTW I love this forum!!!!!! So helpful and you are all so fast with the responses!

www.bailasociety.tv/public/850.cfm

Ethan Feldman

JW Player Support Agent  
0 rated :

These limits refer to the size of the video you export.

This question has received the maximum number of answers.