The VTTRegion interface—part of the API for handling WebVTT (text
on media presentations)—describes a portion of the video to render
web.vtt.VTTCue
onto.
The VTTRegion interface—part of the API for handling WebVTT (text on media presentations)—describes a portion of the video to render `web.vtt.VTTCue` onto.
(id this)
Property.
A DOMString that identifies the region.
Property. A DOMString that identifies the region.
(lines this)
Property.
A double representing the height of the region, in number of
Property. A double representing the height of the region, in number of
(region-anchor-x this)
Property.
A double representing the region anchor X offset, as a percentage the region.
Property. A double representing the region anchor X offset, as a percentage the region.
(region-anchor-y this)
Property.
A double representing the region anchor Y offset, as a percentage the region.
Property. A double representing the region anchor Y offset, as a percentage the region.
(scroll this)
Property.
An enum representing how adding new cues will move existing cues.
Property. An enum representing how adding new cues will move existing cues.
(set-id! this val)
Property.
A DOMString that identifies the region.
Property. A DOMString that identifies the region.
(set-lines! this val)
Property.
A double representing the height of the region, in number of
Property. A double representing the height of the region, in number of
(set-region-anchor-x! this val)
Property.
A double representing the region anchor X offset, as a percentage the region.
Property. A double representing the region anchor X offset, as a percentage the region.
(set-region-anchor-y! this val)
Property.
A double representing the region anchor Y offset, as a percentage the region.
Property. A double representing the region anchor Y offset, as a percentage the region.
(set-scroll! this val)
Property.
An enum representing how adding new cues will move existing cues.
Property. An enum representing how adding new cues will move existing cues.
(set-viewport-anchor-x! this val)
Property.
A double representing the viewport anchor X offset, as a percentage the video.
Property. A double representing the viewport anchor X offset, as a percentage the video.
(set-viewport-anchor-y! this val)
Property.
A double representing the viewport anchor Y offset, as a percentage the video.
Property. A double representing the viewport anchor Y offset, as a percentage the video.
(set-width! this val)
Property.
A double representing the width of the region, as a percentage the video.
Property. A double representing the width of the region, as a percentage the video.
(viewport-anchor-x this)
Property.
A double representing the viewport anchor X offset, as a percentage the video.
Property. A double representing the viewport anchor X offset, as a percentage the video.
(viewport-anchor-y this)
Property.
A double representing the viewport anchor Y offset, as a percentage the video.
Property. A double representing the viewport anchor Y offset, as a percentage the video.
(width this)
Property.
A double representing the width of the region, as a percentage the video.
Property. A double representing the width of the region, as a percentage the video.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close