Message::DOM::TextTrackCueTextTrackCue objectThe Message::DOM::TextTrackCue class implements the DOM TextTrackCue interface.
For WebVTT text track cues, there is a subclass, Message::DOM::WebVTTCue.
The Message::DOM::TextTrackCue object has following methods:
$track = $cue->trackReturn the associated TextTrack object,
if any,
or undef. [HTML]
$line = $cue->manakai_lineGet the line number in the source file,
if available,
or -1. [MANAKAI]
$column = $cue->manakai_columnGet the column number in the source file,
if available,
or -1. [MANAKAI]
$id = $cue->id$cue->id ($new_id)Get or set the identifier of the cue. [HTML]
$seconds = $cue->start_time$cue->start_time ($new_seconds)Get or set the start time of the cue. [HTML]
$seconds = $cue->end_time$cue->end_time ($seconds)Get or set the end time of the cue. [HTML]
$bool = $cue->pause_on_exit$cue->pause_on_exit ($new_bool)Get or set the pause-on-exit flag of the cue. [HTML]
$cue2 = $cue->manakai_clone_cueCreate a clone of the cue.
All attributes except for track is copied to the clone. [MANAKAI]
[HTML] HTML Standard <http://www.whatwg.org/specs/web-apps/current-work/#texttrackcue>.
[MANAKAI] manakai DOM Extensions <https://suika.suikawiki.org/~wakaba/wiki/sw/n/manakai%20DOM%20Extensions#anchor-56>.
[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.