Add support for multiple audio tracks

This commit is contained in:
hicom150
2019-09-25 22:17:02 +02:00
committed by Borewit
parent b9bcf747de
commit 0d27223f16
7 changed files with 106 additions and 5 deletions

View File

@@ -105,6 +105,11 @@ function getDefaultPlayState () {
selectedIndex: -1, /* current subtitle track */
showMenu: false /* popover menu, above the video */
},
audioTracks: {
tracks: [],
selectedIndex: 0, /* current audio track */
showMenu: false /* popover menu, above the video */
},
aspectRatio: 0 /* aspect ratio of the video */
}
}