网页中插入音乐播放器

  在网上找了好多代码,都不太好用。这个算是比较好的。不知道能支持哪些格式,至少MP3,WMA是支持的

<OBJECT id=MediaPlayer1  codeBase=http://activex.microsoft.com/activex/controls/
mplayer/en/nsmp2inf.cab#Version=5,1,52,701standby=Loading type=application/x-oleobject height=88 width=352 classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 VIEWASTEXT>
<PARAM NAME=”URL” VALUE=”音乐地址”>
<PARAM NAME=”rate” VALUE=”1″>
<PARAM NAME=”balance” VALUE=”0″>
<PARAM NAME=”currentPosition” VALUE=”-1″>
<PARAM NAME=”defaultFrame” VALUE=””>
<PARAM NAME=”playCount” VALUE=”1″>
<PARAM NAME=”autoStart” VALUE=”-1″>
<PARAM NAME=”currentMarker” VALUE=”0″>
<PARAM NAME=”invokeURLs” VALUE=”-1″>
<PARAM NAME=”baseURL” VALUE=””>
<PARAM NAME=”volume” VALUE=”70″>
<PARAM NAME=”mute” VALUE=”0″>
<PARAM NAME=”uiMode” VALUE=”full”>
<PARAM NAME=”stretchToFit” VALUE=”0″>
<PARAM NAME=”windowlessVideo” VALUE=”0″>
<PARAM NAME=”enabled” VALUE=”-1″>
<PARAM NAME=”enableContextMenu” VALUE=”-1″>
<PARAM NAME=”fullScreen” VALUE=”0″>
<PARAM NAME=”SAMIStyle” VALUE=””>
<PARAM NAME=”SAMILang” VALUE=””>
<PARAM NAME=”SAMIFilename” VALUE=””>
<PARAM NAME=”captioningID” VALUE=””>
<PARAM NAME=”enableErrorDialogs” VALUE=”0″>
<PARAM NAME=”_cx” VALUE=”9313″>
<PARAM NAME=”_cy” VALUE=”2328″>
</OBJECT>


( ! ) Warning: Missing argument 1 for cwppos_show_review(), called in /data/www/enjoyphp/wp-content/themes/flat/content-single.php on line 29 and defined in /data/www/enjoyphp/wp-content/plugins/wp-product-review/includes/legacy.php on line 18
Call Stack
#TimeMemoryFunctionLocation
10.0000355192{main}( ).../index.php:0
20.0001355480require( '/data/www/enjoyphp/wp-blog-header.php' ).../index.php:17
30.211810162712require_once( '/data/www/enjoyphp/wp-includes/template-loader.php' ).../wp-blog-header.php:19
40.213110233856include( '/data/www/enjoyphp/wp-content/themes/flat/single.php' ).../template-loader.php:74
50.296010806304get_template_part( ).../single.php:5
60.296010806824locate_template( ).../general-template.php:167
70.296010806920load_template( ).../template.php:643
80.296010807304require( '/data/www/enjoyphp/wp-content/themes/flat/content-single.php' ).../template.php:686
90.301910793800cwppos_show_review( ).../content-single.php:29

发表评论

电子邮件地址不会被公开。 必填项已用*标注