Dr. CH_KIm Home
◀◀
        처음으로 ㅣ  병원 자료 ㅣ  의학 자료 ㅣ  태그 자료 ㅣ  일반 자료 ㅣ  음악 자료 ㅣ  일정표 |  북마크
태그 자료

CATEGORY
HTML (22)
JAVA (9)
CSS (3)
PHP (13)
ZERO (13)
FLASH (1)
Others (19)
Sample (23)
미디어플레이어 제어
<OBJECT ID="Player"
  CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
  <PARAM name="autoStart" value="True">
  <PARAM name="URL" value="test.mp3">
</OBJECT>
uiMode<select onchange="setUI(this.options[this.selectedIndex].value)">
<option value="invisible">invisible
<option value="none">none
<option value="mini">mini
<option value="full">full
</select>
<input type="button" value="volume +10" onclick="setVol('+')">
<input type="button" value="volume -10" onclick="setVol('-')">
mute <input type="checkbox" onclick="mute(this.checked)">
<input type="button" onclick="setPos(-10)" value="10초 전">
<input type="button" onclick="setPos(10)" value="10초 뒤">
<input type="button" onclick="Player.controls.play();" value="재생">
<input type="button" onclick="Player.controls.stop();" value="정지">
<input type="button" onclick="Player.controls.pause();" value="일시정지">

<SCRIPT LANGUAGE="JavaScript">
<!--
function setUI(str)
{
Player.uiMode = str;
}
function setPos(v)
{
Player.controls.currentPosition += v;
}
function setVol(flag)
{
if(flag == '+')
  Player.settings.volume += 10;
else
  Player.settings.volume -= 10;
}

function mute(stat)
{
if(stat)
  Player.settings.mute = true;
else
  Player.settings.mute = false;
}
//-->
</SCRIPT>
  목록보기

  Editor | 산과계산기 |영어회화 관리자 | 주소록 | 웹하드  
Copyright 2003-2016 drchkim.com All rights reserved.