Class VideoPlayer

Description

Video streams are made available on the Internet in multiple formats.

Each format requires specific HTML to embed a video player in a Web page. This class simplifies the generation of HTML to embed video players in Web pages with support for the most popular video formats.

  • Manuel Lemos from PHPClasses
(c) Douglas Borella Iaintsky 10/2007 ianitsky@gmail.com Gnu GPL code

Located in /videoPlayer.class.php (line 16)


	
			
Method Summary
VideoPlayer __construct (String $video, int $width, int $height, [String $autoplay = 'false'], [String $controls = 'true'])
String player ()
Methods
Constructor __construct (line 73)

Class constructor

  • access: public
VideoPlayer __construct (String $video, int $width, int $height, [String $autoplay = 'false'], [String $controls = 'true'])
  • String $video: video // Url of the video
  • int $width: width // Width of the player
  • int $height: height // Height of the player
  • String $autoplay: autoplay (true, false) // If the player is autoplay or no
  • String $controls: constrols (true, false) // If the player show controls or no
player (line 210)

Return the player

  • access: public
String player ()

Documentation generated on Mon, 19 Nov 2007 14:14:04 -0200 by phpDocumentor 1.3.0RC3