I installed google chrome some time back. I would reserve my comments about the browser for a different post, but the my favorite feature is the task manager. Today, someone forwarded me the Windows Ads campaigns page, primarily for the I am a PC campaign (which uses Flash video 🙂 ).
I went to see the Bill Gates-Seinfeld campaign. You probably wont be able to see it as you don’t Silverlight or it is not supported for your browser/OS. Don’t bother installing, it is much easier to catch the videos on youTube (Shoe Circus | New Family).
Anyway, I was on the page and i see this…
Hmm.. Flash Player in a Silverlight page? I went on a right click spree and couldnt find it. Then i check out the embed tag on the video-bar and here’s what i get…
Is MS loading a SWF within Silverlight and conning people?? I decided to check it out. I embed the code into an html and ran it and i get this…
I still don’t know if my initial hypothesis was right, though the pre-loading suggests that the soapbox player is done in Flex. Next step was to check out the DOM to see where Flash was on the page. Thanks to Firebug, this was easy work. Here’s what I found (click the image to see a bigger version)
There is a div in the page called clipboardPlaceHolder. This contains a faceless swf that is used to access the system clipboard to copy the embed code into the system clipboard. I did some googling and found that Silverlight does a sloppy job with Clipboard access. There’s something in Silverlight that can access clipboard, but it only works on IE ;). Here’s the thread from the Silverlight forum.
Yes. This script doesn’t work in non-IE browsers.
Please read the following links if you wonder why it doesn’t work. .
* http://www.mozilla.org/editor/midasdemo/securityprefs.html
* IE Clipboard Stealing
The best solution that I have so far is “Using Flash clipboard”. If you want to implement this in your Silverlight, you can get the swf file…
So much for the multi-browser claim. It seems to me that they are trying to show as if Silverlight has capabilities that it actually does not… What next?