묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
사랑비 bgm에서 미디어 플레이어 시각화 구현하기??질문입니다.
2006.01.28 21:05
설날이 내일로 다가왔습니다.
올 한해도 행복하시고 건강하며 모든일 성취하시길~~
웹에서 미디어 플레이어의 시각화를 구현하려고 합니다.
검색하다가 제가 원하는 소스를구했습니다.(왕초보라서 소스 복사만 할줄 압니다.^^;;;)
----------------웹에서 미디어 플레이어의 시각화를 구현하는 소스-----------------
<object id="aisiplayer" width="260" height="55" classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6">
<param name="url" value="음악주소">
<embed name="aisiplayer" width="0" heiht="0" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="음악주소">
<param name="autoStar" value="true">
<param name="uiMode" value="none">
</embed>
</object>
-----------------------------------------------------------------------------------
??????????????????????????????????????????????????????????????????
그런데 제가 원하는건 이소스를 사랑비 bgm소스에 추가하고 싶다는 거죠!!
bgm이 플레이 되면 시각화도 작동하게끔 하고 싶어서요~~!!
????????????????????????????????????????????????????????????????????
--------------------사랑비 bgm 미디어 플레이어 관련 소스------------
function media()
{
global $sarangbi_media_width, $sarangbi_media_height, $media_show, $init_volume;
$media_show=true;
echo '<!-- =========================== mediaplayer 개체 =========================== //-->
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" align="middle" id="Sarangbi_Bgm" style="width:'.$sarangbi_media_width.'px; height:'.$sarangbi_media_height.'px; visibility:hidden z-index:1;">
<param name="AllowChangeDisplaySize" value="true">
<param name="AllowScan" value="true">
<param name="AnimationAtStart" value="false">
<param name="AudioStream" value="false">
<param name="AutoRewind" value="true">
<param name="AutoSize" value="false">
<param name="AutoStart" value="true">
<param name="Balance" value="0">
<param name="BufferingTime" value="7">
<param name="ClickToPlay" value="true">
<param name="CurrentMarker" value="0">
<param name="CurrentPosition" value="-1">
<param name="CursorType" value="0">
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="2">
<param name="EnableContextMenu" value="true">
<param name="Enabled" value="true">
<param name="EnableFullScreenControls" value="false">
<param name="EnablePositionControls" 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="1">
<param name="PreviewMode" value="false">
<param name="Rate" value="1">
<param name="SelectionEnd" value="-1">
<param name="SelectionStart" value="-1">
<param name="SendErrorEvents" value="true">
<param name="SendKeyboardEvents" value="false">
<param name="SendMouseClickEvents" value="true">
<param name="SendMouseMoveEvents" value="false">
<param name="SendOpenStateChangeEvents" value="true">
<param name="SendPlayStateChangeEvents" value="true">
<param name="SendWarningEvents" value="true">
<param name="ShowAudioControls" value="true">
<param name="ShowCaptioning" value="false">';
if( $sarangbi_media_width == 0){
echo '<param name="ShowControls" value="true">';
}else{
echo '<param name="ShowControls" value="false">';
}
echo '<param name="ShowDisplay" value="false">
<param name="ShowGotoBar" value="false">
<param name="ShowPositionControls" value="false">
<param name="ShowStatusBar" value="true">
<param name="ShowTracker" value="false">
<param name="TransparentAtStart" value="false">
<param name="VideoBorder3D" value="false">
<param name="VideoBorderColor" value="0">
<param name="VideoBorderWidth" value="0">
<param name="Volume" value="'.$init_volume.'">
<param name="WindowlessVideo" value="false">
</object>';
}
---------------------------------------------------------------
어떻게 삽입하고 수정해야 하나요? 그럼 자세한 설명 부탁 드립니다.
올 한해도 행복하시고 건강하며 모든일 성취하시길~~
웹에서 미디어 플레이어의 시각화를 구현하려고 합니다.
검색하다가 제가 원하는 소스를구했습니다.(왕초보라서 소스 복사만 할줄 압니다.^^;;;)
----------------웹에서 미디어 플레이어의 시각화를 구현하는 소스-----------------
<object id="aisiplayer" width="260" height="55" classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6">
<param name="url" value="음악주소">
<embed name="aisiplayer" width="0" heiht="0" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="음악주소">
<param name="autoStar" value="true">
<param name="uiMode" value="none">
</embed>
</object>
-----------------------------------------------------------------------------------
??????????????????????????????????????????????????????????????????
그런데 제가 원하는건 이소스를 사랑비 bgm소스에 추가하고 싶다는 거죠!!
bgm이 플레이 되면 시각화도 작동하게끔 하고 싶어서요~~!!
????????????????????????????????????????????????????????????????????
--------------------사랑비 bgm 미디어 플레이어 관련 소스------------
function media()
{
global $sarangbi_media_width, $sarangbi_media_height, $media_show, $init_volume;
$media_show=true;
echo '<!-- =========================== mediaplayer 개체 =========================== //-->
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" align="middle" id="Sarangbi_Bgm" style="width:'.$sarangbi_media_width.'px; height:'.$sarangbi_media_height.'px; visibility:hidden z-index:1;">
<param name="AllowChangeDisplaySize" value="true">
<param name="AllowScan" value="true">
<param name="AnimationAtStart" value="false">
<param name="AudioStream" value="false">
<param name="AutoRewind" value="true">
<param name="AutoSize" value="false">
<param name="AutoStart" value="true">
<param name="Balance" value="0">
<param name="BufferingTime" value="7">
<param name="ClickToPlay" value="true">
<param name="CurrentMarker" value="0">
<param name="CurrentPosition" value="-1">
<param name="CursorType" value="0">
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="2">
<param name="EnableContextMenu" value="true">
<param name="Enabled" value="true">
<param name="EnableFullScreenControls" value="false">
<param name="EnablePositionControls" 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="1">
<param name="PreviewMode" value="false">
<param name="Rate" value="1">
<param name="SelectionEnd" value="-1">
<param name="SelectionStart" value="-1">
<param name="SendErrorEvents" value="true">
<param name="SendKeyboardEvents" value="false">
<param name="SendMouseClickEvents" value="true">
<param name="SendMouseMoveEvents" value="false">
<param name="SendOpenStateChangeEvents" value="true">
<param name="SendPlayStateChangeEvents" value="true">
<param name="SendWarningEvents" value="true">
<param name="ShowAudioControls" value="true">
<param name="ShowCaptioning" value="false">';
if( $sarangbi_media_width == 0){
echo '<param name="ShowControls" value="true">';
}else{
echo '<param name="ShowControls" value="false">';
}
echo '<param name="ShowDisplay" value="false">
<param name="ShowGotoBar" value="false">
<param name="ShowPositionControls" value="false">
<param name="ShowStatusBar" value="true">
<param name="ShowTracker" value="false">
<param name="TransparentAtStart" value="false">
<param name="VideoBorder3D" value="false">
<param name="VideoBorderColor" value="0">
<param name="VideoBorderWidth" value="0">
<param name="Volume" value="'.$init_volume.'">
<param name="WindowlessVideo" value="false">
</object>';
}
---------------------------------------------------------------
어떻게 삽입하고 수정해야 하나요? 그럼 자세한 설명 부탁 드립니다.