javascript - 求解!引用美拍的分享代码,如何关闭他的自动播放?

查看:116
本文介绍了javascript - 求解!引用美拍的分享代码,如何关闭他的自动播放?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

<embed src="http://img.app.meitudata.com/meitumv/mtplayer4/swf/mp4Player.swf?data=%7B%22id%22%3A574930488%2C%22source%22%3A%22embed%22%7D&vcastr_file=http%3A%2F%2Fmvvideo1.meitudata.com%2F57c14a01a62682276.mp4&logoText=Ta%E7%9A%84%E7%BE%8E%E6%8B%8D&appDownloadURL=http%3A%2F%2Fwww.meipai.com%2Fuser%2F1099205807&shareEnabled=1&shareTitle=%25E6%2589%2591%25E5%2585%258B%25E5%25B0%258F%25E6%2589%258B%25E6%25B3%2595.&qzoneShareURL=http%3A%2F%2Fsns.qzone.qq.com%2Fcgi-bin%2Fqzshare%2Fcgi_qzshare_onekey%3Furl%3Dhttp%3A%2F%2Fwww.meipai.com%2Fmedia%2F574930488%26site%3D%E7%BE%8E%E6%8B%8D%26title%3D%E6%89%91%E5%85%8B%E5%B0%8F%E6%89%8B%E6%B3%95.&qqShareURL=http%3A%2F%2Fconnect.qq.com%2Fwidget%2Fshareqq%2Findex.html%3Furl%3Dhttp%3A%2F%2Fwww.meipai.com%2Fmedia%2F574930488%26site%3D%E7%BE%8E%E6%8B%8D%26title%3D%E6%89%91%E5%85%8B%E5%B0%8F%E6%89%8B%E6%B3%95.&weiboShareURL=http%3A%2F%2Fservice.weibo.com%2Fshare%2Fshare.php%3Fappkey%3D680740738%26ralateUid%3D2312920530%26sourceUrl%3Dhttp%3A%2F%2Fwww.meipai.com%2F%26content%3Dutf8%26searchPic%3Dfalse%26url%3Dhttp%3A%2F%2Fwww.meipai.com%2Fmedia%2F574930488" width="400" height="400" quality="high" align="middle" allowScriptAccess="always" allowFullScreen="true" mode="transparent" type="application/x-shockwave-flash"></embed>

解决方案

加一个属性 autoPlay = "false"

这篇关于javascript - 求解!引用美拍的分享代码,如何关闭他的自动播放?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆