Annuler plein écran
En train de charger...
Page précédente Page parente Page suivante Sommaire
Structure   (2.2.4)   Tom Bouillut  _|_  Labs  _|_  tikihacks  _|_  vswf plugin

Swf tiki video plugin



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.php



function 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.


Source