|
|
|
|
|
|
Display Flv video files through a xml playlist
{VSWF(movie=>path of the movie,width=>width of the movie,height=>height of the movie, type=>playlist|standalone, autoplay=>true|false, domain=>domain of the movie, playlist=>path of the playlist)}{VSWF}
exemple:
{VSWF(movie=>flash/xml_video_playlist_generic.swf,width=>560,height=>250, type=>playlist, autoplay=>true, domain=>http://www.thiscow.eu/tikiwiki/, playlist=>playlist/default_playlist.xml)}{VSWF}---
|
| |
wikiplugin_vswf.phpfunction wikiplugin_vswf($data, $params) { extract ($params,EXTR_SKIP); if (!isset($domain)) { $domain=$tikidomain; } if (!isset($autoplay)) { $autoplay="false"; } $playlist_path=$domain.$playlist; $movie_req=$domain.$movie."?playlist=".$playlist_path; $asetup = ""; $asetup = "<param name=\"allowScriptAccess\" value=\"sameDomain\" />"; $asetup .= "<PARAM NAME=\"movie\" VALUE=\"$movie_req\">"; $asetup .= "<PARAM NAME=\"quality\" VALUE=\"high\">"; $asetup .= "<PARAM NAME=\"wmode\" VALUE=\"transparent\">"; $asetup .= ""; return $asetup; }download the generic swf video player | |
Collaborateur(s) de cette page: tom bouillut
.
Page modifiée dernièrement le samedi 16 juin, 2007 15:38:53 CEST par tom bouillut.