• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /dokuwiki/vendor/simplepie/simplepie/library/SimplePie/

Lines Matching refs:type

210 	var $type;
226 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)
251 $this->type = $type;
814 * @return string|null MIME type
818 if ($this->type !== null)
820 return $this->type;
861 * the appropriate handler installed or when a file type is
863 * - `altclass` (string): If a file type is unsupported, the end-user will
913 $type = $this->get_real_type();
976 $mime = explode('/', $type, 2);
1058 $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>";
1062 $embed .= "<script type='text/javascript'>embed_flash('$bgcolor', '$width', '$height', '" . $this->get_link() . "', '$loop', '$type');</script>";
1073 $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>";
1077 $embed .= "<script type='text/javascript'>embed_flv('$width', '$height', '" . rawurlencode($this->get_link().'?file_extension=.'.$this->get_extension()) . "', '$placeholder', '$loop', '$mediaplayer');</script>";
1090 $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>";
1094 $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>";
1099 $embed .= "<script type='text/javascript'>embed_quicktime('$type', '$bgcolor', '$width', '$height', '" . $this->get_link() . "', '$placeholder', '$loop');</script>";
1109 $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>";
1113 $embed .= "<script type='text/javascript'>embed_wmedia('$width', '$height', '" . $this->get_link() . "');</script>";
1124 * Get the real media type
1132 * @return string MIME type
1145 $type = strtolower($this->type);
1149 $type = null;
1152 // If we encounter an unsupported mime-type, check the file extension and guess intelligently.
1153 if (!in_array($type, array_merge($types_flash, $types_fmedia, $types_quicktime, $types_wmedia, $types_mp3)))
1160 $type = 'audio/acc';
1167 $type = 'audio/aiff';
1171 $type = 'audio/wav';
1178 $type = 'audio/midi';
1182 $type = 'audio/x-m4a';
1187 $type = 'audio/mp3';
1191 $type = 'audio/wav';
1195 $type = 'audio/x-ms-wax';
1199 $type = 'audio/x-ms-wma';
1205 $type = 'video/3gpp';
1210 $type = 'video/3gpp2';
1214 $type = 'video/x-ms-asf';
1218 $type = 'video/x-flv';
1232 $type = 'video/mpeg';
1236 $type = 'video/x-m4v';
1241 $type = 'video/quicktime';
1246 $type = 'video/mp4';
1250 $type = 'video/sd-video';
1254 $type = 'video/x-ms-wm';
1258 $type = 'video/x-ms-wmv';
1262 $type = 'video/x-ms-wvx';
1267 $type = 'application/futuresplash';
1271 $type = 'application/x-shockwave-flash';
1278 if (in_array($type, $types_flash))
1282 elseif (in_array($type, $types_fmedia))
1286 elseif (in_array($type, $types_quicktime))
1290 elseif (in_array($type, $types_wmedia))
1294 elseif (in_array($type, $types_mp3))
1302 return $type;