The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HTML::Object::DOM::VTTRegion - HTML Object DOM VTTRegion Class

SYNOPSIS

    use HTML::Object::DOM::VTTRegion;
    my $region = HTML::Object::DOM::VTTRegion->new || 
        die( HTML::Object::DOM::VTTRegion->error, "\n" );

VERSION

    v0.2.0

DESCRIPTION

The VTTRegion interface—part of the API for handling WebVTT (text tracks on media presentations)—describes a portion of the video to render a HTML::Object::DOM::VTTCue onto.

PROPERTIES

id

Sets or gets a string that identifies the region, as a scalar object.

See also Mozilla documentation

lines

Sets or gets a double representing the height of the region, in number of lines.

See also Mozilla documentation

regionAnchorX

Sets or gets a double representing the region anchor X offset, as a percentage of the region.

See also Mozilla documentation

regionAnchorY

Sets or gets a double representing the region anchor Y offset, as a percentage of the region.

See also Mozilla documentation

scroll

Sets or gets an enum representing how adding new cues will move existing cues, as a scalar object.

See also Mozilla documentation

viewportAnchorX

Sets or gets a double representing the viewport anchor X offset, as a percentage of the video.

See also Mozilla documentation

viewportAnchorY

Sets or gets a double representing the viewport anchor Y offset, as a percentage of the video.

See also Mozilla documentation

width

Sets or gets a double representing the width of the region, as a percentage of the video.

See also Mozilla documentation

METHODS

There are no method.

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

Mozilla documentation

COPYRIGHT & LICENSE

Copyright(c) 2021 DEGUEST Pte. Ltd.

All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.