본문 바로가기
  • 보라 & へ山行
Study/Computer

[스크랩] 홈페이지에 음악여러곡넣기 음악바 색입히기

by 유리의 세상 2008. 11. 1.

<embed src="song/01.mp3" hidden=true loop=true autostart=true>
     이렇게 하면 노래 1곡만 계속 반복.

<embed src="song/01.mp3" hidden=true loop=false autostart=true>
<embed src="song/02.mp3" hidden=true loop=false>
    이렇게 하면 노래 2곡이 동시에 나옴
.

   ※LOOP="true" 는 반복재생이며 값이 false 일 때는 한번만 재생됩니다


 

<EMBED style="filter:alpha(opacity=100, style=2, finishopacity=0)" src="여기에 음악주소"width="70" height="45" AUTOSTART="1" loop="1" enablecontextmenu="0">

 

위의소스는 재생버튼이 투명하게 나오게 하는 소스이다.......

 

 

기본 옵션

style="filter: gray()" : 플레이어 색깔을 회색으로 xray는 검정.. invert(반전)도 있고 

height="45" : 플레이어의 높이  26하면 트래커안보임

AUTOSTART="1" : 자동 재생

loop="1" : 무한 반복

enablecontextmenu="0" : 메뉴금지, 결론적으로 마우스 우측 클릭 금지

hidden="true"이렇게 주면 안보이게...

 

 

"필터속성"이란 부분에 여러가지 명령어가 들어갑니다. 
alpha blendTrans blur chroma dropShadow flipH flipV  glow gray invert light mask redirect revealTrans shadow wave xray 등등..... 

 

 

 

<img src=model.jpg" style="filter:alpha(opacity=100, style=2, finishopacity=0)">

<img src="model.jpg" style="filter:blur(direction=135,strength=100)">흐리게하는거

<img src="ex3.gif" style="filter:chroma(color=black)">특정색을 투명하게.

 

http://myhome.naver.com/sallynice/blog/sallydica.htm

연습장

 

 

* 멀티미디어 걸기에서 출처에다 위의 소스를 복사하고 주소부분만 파일매니저에 올린 경로를 써준다.

* 메모장에서 위의 소스를 복사하여 주소부분만 파일매니저경로를 써주고 Html로 저장한다.

   빠져나와서 Html를 실행하여 또 복사하여 카페에(음악실) 붙여넣기 한다..........

 

* 동영상파일도 출처에서 위의 소스를 그래도 복사하여 파일매너저에 있는 경로만 주소에 적어주면 계속 재생된다.

 

 

* 여러곡 재생하기

 

1. 우선 메모장을 실행한 뒤 연속해서 듣고자 할 음악 파일의 주소들을 기입합니다. (참고로 음악 파일은 asf 뿐만 아니라 wma , mid , mp3 등 윈도우 미디어 플레이어에서 재생가능한 모든 포맷이 가능합니다.)
메모장은 프로그램-보조프로그램-메모장 순으로...
아래와 같이 음악주소만 차례대로 써줍니다.(음악은 원하는 곡으로..)
http://www.photomoa.co.kr/snMuti/movie/1.asf
http://www.photomoa.co.kr/snMuti/movie/2.asf
http://www.photomoa.co.kr/snMuti/movie/3.asf
http://www.photomoa.co.kr/snMuti/movie/4.asf
http://www.photomoa.co.kr/snMuti/movie/5.asf
http://www.photomoa.co.kr/snMuti/movie/6.asf

위와 같이 기입하고 난후, 메모장 상단의 파일 /저장 버튼을 클릭하고 파일 이름란에 "[안내]태그제한으로등록되지않습니다-[안내]태그제한으로등록되지않습니다-[안내]태그제한으로등록되지않습니다-bgsound.asx" 라고 입력합니다. 큰 따옴표로 파일 이름을 감싸서 저장하여야 asx 포맷으로 저장이 됩니다.

2.저장된 파일을 자신의 계정으로 갖고오면 됩니다.
[embed src="저장된 음악경로"]

 

 

※ 스위에서 무비파일과 음악파일 재생 만들기 소스

<EMBED src="스위시가위치한주소" width="무비의가로사이즈" height="무비의세로사이즈">
<EMBED src="음원주소" width="재생기가로사이즈" height="재생기세로사이즈" loop="true" AutoStart="yes" volume="0">

한글만 바꾸어 준다.(파일올리기 한데가서 마우스 우측버튼 누르고 바로가기 복사해사 위 소스주소란에 붙여넣기)

 

 

※ 음악재생기에 색깔입히는 소스

 

 <Embed src="음악주소" ShowPositionControls="0" Volume="0" EnableContextMenu="0" showgotobar="0" showstatusbar="0" AllowScriptAccess="never" AutoStart="1" PlayCount="0" width="160" height="26">
 

 <Embed style="FILTER: gray()" src="음악주소" ShowPositionControls="0" Volume="0" EnableContextMenu="0" showgotobar="0" showstatusbar="0" AllowScriptAccess="never" AutoStart="1" PlayCount="0" Width=160 Height=26>안보이면 드레그요

 
 <Embed style="FILTER: xray()" src="음악주소" ShowPositionControls="0" Volume="0" EnableContextMenu="0" showgotobar="0" showstatusbar="0" AllowScriptAccess="never" AutoStart="1" PlayCount="0" Width=160 Height=26>안보이면드레그요
 </FONT><FONT style="BACKGROUND-COLOR: #ff3300"><Embed style="FILTER: gray()alpha(opacity=35,style=1,finishopacity=35)" src="음악주소" ShowPositionControls="0" Volume="0" EnableContextMenu="0" showgotobar="0" showstatusbar="0" AllowScriptAccess="never" AutoStart="1" PlayCount="0" Width="160" Height="26"></FONT>
 </FONT><FONT style="BACKGROUND-COLOR: #ff6600"><Embed style="FILTER: gray()alpha(opacity=35,style=1,finishopacity=35)" src="음악주소" ShowPositionControls="0" Volume="0" EnableContextMenu="0" showgotobar="0" showstatusbar="0" AllowScriptAccess="never" AutoStart="1" PlayCount="0" Width="160" Height="26"></FONT>
 </FONT><FONT style="BACKGROUND-COLOR: #ffff00"><Embed style="FILTER: gray()alpha(opacity=35,style=1,finishopacity=35)" src="음악주소" ShowPositionControls="0" Volume="0" EnableContextMenu="0" showgotobar="0" showstatusbar="0" AllowScriptAccess="never" AutoStart="1" PlayCount="0" Width="160" Height="26"></FONT>
 </FONT><FONT style="BACKGROUND-COLOR: #00cc00"><Embed style="FILTER: gray()alpha(opacity=35,style=1,finishopacity=35)" src="음악주소" ShowPositionControls="0" Volume="0" EnableContextMenu="0" showgotobar="0" showstatusbar="0" AllowScriptAccess="never" AutoStart="1" PlayCount="0" Width="160" Height="26"></FONT>
 </FONT><FONT style="BACKGROUND-COLOR: #0000cc"><Embed style="FILTER: gray()alpha(opacity=35,style=1,finishopacity=35)" src="음악주소" ShowPositionControls="0" Volume="0" EnableContextMenu="0" showgotobar="0" showstatusbar="0" AllowScriptAccess="never" AutoStart="1" PlayCount="0" Width="160" Height="26"></FONT>
 </FONT><FONT style="BACKGROUND-COLOR: #000066"><Embed style="FILTER: gray()alpha(opacity=35,style=1,finishopacity=35)" src="음악주소" ShowPositionControls="0" Volume="0" EnableContextMenu="0" showgotobar="0" showstatusbar="0" AllowScriptAccess="never" AutoStart="1" PlayCount="0" Width="160" Height="26"></FONT>
 </FONT><FONT style="BACKGROUND-COLOR: #660066"><Embed style="FILTER: gray()alpha(opacity=35,style=1,finishopacity=35)" src="음악주소" ShowPositionControls="0" Volume="0" EnableContextMenu="0" showgotobar="0" showstatusbar="0" AllowScriptAccess="never" AutoStart="1" PlayCount="0" Width="160" Height="26"></FONT>


출처 : 시와음악♬
글쓴이 : 詩&音樂 원글보기
메모 :