Closed Guite closed 4 years ago
You could access it via player.tech().ytPlayer
, I think. Though, any particular reason? Anything that you need that this plugin doesn't provide? Should the plugin provide it? We do try to recommend against touching stuff on the tech.
Not sure yet. I am implementing a system for uploading videos from a website into a YouTube channel, mark them as private, persist the YouTube ID and embed them on the website again later. Probably there is no special integration required through video.js. Will have the proof of concept ready in a few days and report back.
Closing as unneeded. Thanks.
I think when video.js is used for YT videos then it is not recommended to use the YT API directly (method
onYouTubeIframeAPIReady
), right? Is there any example available for how to interact with the YouTube player correctly? Is it somehow possible to accessthis.ytPlayer
from the player? Or what is the preferred way to go?