GoogleWebComponents/google-youtube — pull request #17 by jeffposnick (2014-10-06 01:18:52+00:00)
Title: Added the playsupported attribute

@ebidel @addyosmani & co.:

There’s some logic to determine if we’re on a platform that supports programmatic playback, and reflect that in the attribute.

It's very hacky, but as far as I can tell, it does work, though false negatives are a possibility if the timing of the autoplayback gets thrown off by something.

This closes #15 and closes #16.