Script Summary: Replaces WMV-Plugin-Player (application/x-mplayer2) with Silverlight WMV-Player from www.jeroenwijering.com.
| Vorher | Nachher |
![]() | ![]() |
This script should work with most sites that have WMV-Plugin-Player, but at the moment only crooksandliars.com is enabled under the settings. In case you want to try it on another place you can change the settings in greasemonkey.
Silverlight 2.0 beta 1 is required http://www.microsoft.com/silverlight/resources/...
or Moonlight for Linux http://www.mono-project.com/Moonlight
What this script does:
1. This simple script looks for an embed-element of the type "application/x-mplayer2" which should be the wmv-plugin-player.
2. If it finds that element it gets the source of the wmv-file and also the width and height.
That info is send to php-site which inserts the information into an Silverlight JW_WMV_Player. (http://www.jeroenwijering.com/?item=JW_WMV_Player)
3. That php-page than replaces the wmv-plugin-player in form of an iframe on the page you are looking at.
(Or something in the direction of that, look at the script for more details.)
Problems:
- On certain videos Silverlight returns Error 4001.
- The php-site is hosted on a free-host with layer-ads (just use Adblock or something like that)





