Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

video not playing on iphone

33 replies [Last post]
Reply

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

Reply

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!

Reply

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 :)

Reply

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?

Reply

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?

Reply
Reply

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

Reply

Np.

Reply

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

Reply

Np!

Reply

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!

Reply

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?

Reply

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.

Reply

How was your MP4 file encoded?

Reply

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

Reply

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?

Reply

Can you update to the 5.9 patch?

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

5.9.2156

Reply

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...

regards

Reply

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

Reply

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

Reply

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

Reply

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

Reply

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.

Reply

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

Reply

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.

Reply

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

Reply

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

Reply

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

Reply

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

Reply

Oh, great! Thanks for letting me know!

Reply

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>

Reply

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

Reply

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

Reply

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

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options