Message::DOM::WebVTTCueWebVTTCue objectThe Message::DOM::WebVTTCue class implements the DOM WebVTTCue interface.
The Message::DOM::WebVTTCue object has following methods,
in addition to the methods in the Message::DOM::TextTrackCue:
$value = $cue->vertical$cue->vertical ($new_value)Get or set the writing direction of the cue. [WEBVTT]
$bool = $cue->snap_to_lines$cue->snap_to_lines ($new_bool)Get or set the snap-to-lines flag of the cue. [WEBVTT]
$int = $cue->line$cue->line ($new_int)Get the computed line position, or set the line position, of the cue. [WEBVTT]
$int = $cue->size$cue->size ($new_int)Get or set the text position of the cue. [WEBVTT]
$value = $cue->align$cue->align ($new_value)Get or set the alignment of the cue. [WEBVTT]
$text = $cue->text$cue->text ($new_text)Get or set the text of the cue, in raw unparsed format. [WEBVTT]
$cue->get_cue_as_htmlXXX Not implemented yet.
[HTML] HTML Standard <http://www.whatwg.org/specs/web-apps/current-work/#texttrackcue>.
[WEBVTT] WebVTT Standard <http://dev.w3.org/html5/webvtt/>.
Wakaba <wakaba@suikawiki.org>.
Copyright 2012-2013 Wakaba <wakaba@suikawiki.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.