1. 사용법
<embed src="http://domain/path/srplayer.swf" width="320" height="214" allowfullscreen="false" allowscriptaccess="always" flashvars="config=srconfig.xml" />
2. srconfig.xml & Config Vars
<config>
<!-- BASIC FLASHVARS -->
<displayheight>184</displayheight>
<file>http://my.site.com/files/mediaplayer.xml</file>
<height>214</height>
<image>http://my.site.com/files/image.jpg</image>
<shownavigation>true</shownavigation>
<shownavigation>false</shownavigation>
<transition>bgfade</transition>
<transition>blocks</transition>
<transition>bubbles</transition>
<transition>circles</transition>
<transition>fade</transition>
<transition>flash</transition>
<transition>fluids</transition>
<transition>lines</transition>
<transition>random</transition>
<transition>slowfade</transition>
<width>320</width>
<!-- COLOR FLASHVARS -->
<backcolor>0x000000</backcolor>
<frontcolor>0xCCCCCC</frontcolor>
<lightcolor>0X808080</lightcolor>
<screencolor>0x666666</screencolor>
<!-- APPEARANCE FLASHVARS -->
<autoscroll>true</autoscroll>
<autoscroll>false</autoscroll>
<displaywidth>320</displaywidth>
<kenburns>true</kenburns>
<kenburns>false</kenburns>
<largecontrols>true</largecontrols>
<largecontrols>false</largecontrols>
<logo>logo.jpg</logo>
<overstretch>true</overstretch>
<overstretch>false</overstretch>
<overstretch>fit</overstretch>
<overstretch>none</overstretch>
<showdigits>true</showdigits>
<showdigits>false</showdigits>
<showdownload>true</showdownload>
<showdownload>false</showdownload>
<showeq>true</showeq>
<showeq>false</showeq>
<showicons>true</showicons>
<showicons>false</showicons>
<showstop>true</showstop>
<showstop>false</showstop>
<showvolume>true</showvolume>
<showvolume>false</showvolume>
<thumbsinplaylist>true</thumbsinplaylist>
<thumbsinplaylist>false</thumbsinplaylist>
<!-- PLAYBACK FLASHVARS -->
<autostart>true</autostart>
<autostart>false</autostart>
<bufferlength>3</bufferlength>
<deblocking>true</false>
<deblocking>false</false>
<repeat>true</repeat>
<repeat>false</repeat>
<repeat>list</repeat>
<rotatetime>3</rotatetime>
<shuffle>true</shuffle>
<shuffle>false</shuffle>
<smoothing>5</smoothing> <!-- 1-5 -->
<start>120</start>
<volume>80</volume> <!-- 0-100 -->
<!-- INTERACTION FLASHVARS -->
<audio>http://my.site.com/files/audio.mp3</audio>
<bwfile>http://my.site.com/files/bwimage.jpg</bwfile>
<bwstreams>100,250,500,1000</bwstreams>
<callback>http://my.site.com/files/statistics.php</callback>
<captions>http://my.site.com/files/captions.xml</captions>
<enablejs>true</enablejs>
<enablejs>false</enablejs>
<fsbuttonlink>http://my.site.com/files/alternate_page.html</fsbuttonlink>
<id>this_video</id>
<javascriptid>mpl</javascriptid>
<link>http://my.site.com</link>
<linkfromdisplay>true</linkfromdisplay>
<linkfromdisplay>false</linkfromdisplay>
<linktarget>_self</linktarget> <!-- also window name -->
<linktarget>_blank</linktarget>
<linktarget>_top</linktarget>
<linktarget>_parent</linktarget>
<recommendations>http://my.site.com/files/recommendations.xml</recommendations>
<streamscript>http://my.site.com/files/stream.php</streamscript>
<type>flv</type>
<useaudio>true</useaudio>
<useaudio>false</useaudio>
<usecaptions>true</usecaptions>
<usecaptions>false</usecaptions>
<usefullscreen>true</usefullscreen>
<usefullscreen>false</usefullscreen>
<usekeys>true</usekeys>
<usekeys>false</usekeys>
</config>
3. playeList .xml
<?xml version="1.0" encoding="UTF-8" ?>
<playlist version="1" xmlns="http://xspf.org/ns/0/" xmlns:jwplayer="http://developer.longtailvideo.com/">
<title>Natures</title>
<tracklist>
<track>
<annotation>흐르는 강물 처럼 OST - River Runs Through</annotation>
<location>http://dl.dropbox.com/u/15749968/mp3/tune/River%20Runs%20Through%20OST.mp3</location>
</track>
<track>
<annotation>James Last - Over Valley and Mountain</annotation>
<location>http://dl.dropbox.com/u/15749968/mp3/tune/James%20Last%20-%20Over_Valley_And_Moutain.mp3</location>
</track>
<track>
<annotation>James Last - Country Train</annotation>
<location>http://dl.dropbox.com/u/15749968/mp3/tune/James%20Last%20-%20Country%20Train.Mp3</location>
</track>
<track>
<annotation>Tim MaC Brain - Song of The Read</annotation>
<location>http://dl.dropbox.com/u/15749968/mp3/tune/Tim%20Mac%20Brian%20-%20Song%20of%20The%20Read.mp3</location>
</track>
<track>
<annotation>Kitaro - Silk Road Main Theme</annotation>
<location>http://dl.dropbox.com/u/15749968/mp3/tune/Silk%20Road.mp3</location>
</track>
</tracklist>
</playlist>
4. fixed srconfig.xml
<config>
<!-- BASIC FLASHVARS -->
<displayheight>184</displayheight>
<file>http://dl.dropbox.com/u/15749968/xml/xxList.xml</file>
<height>214</height>
<shownavigation>true</shownavigation>
<transition>random</transition>
<width>320</width>
<!-- COLOR FLASHVARS -->
<backcolor>0x000000</backcolor>
<frontcolor>0xCCCCCC</frontcolor>
<lightcolor>0X808080</lightcolor>
<screencolor>0x666666</screencolor>
<!-- APPEARANCE FLASHVARS -->
<autoscroll>true</autoscroll>
<displaywidth>320</displaywidth>
<kenburns>false</kenburns>
<largecontrols>true</largecontrols>
<logo>http://dl.dropbox.com/u/15749968/img/wwLogo1.jpg</logo>
<overstretch>fit</overstretch>
<showdigits>true</showdigits>
<showdownload>false</showdownload>
<showeq>true</showeq>
<showicons>false</showicons>
<showstop>true</showstop>
<showvolume>true</showvolume>
<thumbsinplaylist>false</thumbsinplaylist>
<!-- PLAYBACK FLASHVARS -->
<autostart>true</autostart>
<bufferlength>3</bufferlength>
<deblocking>true</false>
<repeat>true</repeat>
<rotatetime>3</rotatetime>
<shuffle>false</shuffle>
<smoothing>5</smoothing> <!-- 1-5 -->
<start>120</start>
<volume>80</volume> <!-- 0-100 -->
<!-- INTERACTION FLASHVARS -->
<audio>http://dl.dropbox.com/u/15749968/mp3/w-pop/Bahr-Question%20of%20Color.mp3</audio>
<callback>http://blog.daum.net/seniorkr</callback>
<id>srplayer</id>
<link>http://blog.daum.net/seniorkr</link>
<linkfromdisplay>true</linkfromdisplay>
<linktarget>_blank</linktarget>
<useaudio>true</useaudio>
<usefullscreen>false</usefullscreen>
</config>
5. upload embed code
<embed src=http://dl.dropbox.com/u/15749968/srplayer/srplayer.swf width="320" height="214" allowfullscreen="false" allowscriptaccess="always" flashvars="config=http://dl.dropbox.com/u/15749968/xml/xxConf.xml" />
적용된 page : http://blog.daum.net/seniorkr/239
[파일:1]
[파일:2]
[파일:3]
[파일:4]
[파일:5]
************************w79.xml ****************
<?xml version="1.0" encoding="UTF-8" ?>
<playlist version="1" xmlns="http://xspf.org/ns/0/" xmlns:jwplayer="http://developer.longtailvideo.com/">
<title>Adagio</title>
<tracklist>
<track>
<annotation>New Trolls - Adagio</annotation>
<location>http://dl.dropbox.com/u/15749968/mp3/tune/New%20Trolls%20-%20Adagio.mp3</location>
</track>
<track>
<annotation>Lara Fabian - Adagio</annotation>
<location>http://dl.dropbox.com/u/15749968/mp3/w-pop/Lara%20Fabian%20-%20Adagio.mp3</location>
</track>
<track>
<annotation>Lara Fabian - Adagio(in Italiano)</annotation>
<location>http://dl.dropbox.com/u/15749968/mp3/w-pop/Lara%20Fabian%20-%20Adagio%20%28In%20Italiano%29.mp3</location>
</track>
<track>
<annotation>Secret Garden - Adagio</annotation>
<location>http://dl.dropbox.com/u/15749968/mp3/tune/Secret%20Garden%20-%20Adagio%28Songs%20From%20A%20Secret%20Garden%29.mp3</location>
</track>
<track>
<annotation>James Last - Adagio</annotation>
<location>http://dl.dropbox.com/u/15749968/mp3/tune/James%20Last%20-%20Adagio.mp3</location>
</track>
</tracklist>
</playlist>
*********************** eof w79.xml *************************
*********************** w79conf.xml *************************
<config>
<!-- BASIC FLASHVARS -->
<displayheight>184</displayheight>
<file>http://dl.dropbox.com/u/15749968/xml/w79.xml</file>
<skin>http://dl.dropbox.com/u/15749968/srplayer/whiteWorld.zip</skin>
<height>214</height>
<shownavigation>true</shownavigation>
<transition>random</transition>
<!--wmode>transparent</wmode-->
<!--allowNetworking>all</allowNetworking-->
<width>400</width>
<!-- COLOR FLASHVARS -->
<backcolor>0x000000</backcolor>
<frontcolor>0xCCCCCC</frontcolor>
<lightcolor>0X808080</lightcolor>
<screencolor>0x3D3D3D</screencolor>
<!-- APPEARANCE FLASHVARS -->
<autoscroll>true</autoscroll>
<displaywidth>400</displaywidth>
<logo>http://dl.dropbox.com/u/15749968/img/wwLogo1.jpg</logo>
<showeq>true</showeq>
<showicons>false</showicons>
<showstop>true</showstop>
<showvolume>true</showvolume>
<thumbsinplaylist>false</thumbsinplaylist>
<!-- PLAYBACK FLASHVARS -->
<autostart>true</autostart>
<bufferlength>3</bufferlength>
<repeat>always</repeat>
<controlbar>top</controlbar>
<playlist>bottom</playlist>
<rotatetime>3</rotatetime>
<shuffle>false</shuffle>
<smoothing>5</smoothing> <!-- 1-5 -->
<start>5</start>
<volume>80</volume> <!-- 0-100 -->
<!-- INTERACTION FLASHVARS -->
<id>srplayer</id>
<link>http://blog.daum.net/seniorkr</link>
<linktarget>_blank</linktarget>
<usefullscreen>false</usefullscreen>
</config>
********************* eof W79conf.xml *********************
or
6.Embed Method
<CENTER><EMBED height=214 type=application/x-shockwave-flash PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" width=400 src=http://dl.dropbox.com/u/15749968/srplayer/srplayer.swf wmode="transparent" allowNetworking="all" flashvars="file=http://dl.dropbox.com/u/15749968/xml/w76.xml&skin=http://dl.dropbox.com/u/15749968/srplayer/whiteWorld.zip&volume=100&controlbar=top&playlist=bottom&playlistsize=184&repeat=always&autostart=true" allowfullscreen="false" allowscriptaccess="always"> </CENTER>
or
7.Script Method
<CENTER>
<P id=k74 align=center> </P>
<P id=k74 align=center> </P>
<SCRIPT type=text/javascript src="http://dl.dropbox.com/u/15749968/jwplayer/wwplayer.js"></SCRIPT>
</CENTER>
<SCRIPT type=text/javascript>
wwplayer("k74").setup({
flashplayer: "http://dl.dropbox.com/u/15749968/jwplayer/wwplayer.swf",
playlistfile: "http://dl.dropbox.com/u/15749968/xml/k74.xml",
skin: "http://dl.dropbox.com/u/15749968/jwplayer/whiteWorld.zip",
playlist: "bottom",
volume: 100,
menu: "false",
icons: "false",
controlbar: "bottom",
playlistsize: 148,
autostart: "true",
repeat: "always",
width: 400,
height: 178 });
</SCRIPT>
'정보 > 꾸미기' 카테고리의 다른 글
Element (0) | 2011.07.01 |
---|---|
CSS Layout (0) | 2011.07.01 |
표 만들기 (0) | 2011.07.01 |
CSS 작성법 (0) | 2011.07.01 |
글쓰기 Format (0) | 2011.06.28 |