2006-09-20

GoogleVideo Full Feature GooglePlayer Bar

Before:

After:


Modify the html codes
把 html 修改一下:
<embed
  style="width:100%; height:100%"
  id="VideoPlayback"
  align="middle"
  type="application/x-shockwave-flash"
  src="http://video.google.com/googleplayer.swf?&docid=<...>
   &amp;begin=0
   &len=148432
   &messagesUrl=http://video.google.com/FlashUiStrings.xlb?frame=flashstrings
   &hl=en
   &autoPlay=true"
 allowScriptAccess="always"
 quality="best"
 bgcolor="#ffffff"
 scale="noScale"
 salign="TL"
 FlashVars="playerMode=normal&autoPlay=true&docid=<...>&clickUrl=">
</embed>"
with <object>
<object type="application/x-shockwave-flash"    
  data="http://video.google.com/googleplayer.swf?&docid=<...>" 
  width="100%" height="100%" id="VideoPlayback">
 <param name="movie" value="http://video.google.com/googleplayer.swf?&docid=<...>" />
 <param name="allowScriptAcess" value="sameDomain" />
 <param name="quality" value="best" />
 <param name="bgcolor" value="#ffffff" />
 <param name="scale" value="noScale" />
 <param name="salign" value="TL" />
 <param name="FlashVars" value="playerMode=embedded" />
</object>
This is the http://video.google.com/FlashUiStrings.xlb and options for Flash UI Strings.
<?xml version="1.0"?>
<localizationbundle locale="en">
<messages>
 <msg name="SmoothVideo" desc="menu button to choose a smoother looking scaled image over a faster scaled image">Smooth Video</msg>
 <msg name="OriginalSize" desc="menu button to scale the image to 100% size (no scaling)">Original Size</msg>
 <msg name="DoubleSize" desc="menu button to scale the image to 200%">Double Size</msg>
 <msg name="FitToWindow" desc="menu button to scale the image to fill the window">Fit to Window</msg>
 <msg name="FullScreen" desc="menu button to switch to the full screen window">Full Screen</msg>
 <msg name="VideoPlayingInFullScreen" desc="message to inform the user that the video is not being shown in this window but instead is being played in the full screen player window">Video is playing in the fullscreen window.</msg>
 <msg name="Buffering" desc="message to tell user that data is being queued until we have enough to play">Buffering...</msg>
 <msg name="GoToGoogleVideo" desc="button to go to Google Video homepage">Go to Google Video</msg>
 <msg name="NotAvailableTryLater" desc="message to tell the user that this video is currently not available and suggest that they try again later">This video is currently not available.\nPlease try again later.</msg>
 <msg name="PleaseUpgradeToFlash7" desc="ask the user to upgrade to newer version of Flash">Please upgrade to Flash Player 7 to watch this video.</msg>
 <msg name="ShowCaptions" desc="Tooltips text for subtitle button when it is off">Show captions</msg>
 <msg name="HideCaptions" desc="Tooltips text for subtitle button when it is on">Hide captions</msg>
 <msg name="Volume" desc="Tooltips text for volume control">Volume</msg>
 <msg name="Menu" desc="Tooltips text for menu button">Menu</msg>
</messages>
</localizationbundle>

No comments: