minor changes

This commit is contained in:
nyanmisaka 2020-07-31 00:35:23 +08:00
parent bd2fdf4c70
commit b232117ff5

View file

@ -1035,7 +1035,7 @@ function tryRemoveElement(elem) {
* @private
*/
renderSsaAss(videoElement, track, item) {
const avaliableFonts = new Array();
const avaliableFonts = [];
const attachments = this._currentPlayOptions.mediaSource.MediaAttachments || [];
attachments.map(function (i) {
// embedded font url