* modified for Windows Media Player by Hans Bracker * * Markup (:wmplayer Attach:filename width=number height=number [key=value] [key=value] ... :) * * use Attach:filename or http://urlpath/filepath/filename * height= an width= parameters are mandantory * other parameters can be supplied to control the player's behaviour * Example (music): (:wmplayer Attach:mymusic.wma width=200 height=25 :) * Example (video): (:wmplayer Attach:myvideo.wmv width=500 height=300 :) * * * Version History * --------------- * 0.1 - initial release */ # set to 0 to disable loading of files with http://urlpath... SDV($EnableExternalResource, 1); Markup('wmplayer', '"; foreach ($args as $key => $arg) if ($key != '#') $out .= ""; $out .= ""; return Keep($out); } if($imap=='http:') return ""; else return Keep($FileUrl); }