2013-06-03 50 views
1

我在iPad播放视频,但没有得到发挥,我使用下面的代码。如何播放视频在iPad的网络应用程序

<!DOCTYPE html> 
    <head> 
    <meta charset=”utf-8″> 
    <meta name=”apple-mobile-web-app-capable” content=”yes” /> 
    <title>My Video</title> 
    <link rel=”apple-touch-icon” href=”icon.png” /> 
    <style> 
    body {margin:0;} 
    </style> 
    </head> 
    <body> 
    <video width=”1024″ height=”750″ controls=”true”> 
    <source src=”videos/test.m4v” /> 
    </video> 
    </body> 
    </html> 
+0

*旁注:*用''替换'“'' – Raptor

回答

0

iOS只支持本地播放的MP4,MOV,M4V格式。为了让您的MKV视频在iPad中播放,请转换为支持的格式。

替换"以使语法有效。

+0

为我替换”with“ –

+0

已更新的答案。 – Raptor

相关问题