{{{
config.macros.GoogleVideoFragment = {
  handler: function (place, macroName, params, wikifier, paramString, tiddler)
  {
     var movie;

     if (params[0] != null)
     {
           movie = params[0];
     }

     resultString = '<html>';
     resultString += '<object width="425" height="344">';
     resultString += '<param name="movie" value="http://www.youtube.com/v/';
     resultString += movie;
     resultString += '&hl=en&fs=1">';

     resultString += '</param><param name="allowFullScreen" value="true">';
     resultString += '</param><param name="allowscriptaccess" value="always">';
     resultString += '</param><embed src=';
     resultString += 'http://www.youtube.com/v/';

     resultString += movie;
     resultString += '&hl=en&fs=1" ';
     resultString += 'type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344">';
     resultString += ' </embed></object> ';
     resultString += '</html>';

     wikify(resultString,place);
   }
 }
}}}
bag
plugins_public
created
Sun, 03 Oct 2010 19:02:52 GMT
creator
dirkjan
modified
Sun, 03 Oct 2010 19:02:52 GMT
modifier
dirkjan
tags
excludeLists
systemConfig
creator
dirkjan