-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a js-api
attribute to opt-in to the YouTube Iframe Player API
#164
Conversation
… deeper control over the video playback
This comment was marked as off-topic.
This comment was marked as off-topic.
js-api
to unlock usage of the YouTube Iframe Player APIjs-api
attribute to unlock usage of the YouTube Iframe Player API
js-api
attribute to unlock usage of the YouTube Iframe Player APIjs-api
attribute to opt-in to the YouTube Iframe Player API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
she's a beauty! i have no nits, even.
thank you much @zachleat :D
Danke! |
Demo errors with
|
@Stanzilla looks like it was post-merge refactored as @paulirish don’t forget to change README.md and variants/js-api.html too! |
(also, yay! thanks!) |
Yup yup. Thanks! missed these. 😊 Edit: all fixed and shipped a 0.3.2 just to make sure readme docs are good on npm. |
Allows using the
getPlayer
asynchronous method to access theplayer
instance to control the video.https://developers.google.com/youtube/iframe_api_reference#seekTo
Added an additional test/demo that shows usage examples.
Inspired by work on this stream: https://www.youtube.com/watch?v=MrVMewBq0jE