A string representing the text track cue alignment, as follows. If it is start alignment: the string "start". If it is middle alignment: the string "middle". If it is end alignment: the string "end". If it is left alignment: the string "left". If it is right alignment: the string "right". Default is "middle".
Property of apis/audio-video/TextTrackCueapis/audio-video/TextTrackCue
Syntaxvar result = TextTrackCue.align;
TextTrackCue.align = value;
Return Value
Returns an object of type StringString
Examples
var myTrack = document.getElementById("entrack").track;
var myCues = myTrack.cues;
for (var i = 0; i < myCues.length; i++) {
myCues[i].align = "left");
}
Related specifications
Microsoft Developer Network: Windows Internet Explorer API reference Article
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4