Html 手机视频
甚至认为我在MP4WebM和ogg中有我的视频 它不会在ipad或iphone上播放 我的web.config有所有正确的mime类型Html 手机视频,html,azure,html5-canvas,html5-video,mime-types,Html,Azure,Html5 Canvas,Html5 Video,Mime Types,甚至认为我在MP4WebM和ogg中有我的视频 它不会在ipad或iphone上播放 我的web.config有所有正确的mime类型 <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <staticContent> <remove fileExtension=".svg"/> <mimeMap f
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<remove fileExtension=".svg"/>
<mimeMap fileExtension=".svg" mimeType="image/svg+xml"/>
<mimeMap fileExtension=".mp4" mimeType="video/mp4"/>
<mimeMap fileExtension=".ogv" mimeType="video/ogg"/>
<mimeMap fileExtension=".webm" mimeType="video/webm"/>
<mimeMap fileExtension=".m4v" mimeType="video/m4v" />
</staticContent>
<rewrite>
<rules>
<rule name="wordpress" patternSyntax="Wildcard">
<match url="*"/>
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
</conditions>
<action type="Rewrite" url="index.php"/>
</rule></rules>
</rewrite>
</system.webServer>
</configuration>
这是我的index.html
<!DOCTYPE html>
您的浏览器不支持视频标记。
在WindowsAzure上托管,你知道这不起作用吗?我就是想不出来。你发布了两次web.config而不是html页面。哎呀,我的坏更新,有人说autoplay不能很好地与moblie设备配合使用,但除此之外,我不确定。
<video width="720" height="480" autoplay>
<source src="test.mp4" type="video/mp4">
<source src="test.ogg" type="video/ogg">
<source src="test.webm" type="video/webm">
Your browser does not support the video tag.
</video>
</body>
</html>