씨밀레로 블로그

음악/미디어 재생기 소스 본문

▒▒ 생활 이야기 ▒▒/컴퓨터상식

음악/미디어 재생기 소스

청산거사 2010. 9. 10. 10:29

음악을 실행하는 기본태그소스

 

autostart는 자동실행 소스입니다.

    autostart=true   ( 음악 자동 재생 )

    autostart=false  ( 플레이 버튼을 눌러야만 재생 가능 )

    autostart="1"은 자동재생인데 이걸 "0"으로 바꿔주면 수동재생

 

hidden 부분이 미디어 재생기 노출 여부를 제어하는 소스입니다.

    hidden=true    ( 미디어 재생기 감추기 )

    hidden=false   ( 미디어 재생기 보이기 )

loop는 음악 재생 횟수를 제어하는 부분입니다.

    loop=true   ( 연속 반복 재생 )

    loop=false  ( 한번만 재생 )

    loop ="-1" 는 음악을 반복 설정하는 명령으로 -1 로 하면 무한반복 재생 옵션 입니다.

    loop=5 로 설정 하면 5번 반복 재생 하게 됩니다

 

volume="0" 은  음악을 최대한 크게 들리게 하라는 명령어 입니다.


height=45  (미디어 플레이어의 높이)

 

width=20   (미디어 플레이어의 가로길이)

 

<embed src = 음악파일주소>

 

<<미디어 재생기 소스>>

 

♬음악 실행(재생) 방법 : 음악 미디어 재생기 소스에 "음악주소" 입력

 

가령 '김종국의사랑스러워' 를 예를들어 설명하자면 

http://daumbgm.nefficient.co.kr/mgbdamu/A0901976/A090197600036406.wma 

=>이런 주소가 나옵니다.

그럼 소스를 알았으니 이걸 저장해야겠죠?

 

아래 "음악주소" 란에 http://daumbgm.nefficient.co.kr/mgbdamu/A0901976/A090197600036406.wma  입력 하시면

아래와 같이 미디어 재생되어 음악이 나옵니다. (예, 아래의 음악 미디어 재생기 소스 "*준 사이즈")

▼ 결 과

미디어 재생기 소스/블로그에서 유용한 태크 모음 (음악, 영상, 링크등) 

  

 *준 사이즈

<embed autostart="true" x-x-allowscriptaccess="never" WIDTH:300px; HEIGHT: 45px"

src=음악주소

Width=300 height=45 type=audio/x-ms-wma showcontrols="true" volume="0" LOOP="FALSE" enablecontextmenu="0">

▼ 결 과

  

*중간사이즈(Type1)

<embed autostart="true" x-x-allowscriptaccess="never" WIDTH:65px; HEIGHT: 45px"

src=음악주소

Width=65 height=45 type=audio/x-ms-wma showcontrols="true" volume="0" LOOP="FALSE" enablecontextmenu="0">

▼ 결 과

 

* 중간 사이즈(Type2)

<embed autostart="true" x-x-allowscriptaccess="never" WIDTH:165px; HEIGHT: 28px"

src=음악주소

Width=165 height=28 type=audio/x-ms-wma showcontrols="true" volume="0" LOOP="FALSE" enablecontextmenu="0">

▼ 결 과

 

 

*작은사이즈(Stop버튼 보이기)

<embed autostart="true" x-x-allowscriptaccess="never" WIDTH:64px; HEIGHT: 28px"

src=음악주소

Width=64 height=28 type=audio/x-ms-wma showcontrols="true" volume="0" LOOP="FALSE" enablecontextmenu="0">

▼ 결 과

 

 

*작은사이즈(Stop버튼 숨기기)

<embed autostart="true" x-x-allowscriptaccess="never" WIDTH:48px; HEIGHT: 28px"

src=음악주소

Width=48 height=28 type=audio/x-ms-wma showcontrols="true" volume="0" LOOP="FALSE" enablecontextmenu="0">

▼ 결 과

 

__________________________________________________________________________

*회색 표준 사이즈

<embed autostart="true" x-x-allowscriptaccess="never" style="FILTER:gray(); WIDTH:300px; HEIGHT: 45px"

src=음악주소

Width=300 height=45 type=audio/x-ms-wma showcontrols="true" volume="0" LOOP="FALSE" enablecontextmenu="0">

▼ 결 과

 

 

*회색 중간 사이즈(Type1)

<embed autostart="true" x-x-allowscriptaccess="never" style="FILTER:gray(); WIDTH:65px; HEIGHT: 45px"

src=음악주소

Width=65 height=45 type=audio/x-ms-wma showcontrols="true" volume="0" LOOP="FALSE" enablecontextmenu="0">

▼ 결 과

 

*회색 표준 사이즈 (Type2)

<embed autostart="true" x-x-allowscriptaccess="never" style="FILTER:gray(); WIDTH:165px; HEIGHT: 28px"

src=음악주소

Width=64 height=28 type=audio/x-ms-wma showcontrols="true" volume="0" LOOP="FALSE" enablecontextmenu="0">

▼ 결 과

 

 

*회색 작은 사이즈 (Stop버튼 숨기기)

<embed autostart="true" x-x-allowscriptaccess="never" style="FILTER:gray(); WIDTH:48px; HEIGHT: 28px"

src=음악주소

Width=48 height=28 type=audio/x-ms-wma showcontrols="true" volume="0" LOOP="FALSE" enablecontextmenu="0">

▼ 결 과

 

 

*블랙 표준 사이즈

<embed autostart="true" x-x-allowscriptaccess="never" style="FILTER: xray(); WIDTH:300px; HEIGHT: 45px"

src=음악주소

Width=300 height=45 type=audio/x-ms-wma showcontrols="true" volume="0" LOOP="FALSE" enablecontextmenu="0">

▼ 결 과

 

*미디어재생기 숨기기

<embed src="음악주소" autostart=true hidden=true loop=true>

 

---------------------------------------------------------------------------

그라디언트 효과

-일반

<embed autostart="true" autostart="false" x-x-allowscriptaccess="never" style="BORDER-RIGHT: #cccccc 0px solid; BORDER-TOP: #cccccc 0px solid; FILTER: alpha(opacity=100 Style=1 FinishOpacity=100) progid:DXImage Transform.Microsoft.Blur(PixelRadius=4 MakeShadow=False); BORDER-LEFT: #cccccc 0px solid; BORDER-BOTTOM: #cccccc 0px solid"

src=음악주소

Width=300 height=45 type=audio/x-ms-wax showcontrols="true" volume="0" enablecontextmenu="1" playCount="0">

▼ 결 과

 

 

-블랙미디어

<embed autostart="true" autostart="false" x-x-allowscriptaccess="never" style="BORDER-RIGHT: #cccccc 0px solid; BORDER-TOP: #cccccc 0px solid; FILTER: alpha(opacity=100 Style=1 FinishOpacity=100) xray progid:DXImage Transform.Microsoft.Blur(PixelRadius=4 MakeShadow=False); BORDER-LEFT: #cccccc 0px solid; BORDER-BOTTOM: #cccccc 0px solid"

src=음악주소

Width=300 height=45 type=audio/x-ms-wax showcontrols="true" volume="0" enablecontextmenu="1" playCount="0">

▼ 결 과

 

 

-회색 미디어

<embed autostart="true" autostart="false" x-x-allowscriptaccess="never" style="BORDER-RIGHT: #cccccc 0px solid; BORDER-TOP: #cccccc 0px solid; FILTER: alpha(opacity=100 Style=1 FinishOpacity=100) gray progid:DXImage Transform.Microsoft.Blur(PixelRadius=4 MakeShadow=False); BORDER-LEFT: #cccccc 0px solid; BORDER-BOTTOM: #cccccc 0px solid"

src=음악주소

Width=300 height=45 type=audio/x-ms-wax showcontrols="true" volume="0" enablecontextmenu="1" playCount="0">

▼ 결 과