미디어 플레이어 자동실행이 안되네요 도와주세요~오

· 16년 전 · 1518 · 2
여분필드 받아서 미디어 플레이어를 실행하고 있습니다.
그런데 자동실행이 안되네요
파라미터 부분에 <param name="autostart" value="true"> 라고 해도 안되니..
현제 OnClick 으로 따로 눌러야 플레이되게 하고 있습니다.
자동으로 플레이 되게 할수 있으까용? ㅜ


<OBJECT id="MediaPlayer"  codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 type=application/x-oleobject" standby="Microsoft Windows Media Player 콤포넌트를 읽고 있습니다." width="703" height="419" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
    <PARAM NAME="AudioStream" VALUE="-1">
    <PARAM NAME="AutoStart" VALUE="-1">
    <PARAM NAME="AutoSize" VALUE="-1">
    <PARAM NAME="AutoResize" VALUE="1">
    <PARAM NAME="DisplaySize" VALUE="0">
    <PARAM NAME="EnableContextMenu" VALUE="0">
    <PARAM NAME="EnablePositionControls" VALUE="-1">
    <PARAM NAME="EnableTracker" VALUE="-1">
    <PARAM NAME="ShowControls" VALUE="-1">
    <PARAM NAME="ShowStatusBar" VALUE="-1">
    <PARAM NAME="ShowTracker" VALUE="-1">
    <PARAM NAME="ShowPositionControls" VALUE="-1">
    <PARAM NAME="AnimationAtStart" VALUE="0">
    <PARAM NAME="Volume" VALUE="-600">
 <PARAM NAME="Url" VALUE="<?=$view[wr_8]?>">
</OBJECT>
<Br><Br>
<input type=button value="동영상시작" OnClick="document.MediaPlayer.FileName='<?=$view[wr_8]?>'" style="cursor:hand;">
<input type=button value="Full Size" OnClick="size_player('3');" style="cursor:hand;">
|

댓글 2개

url을 넣지 말고 filename 속성 넣고 테스트해보세요.

테스트:

<OBJECT id="MediaPlayer" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715 type=application/x-oleobject" standby="Microsoft Windows Media Player 콤포넌트를 읽고 있습니다." width="703" height="419" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
<param name="filename" value="http://factor.kr/attachment/cm213.wmv">
<PARAM NAME="AudioStream" VALUE="-1">
<PARAM NAME="AutoStart" VALUE="true">
<PARAM NAME="AutoSize" VALUE="-1">
<PARAM NAME="AutoResize" VALUE="1">
<PARAM NAME="DisplaySize" VALUE="0">
<PARAM NAME="EnableContextMenu" VALUE="0">
<PARAM NAME="EnablePositionControls" VALUE="-1">
<PARAM NAME="EnableTracker" VALUE="-1">
<PARAM NAME="ShowControls" VALUE="-1">
<PARAM NAME="ShowStatusBar" VALUE="-1">
<PARAM NAME="ShowTracker" VALUE="-1">
<PARAM NAME="ShowPositionControls" VALUE="-1">
<PARAM NAME="AnimationAtStart" VALUE="0">
<PARAM NAME="Volume" VALUE="-600">
</OBJECT>
에효.. 3시간을 끙끙 거렸는데.. 진작 질문 할걸 그랬네요 -.-;;
잘 됩니다 정말 감사드립니다 ^.^)/~♡

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기
🐛 버그신고