YoutubePlayer Op
play a youtube video in a HTML element
Summary (oneliner)
create an html element that contains a youtube player
see Ops.Html.ModalOverlay for a good overlay example
Full Name
- Ops.Html.Utils.YoutubePlayer
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch youtube player example
INPUT PORTS
Video Id (String)
Active (Number: boolean)
Style (String)
ElementID (String)
Youtube Options
Autoplay (Number: boolean)
Display Captions (Number: boolean)
Loop (Number: boolean)
Allow Fullscreen (Number: boolean)
Hide Controls (Number: boolean)
Start at Second (Number: integer)
OUTPUT PORTS
Element (Object)
Direct Link (String)