本文介绍了如何使用SWFObject自动播放视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
以下用于播放视频的代码
Below code for play video
var s1 = new SWFObject("player.swf","ply","500","400","9");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=SermonsGallery/Audios/" + url + "&image=vamana-swami.jpg");
s1.addParam("play", "true");
s1.write("AudioFull");
然后,当我们向侧面按AudioFull div时,然后播放视频.如何设置自动播放视频.表示在div内用推压键播放视频.
Then when we press in side AudioFull div then play video . How can set automatic play video. Means play video with put press inside div.
推荐答案
这篇关于如何使用SWFObject自动播放视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!