相关疑难解决方法(0)

为什么HTML5视频无法在IOS 8 WebApp(webview)中播放?

简单的HTML5视频在Safari浏览器上播放.但在将其添加到主屏幕(独立WebApp)后,它不起作用.它正在iOS7上运行,但已停止在iOS8上运行.

<!DOCTYPE html>
<head>
    <meta charset="utf-8">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>HTML5 Video Standalone Test</title>
    <style>
    body{
        margin:0;
        }
    </style>
</head>
<body>
    <video src="http://www.jplayer.org/video/m4v/Big_Buck_Bunny_Trailer_480x270_h264aac.m4v" autoplay="autoplay" controls="true" webkit-playsinline />
</body>
</html>
Run Code Online (Sandbox Code Playgroud)

请帮忙.这有什么解决方案吗?

html5 html5-video ios iphone-standalone-web-app ios8

39
推荐指数
3
解决办法
4万
查看次数