The PictureInPictureTrigger
component toggles the picture-in-picture mode.
matcher
patterndata-livepeer-controls-picture-in-picture-trigger
data-picture-in-picture
"true"
when the feature is
active and "false"
otherwise.
data-visible
"true"
meaning it’s
currently visible (i.e., picture-in-picture is supported and the media is not in
fullscreen mode) and "false"
denoting it’s not visible.
This is often used for dynamically applying enter/exit CSS animations.