Javascript 如何将flash视频转换为html5视频?
我想把flash视频转换成HTML5。不需要下载和上传,然后再转换成HTML5视频 这是来自Adobe的视频链接源代码Javascript 如何将flash视频转换为html5视频?,javascript,html,flash,adobe,html5-video,Javascript,Html,Flash,Adobe,Html5 Video,我想把flash视频转换成HTML5。不需要下载和上传,然后再转换成HTML5视频 这是来自Adobe的视频链接源代码 <embed type="application/x-shockwave- flash"src="/swf/software/flash/about/flash_about_793x170.swf" width="793" height="225" id="shell_object" name="shell_object" bgcolor="#ffffff" qua
<embed type="application/x-shockwave-
flash"src="/swf/software/flash/about/flash_about_793x170.swf" width="793" height="225"
id="shell_object" name="shell_object" bgcolor="#ffffff" quality="high" scale="noscale"
salign="tl" wmode="opaque" title="Adobe Flash Player">
闪光源链接
/swf/software/flash/about/flash_about_793x170.swf
实际HTML链接
我如何在运行中转换它,并在只能播放HTML5视频的设备中显示它?换句话说,一个动态Flash(*.swf)到HTML5的转换器是否有一个API可以做到这一点 您需要使用类似的转换器。该命令如下所示:
ffmpeg -i flashvid.swf html5.mp4
以及html:
<video>
<source src="html5.mp4" type="video/mp4" />
</video>
我认为OP意味着在浏览器中动态转换它