function SwitchPlayer( elementId, styleId, VideoHeight, PIPAndVideoWidth, MediaDirectory, ConfigMediaDirectory, FlashController, FlashConfig, FlashQuality, SWFMinPlayerVersion, SWFBGColor, SWFLoadingMovURL, SWFMatchPreloadMovieSize ) { var MediaDirAndController = MediaDirectory + FlashController; var MedaiDirAndConfig = ConfigMediaDirectory + FlashConfig; var BGColor = "#" + SWFBGColor; var fo = new SWFObject( MediaDirAndController, FlashController, PIPAndVideoWidth, VideoHeight, SWFMinPlayerVersion, BGColor, false, FlashQuality ); fo.addVariable( "csConfigFile", MedaiDirAndConfig ); fo.addVariable( "csColor" , SWFBGColor ); if( SWFLoadingMovURL != "" && SWFLoadingMovURL != null ) { fo.addVariable( "csPreloader" , SWFLoadingMovURL ); } if( SWFMatchPreloadMovieSize != "" && SWFMatchPreloadMovieSize != null ) { fo.addVariable( "csScaleLoadingMov" , SWFMatchPreloadMovieSize ); } if( args.movie ) { fo.addVariable( "csFilesetBookmark", args.movie ); } if( fo.write( elementId ) == false ) { var node = '
The Camtasia Studio video content presented here
requires JavaScript to be enabled and the latest version
of the Macromedia Flash Player. If you are you using
a browser with JavaScript disabled please enable it now.
Otherwise, please update your version of the
free Flash Player by downloading here.
' + '