Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何嵌入具有视频/音频标签等控件的swf文件?_Html_Video_Embed_Flash - Fatal编程技术网

Html 如何嵌入具有视频/音频标签等控件的swf文件?

Html 如何嵌入具有视频/音频标签等控件的swf文件?,html,video,embed,flash,Html,Video,Embed,Flash,我尝试使用视频、对象和嵌入标记搜索将swf文件嵌入浏览器的各种方式 视频标签不允许我运行swf。 这就是我曾经尝试过的: <video controls> <object data="video.swf" width="320" height="240"> <embed src="video.swf" width="320" height="240"> </object> <

我尝试使用视频对象嵌入标记搜索将swf文件嵌入浏览器的各种方式

视频标签不允许我运行swf。 这就是我曾经尝试过的:

    <video controls>
       <object data="video.swf" width="320" height="240">
           <embed src="video.swf" width="320" height="240">
       </object> 
    </video>

我还尝试:

    <video controls>
       <object data="video.swf" width="320" height="240"></object>
    </video>

但是没有找到运气

然后我尝试了嵌入和对象标记:

    <embed src="video.swf" type="application/x-shockwave-flash" height="200" width="200">

    <object type="application/x-shockwave-flash" data="video.swf" height="200" width="200"> 

两者都很好

但是我想要视频标签附带的控件[播放/暂停/声音控件]

有没有办法让控件与嵌入或对象标记一起使用

或者我可以将我的swf文件嵌入到视频标签中吗


任何帮助都将不胜感激。

如果您想要控件,并且试图嵌入自己的SWF文件,则需要自己构建播放器。通过flash或使用JavaScript函数将指令发送到flash文件中


我假设您这样做是为了实现跨浏览器兼容性,如果在Actionscript中工作听起来不是很有趣(提示:不是),那么您可以使用类似的工具,为您提供功能齐全的播放器。我个人使用我发现适合我需要的浏览器。

Q:什么浏览器?什么站台?操作系统上是否安装了闪存?