アプリケーション:Figure Skating Results/ユーチューブ・プレーヤー

   // <![CDATA[ var baseUrl = 'http://www.youtube.com/'; var swfUrl = constructUrl(baseUrl); // allowScriptAccess must be set to allow the Javascript from one // domain to access the swf on the youtube domain var params = { allowScriptAccess: "always", allowFullScreen: "true", wmode: "opaque", bgcolor: "#cccccc" };

// This sets the ID of the DOM object or embed tag to 'myytplayer'. // You can use this ID to access the swf and call the player's API var atts = { id: "myytplayer" }; var flashvars = {}; swfobject.embedSWF(swfUrl, "ytapiplayer", "500", "281", "8", null, flashvars, params, atts); //]]> この動画を再生するには、Flash Player 8 以降をインストールし、JavaScript を有効にする必要があります.