Video::__construct PHP Method

__construct() public method

public __construct ( $durationMillis = null, $streamingUrl = null, $readyToPlayOnTheWeb = null, $industryStandardCommercialIdentifier = null, $advertisingId = null, $youTubeVideoIdString = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null )
        public function __construct($durationMillis = null, $streamingUrl = null, $readyToPlayOnTheWeb = null, $industryStandardCommercialIdentifier = null, $advertisingId = null, $youTubeVideoIdString = null, $mediaId = null, $type = null, $referenceId = null, $dimensions = null, $urls = null, $mimeType = null, $sourceUrl = null, $name = null, $fileSize = null, $creationTime = null, $MediaType = null)
        {
            parent::__construct();
            $this->durationMillis = $durationMillis;
            $this->streamingUrl = $streamingUrl;
            $this->readyToPlayOnTheWeb = $readyToPlayOnTheWeb;
            $this->industryStandardCommercialIdentifier = $industryStandardCommercialIdentifier;
            $this->advertisingId = $advertisingId;
            $this->youTubeVideoIdString = $youTubeVideoIdString;
            $this->mediaId = $mediaId;
            $this->type = $type;
            $this->referenceId = $referenceId;
            $this->dimensions = $dimensions;
            $this->urls = $urls;
            $this->mimeType = $mimeType;
            $this->sourceUrl = $sourceUrl;
            $this->name = $name;
            $this->fileSize = $fileSize;
            $this->creationTime = $creationTime;
            $this->MediaType = $MediaType;
        }

Usage Example

コード例 #1
0
ファイル: html5video.php プロジェクト: 01J/bealtine
 function __construct($id, $title = '', $offset = 0)
 {
     parent::__construct($id, $title, $offset);
     if (in_array(pathinfo($id, PATHINFO_EXTENSION), array('oga', 'mp3', 'm4a', 'webma', 'wav'))) {
         $this->type = 'a';
     }
 }
All Usage Examples Of Video::__construct