September 2011
Beginner
1608 pages
68h 25m
English
In Chapter 6, “In-browser Customization: Branding with Web Parts, Themes and Master Pages,” I showed you how to add video to pages using the Silverlight and MediaPlayer Web Parts. I also showed you how to work with the Media Player Web Part and configure it with different Silverlight skins. In this section, I show you how to create a MediaWebPart test bed based on one of the Microsoft MSDN examples to help you understand more about the inner workings of media control parameters and settings.
The following example is based on the sample and code available on the MSDN site, “How to: Configure the MediaWebPart Object Using ECMAScript,” available from http://msdn.microsoft.com/en-us/library/ee558890.aspx.
The example ...