WMP - change skin on change of media?

Thursday, March 3, 2005 by retiredmaster | Discussion: OS Customization

Is it possible to have the skin of WMP change when a particular media clip (video) is downloaded? Anyone know?
CerebroJD
Reply #1 Thursday, March 3, 2005 3:13 PM
Probably. You just need a bit of JScript saying that onvideostart open a new view and make the first one invisible. DO NOT CLOSE the main view. Closes wmp...
retiredmaster
Reply #2 Monday, March 7, 2005 8:12 AM
Thanks Cerebro - but that's not quite what I mean. Hopefully this is a bit clearer:

A company has their own WMP skin designed - "Coathangers Ltd" logos all over it, which is downloadable from their website. When a customer has the skin installed and visits the 'Coathangers' website and clicks on the promo video (showing wire being bent presumably), WMP loads and runs, and changes the WMP skin from whatever it was to the "Coathangers Ltd" skin automagically.

Can it be done? (I suppose you could get JScript to check the filename... but your jscript would only be active if your skin was being used anyway.)
Pacific
Reply #3 Thursday, March 10, 2005 2:00 AM
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay10/mmp_sdk/creatingmetafileplaylists.asp

i hope that helps...
Septimus
Reply #4 Thursday, March 10, 2005 3:43 AM
The other way to do it, which is what they have probably done if its their media file that activates the skin, is to encode the javascript into the Windows Media File. Very easily done through Windows Media File Editor.

We do it all the time for learning materials. As long as the element is available to the media file through a JS element, you can control it via the media file with hotspots or time codes.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01