#title Audio Player Moniwiki Macro #keywords audio-player,moniwiki,macro 작성자: [hyacinth] 작성일: [[Date(2009-01-12T11:14:31)]] [[TableOfContents]] /!\ 2022.02.09. 어도비 플래시 플레이어에 대한 모든 지원이 종료되어 앞으로 사용 불가. jQuery amazingaudioplayer로 변경. == AudioPlayerMoniwikiMacro == WordPress의 음악 재생 플러그인인 Audio Player 플러그인의 Standalone version을 이용한 모니위키용 Audio Player 매크로입니다. == 설치 방법 == === audio-player 설치 === || attachment:audio-player-standalone.zip || 최신버전: http://wpaudioplayer.com/standalone/ ../moniwiki/local/audio-player/ 에 압축을 해제합니다. === Play.php 복사 === || attachment:Play.php || ../moniwiki/plugin/ 디렉토리에 Play.php 을 복사(덮어씌움)합니다. == 장단점 == 모니위키 {{{[[Play(Media)]]}}} 매크로에서 사용하는 재생기인 JW Player와 비교한 장단점은 다음과 같습니다. === 장점 === * 깔끔한 디자인(내가 보기엔). * 다중 트랙 지원 === 단점 === * 동영상 재생 지원 안 함 * 플래시 지원 필수 == 사용방법 == {{{ [[Play(http://source.com/source.mp3)]] }}} == 옵션 == === titles, artists === || 인자 값 || 설명 || || titles ||노래 제목 || || artists ||아티스트 || ex) {{{[[Play(http://source.com/source.mp3)]]}}} 옵션이 없는 상태 {{{[[Play(http://source.com/source.mp3,titles=Adia,artists='Sarah McLachlan')]]}}} 옵션은 음원 주소 외에 가운데 '='을 갖는 문자열입니다. {{{[[Play(http://source.com/source.mp3,titles='I Doll ~Song for eternity~',artists='KOTOKO')]]}}} 공백을 포함한 문자열은 작은 따옴표로 묶습니다. === 다중 트랙 === {{{[[Play(http://source.com/source_1.mp3,http://source.com/source_2.mp3)]]}}} 여러 개의 음악 재생은 콤마를 붙여 음원 주소를 계속 이어 씁니다. === 다중 트랙 titles, artists === {{{[[Play(http://source.com/source_1.mp3,http://source.com/source_2.mp3,titles='My Title 1','My Title 2',artists='My artist 1','My artist 2')]]}}} {{{[[Play(http://cfs13.tistory.com/original/4/tistory/2008/11/27/13/03/492e1c19b7e8e,http://mediafile.paran.com/MEDIA_9644611/BLOG/200611/1163636989_rfonline-one.mp3,titles='My Title 1','My Title 2',artists='My artist 1','My artist 2')]]}}} titles과 artists 옵션 뒤에 콤마를 붙여 연속해서 순서대로 적습니다. === width === || 인자 값 || 설명 || || 1-600의 정수 ||플레이어의 가로 길이(기본값 290) || === autostart === || 인자 값 || 설명 || || yes ||자동재생 || || no ||자동재생 아님(기본값) || === loop === || 인자 값 || 설명 || || yes ||반복 || || no ||반복 아님(기본값) || === initialvolume === || 인자 값 || 설명 || || 0-100의 정수 ||초기 볼륨(기본값 60) || === rtl === || 인자 값 || 설명 || || yes ||재생 정보(아티스트-제목)의 좌우를 바꿉니다. || || no ||(기본값) || === animation === || 인자 값 || 설명 || || yes ||재생 전에 접힌 모습으로 보임. 재생 시 펼치기. 가장 처음 쓰는 플레이어에만 유효하며 한 페이지 전체가 적용되게 됩니다. || || no ||(기본값) || 참고) yes 인 상태 attachment:audioplayeranimation.gif ---- CategoryMacro