home *** CD-ROM | disk | FTP | other *** search
/ ftp.novell.com / 2014.06.ftp.novell.com.tar / ftp.novell.com / forge / camtasia.msi / Cabs.w1.cab / AdditionalSwitchFuncCallAdvancedFlash.js < prev    next >
Text File  |  2009-08-17  |  1KB  |  16 lines

  1. var req = swfobject.hasFlashPlayerVersion("$PlayerVersion");
  2.    var id = "video1";
  3.    var bookmark = args.movie ? args.movie : 0;
  4.    var node = '<div id="cs_noexpressUpdate">'
  5.             + '<p align="center">The Camtasia Studio video content presented here </p><p align="center"> requires JavaScript to be enabled and the latest version </p><p align="center">of the Adobe Flash Player.  If you are you using </p><p align="center">a browser with JavaScript disabled please enable it now.</p><p align="center"> Otherwise, please update your version of the </p><p align="center">free Flash Player by <a href="http://www.adobe.com/go/getflashplayer">downloading here</a>. </p>'
  6.             + '</div>';
  7.  
  8.    if ( req )
  9.    {
  10.       swfobject.embedSWF( "$FlashController", id, "$Width", "$Height", "$PlayerVersion", null, { csConfigFile: "$FlashConfig", csColor: "$SWFBGColor", $SWFcsLoadingKeyword csFilesetBookmark: bookmark }, { bgcolor: "$SWFBGColor", quality: "best", allowscriptaccess: "always" } );
  11.    }
  12.    else
  13.    {
  14.       var n = (typeof id == 'string') ? document.getElementById( id ) : id;
  15.       n.innerHTML = node;
  16.    }