본문 바로가기

Program(Down,Int)/(php)Web_program

FLV 플레이어 - JW FLV MEDIA PLAYER 4.1

FLV 플레이어 - JW FLV MEDIA PLAYER 4.1



제작 사이트는 - http://www.jeroenwijering.com/?item=JW_FLV_Media_Player

Example

Thanks for downloading! Below you see a simple embedded example of the JW Player. Copy-paste the source code and put the SWF, JS and FLV file on your site to get started.



Player(swf) 파일은 -



자바스크립트 js 파일은 -



이고
var s1 = new SWFObject("player.swf","ply","328","200","9","#FFFFFF");

부분에서 player.swf 로 크기와 경로를 지정하고

기본 미리 보기 파일의 경로는 아래에서 지정하면 됩니다.
s1.addParam("flashvars","file=video.flv&image=preview.jpg");

로 하고 사용은,


 
<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
 <script type="text/javascript" src="swfobject.js"></script>
 <script type="text/javascript">
  var s1 = new SWFObject("player.swf","ply","328","200","9","#FFFFFF");
  s1.addParam("allowfullscreen","true");
  s1.addParam("allowscriptaccess","always");
  s1.addParam("flashvars","file=video.flv&image=preview.jpg");
  s1.write("container");
 </script>

Licensing

The player is licensed under a Creative Commons License. It allows you to use, modify and redistribute the script, but only for noncommercial purposes. For corporate use, please apply for a commercial license.

Quickstart

  1. Note to 3.xx users: a LOT has changed in the 4.0 release, including changes to flashvars!
  2. The easiest way to get to know the player is by using the setup wizard. Select an example, set the file or playlist you want to play and copy-paste the embed code to your site.
  3. Also check out the various tutorials, e.g. on video compression, embedding the player, http streaming and creating skins.
  4. If you want to play Youtube content in the player, you also have to copy the yt.swf file along with the player.swf.

Wiki and source code

The JW Player Wiki contains a wealth of information about the player, including:

  1. All supported file formats (and playlists).
  2. All supported variables (for customizing the player).
  3. All supported API calls (for interacting with javascript).
  4. All supported skinning elements (for creating your own graphics).

The source code of all different versions of the player can be found in these ZIP files.

Next steps

If you're ready to get professional about online video, check out these two services that take your site to the next level:

  1. LongTail Video is a no-nonsense video advertisement network that will increase your traffic and monetize your streams. Sign up.
  2. Bits on the Run is a hassle-free video management system that handles the encoding, streaming and tracking of your videos. Sign up.