我正在使用 JW 播放器http://www.longtailvideo.com/players/嵌入我的视频, 并且我的视频无法在 Ipad 或 Iphone 上播放,我认为是 HTML5 视频标签。视频只是黑色。嵌入 div 的代码
<div id="jwplayer-1"></div>
<script type="text/javascript">
jwplayer('jwplayer-1').setup(
{"flashplayer":"<?php echo $jwplayer_folder; ?>/player.swf",
"width":"550",
"height":"500",
"controlbar":"bottom",
"icons":"true","playlist.position":"none","playlistsize":"180","repeat":"none",
"shuffle":"false","bufferlength":"1",
"smoothing":"true",
"stretching":"uniform",
"wmode":"opaque",
"mute":"false",
"volume":"90",
"skin":"<?php echo $jwplayer_folder; ?>/skins/whotube.zip",
"dock":"false",
"autostart":"false",
"file":"http://www.longtailvideo.com/jw/upload/bunny.mp4",
"image":"<?php echo $image_slug; ?>",
});
</script>
在 Flash 端一切正常,它在任何普通浏览器上播放视频,但在 ipad 上,视频无法播放。我知道这不是编码问题或任何问题,因为我在视频下方使用此代码并且它可以工作......
<video width="320" height="240" controls="controls">
<source src="<?php echo $video_slug ?>" type="video/mp4" />
<source src="movie.ogg" type="video/ogg" />
Your browser does not support the video tag.
</video>
任何想法或想法,因为我已经尝试了所有我认为这可能是我在设置方法上设置 JW 播放器的方式?
谢谢!