Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
function getflashplayer( $player, $video, $flashvars ) {
$this->buildCustomMeta( $player, $video );
$swf = JURI::root().'components/com_allvideoshare/player.swf?autoStart=true&random=' . rand();
$swf .= '&base='.urlencode( JURI::root() ).'&vid=' . $video->id . '&pid=' . $player->id;
$result = '<div itemprop="video" itemscope itemtype="http://schema.org/VideoObject">';
$result .= '<h2>Video: <span itemprop="name">' . $video->title . '</span></h2>';
$result .= '<meta itemprop="thumbnailUrl" content="' . $video->thumb . '" />';
$result .= '<meta itemprop="embedURL" content="' . $swf . '" />';
$result .= '<meta itemprop="height" content="' . $this->height . '" />';
$result .= '<meta itemprop="width" content="' . $this->width . '" />';
$result .= '<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="' . $this->width . '" height="' . $this->height . '">';
$result .= '<param name="movie" value="' . JURI::root() . 'components/com_allvideoshare/player.swf?random=' . rand() . '" />';
$result .= '<param name="wmode" value="opaque" />';
$result .= '<param name="allowfullscreen" value="true" />';
$result .= '<param name="allowscriptaccess" value="always" />';
$result .= '<param name="flashvars" value="' . $flashvars . '" />';
$result .= '<object type="application/x-shockwave-flash" data="' . JURI::root() . 'components/com_allvideoshare/player.swf?random=' . rand() . '" width="' . $this->width . '" height="' . $this->height . '">';
$result .= '<param name="movie" value="' . JURI::root() . 'components/com_allvideoshare/player.swf?random=' . rand() . '" />';
$result .= '<param name="wmode" value="opaque" />';
$result .= '<param name="allowfullscreen" value="true" />';
$result .= '<param name="allowscriptaccess" value="always" />';
$result .= '<param name="flashvars" value="' . $flashvars . '" />';
$result .= '</object>';
$result .= '</object>';
$result .= '<span itemprop="description">' . $video->description . '</span>';
$result .= '</div>';
return $result;
}
Please Log in or Create an account to join the conversation.
We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies