embed标签的使用

<strong style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif; margin: 0px; padding: 0px; color: rgb(0, 128, 128); line-height: 14px; text-align: center; ">
<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://xxx.xxx.com/v.swf" width="250" height="208" wmode="transparent" play="true" loop="true" menu="true"></embed><br />
</strong>

<embed> 标签是 HTML 5 中的新标签。

参数:

type:定义嵌入内容的类型

pluginspage:检测浏览器是否装了flash播放器插件,如果没有,则提示安装

src:播放flash的Url

wmode:实现flash透明化

play:是否可播放

loop:是否循环

menu:菜单

页面效果:

原文地址:https://www.cnblogs.com/xmaomao/p/3042405.html