Hacker News new | ask | show | jobs
by geocar 5987 days ago
Dirac stands a good chance of being added in the near future.

It seems it would be a weekend task to add a mozilla extension that replaces <video> with embedded Microsoft Windows Media Player <object> tags, and the necessary scripting hokum.

1 comments

Entirely doable, but <object> doesn't expose the same scripting APIs that <video> does. So, for instance, you will get a playable video in YouTube, but none of the YT buttons will work.
The YT buttons could be made to work because there is an analog for them, for example: document.getElementById('video').controls.pause(); does what you would expect.

See: http://msdn.microsoft.com/en-us/library/dd563945(VS.85).aspx