HTML::Object::DOM::MediaTrack - HTML Object
use HTML::Object::DOM::MediaTrack; my $this = HTML::Object::DOM::MediaTrack->new || die( HTML::Object::DOM::MediaTrack->error, "\n" );
v0.2.0
This is a shared interface for HTML::Object::DOM::AudioTrack and HTML::Object::DOM::VideoTrack
+-----------------------+ +---------------------------+ +-------------------------------+ | HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::MediaTrack | +-----------------------+ +---------------------------+ +-------------------------------+
A string which uniquely identifies the track within the media. This ID can be used to locate a specific track within an audio track list by calling AudioTrackList.getTrackById(). The ID can also be used as the fragment part of the URL if the media supports seeking by media fragment per the Media Fragments URI specification.
AudioTrackList
See also Mozilla documentation for audio id and See also Mozilla documentation for video id
A string specifying the category into which the track falls. For example, the main audio track would have a kind of "main".
See also Mozilla documentation for audio kind and Mozilla documentation for video kind
A string providing a human-readable label for the track. For example, an audio commentary track for a movie might have a label of "Commentary with director John Q. Public and actors John Doe and Jane Eod." This string is empty if no label is provided.
See also Mozilla documentation for audio label and Mozilla documentation for vide label
A string specifying the audio track's primary language, or an empty string if unknown. The language is specified as a BCP 47 (RFC 5646) language code, such as "en-US" or "pt-BR".
See also Mozilla documentation for audio language and Mozilla documentation for video language
Jacques Deguest <jack@deguest.jp>
HTML::Object::DOM::AudioTrack, HTML::Object::DOM::VideoTrack
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.
To install HTML::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Object
CPAN shell
perl -MCPAN -e shell install HTML::Object
For more information on module installation, please visit the detailed CPAN module installation guide.