묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
제발 가르쳐주세요!
2002.02.24 17:25
제발 가르쳐 주세요!
동영상을 볼때
<a href="#" onClick="window.open('http://www.metalnation.co.kr/sam.html?mv_url=동영상 주소','NewWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,left=30,top=20,width=330,height=310');" class="mv">이렇게 하고
sam.html은
<html>
<head>
<title></title>
</head>
<style>
body{background-repeat:no-repeat;background-position:0% 0%}
</style>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="20" topmargin="31" marginwidth="0" marginheight="0" background=http://metalnation.compuz.com/picture/vibg.jpg bgproperties="fixed" oncontextmenu="return false" ondragstart="return false">
<table width="275" border="0" cellspacing="0" cellpadding="0" height="310">
<tr>
<td valign="top" align="center"> <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" width="275" height="245" border="0" VIEWASTEXT>
<param name="AudioStream" value="-1">
<param name="AutoSize" value="true">
<param name="AutoStart" value="true">
<param name="AnimationAtStart" value="true">
<param name="AllowScan" value="true">
<param name="AllowChangeDisplaySize" value="true">
<param name="AutoRewind" value="false">
<param name="Balance" value="0">
<param name="BufferingTime" value="5">
<param name="ClickToPlay" value="true">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="0">
<param name="Enabled" value="true">
<param name="EnableContextMenu" value="0">
<param name="EnablePositionControls" value="true">
<param name="EnableFullScreenControls" value="true">
<param name="EnableTracker" value="true">
<param name="InvokeURLs" value="true">
<param name="Language" value="-1">
<param name="Mute" value="false">
<param name="PlayCount" value="0">
<param name="PreviewMode" value="false">
<param name="Rate" value="1">
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="true">
<param name="SendWarningEvents" value="true">
<param name="SendErrorEvents" value="true">
<param name="SendKeyboardEvents" value="false">
<param name="SendMouseClickEvents" value="false">
<param name="SendMouseMoveEvents" value="false">
<param name="SendPlayStateChangeEvents" value="true">
<param name="ShowCaptioning" value="false">
<param name="ShowControls" value="true">
<param name="ShowAudioControls" value="true">
<param name="ShowDisplay" value="false">
<param name="ShowGotoBar" value="false">
<param name="ShowPositionControls" value="true">
<param name="ShowStatusBar" value="false">
<param name="ShowTracker" value="true">
<param name="TransparentAtStart" value="false">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="false">
<param name="WindowlessVideo" value="false">
<param name="Filename" value="">
</object> </td>
</tr>
</table>
라고 했는데...(이것은 모 사이트를 따라 한건데 거기서는 동영상이 나오는데
전 왜 안나오나요?
class="mv"가 문제 인것 같은데 뭐가 뭔지 모르겠어요!
제발 가르쳐 주세요!
제 사이트는 php등 다지원되고요
문제는 제가 잘못 만즐어서인것 같은데 제발 가르쳐 주세요!
동영상을 볼때
<a href="#" onClick="window.open('http://www.metalnation.co.kr/sam.html?mv_url=동영상 주소','NewWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,left=30,top=20,width=330,height=310');" class="mv">이렇게 하고
sam.html은
<html>
<head>
<title></title>
</head>
<style>
body{background-repeat:no-repeat;background-position:0% 0%}
</style>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="20" topmargin="31" marginwidth="0" marginheight="0" background=http://metalnation.compuz.com/picture/vibg.jpg bgproperties="fixed" oncontextmenu="return false" ondragstart="return false">
<table width="275" border="0" cellspacing="0" cellpadding="0" height="310">
<tr>
<td valign="top" align="center"> <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" width="275" height="245" border="0" VIEWASTEXT>
<param name="AudioStream" value="-1">
<param name="AutoSize" value="true">
<param name="AutoStart" value="true">
<param name="AnimationAtStart" value="true">
<param name="AllowScan" value="true">
<param name="AllowChangeDisplaySize" value="true">
<param name="AutoRewind" value="false">
<param name="Balance" value="0">
<param name="BufferingTime" value="5">
<param name="ClickToPlay" value="true">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="0">
<param name="Enabled" value="true">
<param name="EnableContextMenu" value="0">
<param name="EnablePositionControls" value="true">
<param name="EnableFullScreenControls" value="true">
<param name="EnableTracker" value="true">
<param name="InvokeURLs" value="true">
<param name="Language" value="-1">
<param name="Mute" value="false">
<param name="PlayCount" value="0">
<param name="PreviewMode" value="false">
<param name="Rate" value="1">
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="true">
<param name="SendWarningEvents" value="true">
<param name="SendErrorEvents" value="true">
<param name="SendKeyboardEvents" value="false">
<param name="SendMouseClickEvents" value="false">
<param name="SendMouseMoveEvents" value="false">
<param name="SendPlayStateChangeEvents" value="true">
<param name="ShowCaptioning" value="false">
<param name="ShowControls" value="true">
<param name="ShowAudioControls" value="true">
<param name="ShowDisplay" value="false">
<param name="ShowGotoBar" value="false">
<param name="ShowPositionControls" value="true">
<param name="ShowStatusBar" value="false">
<param name="ShowTracker" value="true">
<param name="TransparentAtStart" value="false">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="false">
<param name="WindowlessVideo" value="false">
<param name="Filename" value="">
</object> </td>
</tr>
</table>
라고 했는데...(이것은 모 사이트를 따라 한건데 거기서는 동영상이 나오는데
전 왜 안나오나요?
class="mv"가 문제 인것 같은데 뭐가 뭔지 모르겠어요!
제발 가르쳐 주세요!
제 사이트는 php등 다지원되고요
문제는 제가 잘못 만즐어서인것 같은데 제발 가르쳐 주세요!
편리하게 파라미터에 넣는 방법을 알려드리면 일단 변수로 넘어온 mv_url값을 <param name="Filename" value=""> 이부분의 value값으로 넣어야 겠지요..
<param name="Filename" value="<?=$mv_ur?>">이런식으로요..
html을 php로 인식을 못한다면 sam.html을 sam.php로 고치시면 해결될 겁니다.