topical media & game development

talk show tell print

lib-flow-example-playlist.htm / htm



  <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html><head>
  <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  
  <!-- 
          This is Flowplayer standalone demo. The fastest way to get started. 
          You can freely copy things on your site. All demos can be found from: 
          
          http://flowplayer.org/demos/
  	
  	Enjoy!
  -->
  
  <!-- DOCTYPE is always recommended. see: http://www.quirksmode.org/css/quirksmode.html -->
   
  
  <!-- flowplayer scripts should be loaded from your servers NOT from static.flowplayer.org  -->
  
  <script type="text/javascript" src="lib-flow-example-files-flowplayer-3.js"></script>
  
    
  <!-- some styling for the standalone page. this line can (or must) be removed -->
  <link rel="stylesheet" type="text/css" href="lib-flow-example-files-standalone.css">
  
  <!-- setup player container without any splash, only dimensions-->
  <script language="JavaScript">
  
  flowplayer("player", "swf/flowplayer-3.1.0.swf",  {
                  
          // here is our playlist with two clips
          playlist: [
          
                  // this first PNG clip works as a splash image
                  {
                          url: 'images/screens.png', 
                          scaling: 'orig'
                  },
                  
                  // second clip is a video. when autoPlay is set to false the splash screen will be shown
                  {
                          url: 'http://player-e7.simplecdn.net/flowplayer.flv', 
                          autoPlay: false, 
                          
                          // video will be buffered when splash screen is visible
                          autoBuffering: true 
                  }
          ]
  });
  </script></head><body><div id="player" style="width: 425px; height: 295px;"><object id="player_api" data="lib-flow-example-files-flowplayer-3.swf" type="application/x-shockwave-flash" width="100%" height="100%"><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"><param name="quality" value="high"><param name="bgcolor" value="#000000"><param name="flashvars" value="config={&quot;playlist&quot;:[{&quot;url&quot;:&quot;images/screens.png&quot;,&quot;scaling&quot;:&quot;orig&quot;},{&quot;url&quot;:&quot;http://player-e7.simplecdn.net/flowplayer.flv","autoPlay":false,"autoBuffering":true}],"playerId":"player","clip":{}}"></object></div>  
  
  <!-- install player -->
  
  </body></html>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.