我正在使用此代码将音频文件合并到我的网站上,但无论我做什么,自动播放始终处于活动状态。
if args.count > -1 then
exec(args(0)) 'exec is a function that I defined. I know this is working.
wscript.quit
end if
如何停用自动播放?
答案 0 :(得分:1)
在函数中运行它,只在想要播放时调用该函数。看起来你在全球范围内拥有它,所以它会自动播放。
答案 1 :(得分:1)
<video width="340" height="80" controls preload="none">
<source src="http://prefeitojuninho.com.br/site/wp-content/themes/juninho45/audio/45-sou-eu.mp3" type="audio/mpeg">
Your browser does not support the video tag.
</video>
&#13;