📄 player.html
字号:
{include file="header.html"}
<div id="body">
<div id="bodyLeft">
<div class="title">推荐音乐</div>
<div class="content">
<ul class="musicList">
{foreach from=$allRecommendMusic item=allRreommend}
<li><a href="music.php?id={$allRreommend.id}" title="音乐:{$allRreommend.name} 点击:{$allRreommend.hit}">{$allRreommend.name}</a></li>
{/foreach}
</ul>
</div>
<div class="title">音乐排行</div>
<div class="content">
<ul class="musicList">
{foreach from=$allTopMusic item=allTop}
<li><a href="music.php?id={$allTop.id}" title="音乐:{$allTop.name} 点击:{$allTop.hit}">{$allTop.name}</a></li>
{/foreach}
</ul>
</div>
</div>
<div id="bodyRight">
<div class="title">音乐播放[Media Play]</div>
<div class="box">
<object id="MPlayer" height="64" width="100%" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<PARAM NAME="Appearance" VALUE="-1">
<PARAM NAME="AutoStart" VALUE="-1">
<PARAM NAME="AllowChangeDisplayMode" VALUE="0">
<PARAM NAME="AllowHideDisplay" VALUE="0">
<PARAM NAME="AllowHideControls" VALUE="0">
<PARAM NAME="AutoRewind" VALUE="-1">
<PARAM NAME="Balance" VALUE="0">
<PARAM NAME="CurrentPosition" VALUE="0">
<PARAM NAME="DisplayBackColor" VALUE="0">
<PARAM NAME="DisplayForeColor" VALUE="16777215">
<PARAM NAME="DisplayMode" VALUE="0">
<PARAM NAME="Enabled" VALUE="-1">
<PARAM NAME="EnableContextMenu" VALUE="0">
<PARAM NAME="EnablePositionControls" VALUE="-1">
<PARAM NAME="EnableSelectionControls" VALUE="-1">
<PARAM NAME="EnableTracker" VALUE="-1">
<PARAM NAME="URL" VALUE="">
<param name="EnableFullScreenControls" value="-1" />
<PARAM NAME="FullScreenMode" VALUE="0">
<PARAM NAME="MovieWindowSize" VALUE="0">
<PARAM NAME="PlayCount" VALUE="0">
<PARAM NAME="Rate" VALUE="1">
<PARAM NAME="SelectionStart" VALUE="-1">
<PARAM NAME="SelectionEnd" VALUE="-1">
<PARAM NAME="ShowControls" VALUE="-1">
<PARAM NAME="ShowDisplay" VALUE="-1">
<PARAM NAME="ShowPositionControls" VALUE="-1">
<PARAM NAME="ShowTracker" VALUE="-1">
<PARAM NAME="Volume" VALUE="100">
<param name="uiMode" value="full" />
</object>
<script type="text/javascript">play("{$id}")</script>
<script language="JScript" for="MPlayer" event="playStateChange(ns)">Player.stateChange(ns);</script>
<script language="JScript" for="MPlayer" event="error()">Player.error();</script>
</div>
<div class="box">
<input type="button" onclick="Player.play();" value="播放" />
<input type="button" onclick="Player.stop();" value="停止" />
<input type="button" onclick="Player.pause();" value="暂停" />
<input type="button" onclick="Player.pre();" value="上一曲" />
<input type="button" onclick="Player.next();" value="下一曲" />
<input type="button" onclick="Player.full();" value="全屏" />
<font color="red">双击列表可以选择该音乐试听</font>
</div>
<div class="box">
<div id="lrcoll" style="overflow:hidden; text-align:left; height:300px; margin:0px;padding-top:25px;">
<div nowrap id="lrcwt1" class="lrcrow"></div>
<div nowrap id="lrcwt2" class="lrcrow"></div>
<div nowrap id="lrcwt3" class="lrcrow"></div>
<div nowrap id="lrcwt4" class="lrcrow"></div>
<div id="lrcbox"></div>
<div nowrap id="lrcbc">正在加载歌词</div>
<div nowrap id="lrcwt5" class="lrcrow"></div>
<div nowrap id="lrcwt6" class="lrcrow"></div>
<div nowrap id="lrcwt7" class="lrcrow"></div>
<div nowrap id="lrcwt8" class="lrcrow"></div>
</div>
</div>
<div id="errorMsg"></div>
<div id="list" class="box">
</div>
</div>
</div>
{include file="footer.html"}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -