If I load the video by passing the file at initialisation time, it works:
var jw = jwplayer('container').setup({
width: 528,
height: 295,
skin: 'skins/rizla/rizla.xml',
bufferlength : 0.1,
modes: [
{type: 'flash', src: 'jwplayer/player.swf'},
{type: 'html5'}
],
file : 'http://full/path/to/video.mp4',
});
However, if I used the load
method from the player API, it plays fine in browsers (with Flash disabled so the HTML5 version loads) but won't play on the iPad / iPhone (but with no errors displayed):
jw.load({file : 'http://full/path/to/video.mp4'});
Examining the results of jw.getPlaylist()
for each type of loading reveals very different values but that might unrelated to the issue.
Note: The video plays fine when linked to directly, opening in the default media player so it's not a video issue but a jwPlayer-specific issue.
setup
– howard10