Lines Matching refs:type

214     public $type;
230 public function __construct($link = null, $type = null, $length = null, $javascript = null, $bitrate = null, $captions = null, $categories = null, $channels = null, $copyright = null, $credits = null, $description = null, $duration = null, $expression = null, $framerate = null, $hashes = null, $height = null, $keywords = null, $lang = null, $medium = null, $player = null, $ratings = null, $restrictions = null, $samplingrate = null, $thumbnails = null, $title = null, $width = null)
255 $this->type = $type;
782 * @return string|null MIME type
786 if ($this->type !== null) {
787 return $this->type;
827 * the appropriate handler installed or when a file type is
829 * - `altclass` (string): If a file type is unsupported, the end-user will
879 $type = $this->get_real_type();
937 $mime = explode('/', $type, 2);
989 $embed .= "<embed src=\"" . $this->get_link() . "\" pluginspage=\"http://adobe.com/go/getflashplayer\" type=\"$type\" quality=\"high\" width=\"$width\" height=\"$height\" bgcolor=\"$bgcolor\" loop=\"$loop\"></embed>";
991 $embed .= "<script type='text/javascript'>embed_flash('$bgcolor', '$width', '$height', '" . $this->get_link() . "', '$loop', '$type');</script>";
1000 $embed .= "<embed src=\"$mediaplayer\" pluginspage=\"http://adobe.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" quality=\"high\" width=\"$width\" height=\"$height\" wmode=\"transparent\" flashvars=\"file=" . rawurlencode($this->get_link().'?file_extension=.'.$this->get_extension()) . "&autostart=false&repeat=$loop&showdigits=true&showfsbutton=false\"></embed>";
1002 $embed .= "<script type='text/javascript'>embed_flv('$width', '$height', '" . rawurlencode($this->get_link().'?file_extension=.'.$this->get_extension()) . "', '$placeholder', '$loop', '$mediaplayer');</script>";
1012 $embed .= "<embed type=\"$type\" style=\"cursor:hand; cursor:pointer;\" href=\"" . $this->get_link() . "\" src=\"$placeholder\" width=\"$width\" height=\"$height\" autoplay=\"false\" target=\"myself\" controller=\"false\" loop=\"$loop\" scale=\"aspect\" bgcolor=\"$bgcolor\" pluginspage=\"http://apple.com/quicktime/download/\"></embed>";
1014 $embed .= "<embed type=\"$type\" style=\"cursor:hand; cursor:pointer;\" src=\"" . $this->get_link() . "\" width=\"$width\" height=\"$height\" autoplay=\"false\" target=\"myself\" controller=\"true\" loop=\"$loop\" scale=\"aspect\" bgcolor=\"$bgcolor\" pluginspage=\"http://apple.com/quicktime/download/\"></embed>";
1017 $embed .= "<script type='text/javascript'>embed_quicktime('$type', '$bgcolor', '$width', '$height', '" . $this->get_link() . "', '$placeholder', '$loop');</script>";
1025 $embed .= "<embed type=\"application/x-mplayer2\" src=\"" . $this->get_link() . "\" autosize=\"1\" width=\"$width\" height=\"$height\" showcontrols=\"1\" showstatusbar=\"0\" showdisplay=\"0\" autostart=\"0\"></embed>";
1027 $embed .= "<script type='text/javascript'>embed_wmedia('$width', '$height', '" . $this->get_link() . "');</script>";
1040 * Get the real media type
1048 * @return string MIME type
1060 $type = strtolower($this->type);
1062 $type = null;
1065 // If we encounter an unsupported mime-type, check the file extension and guess intelligently.
1066 if (!in_array($type, array_merge($types_flash, $types_fmedia, $types_quicktime, $types_wmedia, $types_mp3))) {
1076 $type = 'audio/acc';
1083 $type = 'audio/aiff';
1087 $type = 'audio/wav';
1094 $type = 'audio/midi';
1098 $type = 'audio/x-m4a';
1103 $type = 'audio/mp3';
1107 $type = 'audio/wav';
1111 $type = 'audio/x-ms-wax';
1115 $type = 'audio/x-ms-wma';
1121 $type = 'video/3gpp';
1126 $type = 'video/3gpp2';
1130 $type = 'video/x-ms-asf';
1134 $type = 'video/x-flv';
1148 $type = 'video/mpeg';
1152 $type = 'video/x-m4v';
1157 $type = 'video/quicktime';
1162 $type = 'video/mp4';
1166 $type = 'video/sd-video';
1170 $type = 'video/x-ms-wm';
1174 $type = 'video/x-ms-wmv';
1178 $type = 'video/x-ms-wvx';
1183 $type = 'application/futuresplash';
1187 $type = 'application/x-shockwave-flash';
1193 if (in_array($type, $types_flash)) {
1195 } elseif (in_array($type, $types_fmedia)) {
1197 } elseif (in_array($type, $types_quicktime)) {
1199 } elseif (in_array($type, $types_wmedia)) {
1201 } elseif (in_array($type, $types_mp3)) {
1208 return $type;