音频代码:自动和手动播放器代码

本帖于 2009-11-22 05:23:35 时间, 由版主 林贝卡 编辑

selfselfself ,

读得好,很流利。和你分享一个tip, 在你同时贴两个录音时,你可以选择把其中的一篇文章定为【手动播放】,这样网友听你的英语朗诵时,就不会两篇文章同时播放了。

下面分别是自动播放,和手动播放的代码,供你参考。

****************

【郎读】Yahoo News: Hospital hearing set for Hasan
来源: selfselfself
http://web.wenxuecity.com/BBSView.php?SubID=mysj&MsgID=59820



(一)正在自动播放:

Version 1



自动播放代码如下:

<*embed src="http://space.wenxuecity.com/media/1253665483.mp3" width=300 height=40 controls=ControlPanel loop=true autostart=true volume=100 type=audio/x-pn-realaudio-plugin Initfn=load-types mime-types=mime.types* >

(二)手动播放:

Version 2





把自动播放里的代码【autostart=true 改为 autostart=false】,就成为手动播放的代码了,见下:

<*embed src="http://space.wenxuecity.com/media/1253665556.mp3" width=300 height=40 controls=ControlPanel loop=true autostart=false volume=100 type=audio/x-pn-realaudio-plugin Initfn=load-types mime-types=mime.types* >

P.S. 贴录音时,别忘记去掉代码里的* 。

如果有什么问题,尽管给我留言。

请您先登陆,再发跟帖!