Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Travis Tidwell  >  Dash Media Player  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example Index Page
Class: Dash Media Player
Embed the Dash Media player in a Web page
Author: By
Last change:
Date: 5 years ago
Size: 668 bytes
 

Contents

Class file image Download
<html>
   <head><title>Dash Media Player PHP Demo</title></head>
   <body>
      <div style="text-align:center;">
         <h2>Dash Media Player PHP Demo</h2><br/>
         <?php
         
include("dash.php");
         
$params['width'] = 652;
         
$params['height'] = 432;
         print 
dashplayer_get_player($params);
         
         
/*
          // OR YOU COULD USE THE FOLLOWING...
          include("DashPlayer.php");
          $params['width'] = 652;
          $params['height'] = 432;          
          $player = new DashPlayer($params);
          $player->show();
         */
         
         
?>
      </div>
   </body>
</html>