Merge pull request #3635 from dmitrylyzo/fix-ssa-font
Fix SSA/ASS missing font (cherry picked from commit 38ef0e2bf2cc47d326314d56b0e74f210fec82dc) Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua Boniface
parent
34b2018610
commit
069bb6d0ae
@@ -1049,7 +1049,7 @@ function tryRemoveElement(elem) {
|
||||
* @private
|
||||
*/
|
||||
renderSsaAss(videoElement, track, item) {
|
||||
const supportedFonts = ['application/x-truetype-font', 'font/otf', 'font/ttf', 'font/woff', 'font/woff2'];
|
||||
const supportedFonts = ['application/vnd.ms-opentype', 'application/x-truetype-font', 'font/otf', 'font/ttf', 'font/woff', 'font/woff2'];
|
||||
const avaliableFonts = [];
|
||||
const attachments = this._currentPlayOptions.mediaSource.MediaAttachments || [];
|
||||
const apiClient = ServerConnections.getApiClient(item);
|
||||
|
||||
Reference in New Issue
Block a user