<
script
language
=javascript
defer
>
var
volv
=
phx.settings.volume;
setInterval(
"
if(phx.playState==3){time.innerText=phx.controls.currentPositionString+\'|\'+
phx.currentMedia.durationString}
"
,
1000
);
setInterval(
"
if(phx.playState==3){itcn.style.width=parseInt(245*(phx.controls.currentPosition/phx.currentMedia.duration))}
"
,
1000
);
function
volup(){
if
(volv
<
100
){
volv
+=
5
;
phx.settings.volume
=
volv;
time.innerText
=
volv;}
else
{time.innerText
=
\'最大\';}
}
function
voldown(){
if
(volv
>
0
){
volv
-=
5
;
phx.settings.volume
=
volv;
time.innerText
=
volv;}
else
{time.innerText
=
\'最小\';}
}
</
script
>
<
p
>
<
object
classid
="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"
id
="phx"
width
="245"
height
="240"
>
<
param
name
="URL"
value
="http://www.wfzx.net/wf-phx/music/she_superstar.wmv"
>
<
param
name
="rate"
value
="1"
>
<
param
name
="balance"
value
="0"
>
<
param
name
="currentPosition"
value
="0"
>
<
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
="50"
>
<
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"
>
posted on 2006-12-25 17:14
kelven 阅读(764)
评论(0) 编辑 收藏 所属分类:
JavaScript