Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: