
"The Video Could Not Be Loaded" - Encode Video for JW Player/iPhone
Hi!
I've been through these forums and I see this question has been asked a lot, but I'm still not able to get this working. I would like my video to play on iPhones and iPads.
On my iPhone (3GS) I get the same message regardless of the file I am using. The message is:
"The video could not be loaded, either because the server or network failed or because the format is not supported:" Then it shows the path to the video.
Here is a link to my site:
http://www.runningwithelephants.com
Currently, all of the videos here are h.264 AAC .mov files with the exception of the video at the following link which is h.264 AAC .mp4:
http://www.runningwithelephants.com/?p=71
To create that .mp4, I did a "Save As" in Mpeg Streamclip to save the h.264 .mov to an h.264 .mp4.
I've seen in the forums that you like Handbrake for encoding. I am on a Mac using the latest version of Handbrake (0.9.5). I tried converting the file using the presets for iPod 4, and it created a .m4v file. I tested the .m4v on my site with my iPhone but it did not work. I have not been able to find a way to get Handbrake to export a file with an .mp4 extension.
The code I am using to embed the video on my site is as follows:
<script type='text/javascript' src='http://www.runningwithelephants.com/wp-content/mediaplayer/jwplayer.js'></script>
<div id='countrytour'>This text will be replaced</div>
<script type='text/javascript'>
jwplayer('countrytour').setup({
'flashplayer': 'http://www.runningwithelephants.com/wp-content/mediaplayer/player.swf',
'file': 'http://www.runningwithelephants.com/videos/country_tour.mp4',
'controlbar': 'bottom',
'width': '810',
'height': '480'
});
</script>
On my iPhone, I am totally able to see the Buck Bunny file at:
http://www.longtailvideo.com/players/jw-flv-player/
So my questions are:
1. How can I encode my videos to match the settings the Buck Bunny movie you have on your site? (What software, settings, etc)
2. Is that even the problem?
Thank you!
Dave