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:
parent
34b2018610
commit
069bb6d0ae
1 changed files with 1 additions and 1 deletions
|
@ -1049,7 +1049,7 @@ function tryRemoveElement(elem) {
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
renderSsaAss(videoElement, track, item) {
|
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 avaliableFonts = [];
|
||||||
const attachments = this._currentPlayOptions.mediaSource.MediaAttachments || [];
|
const attachments = this._currentPlayOptions.mediaSource.MediaAttachments || [];
|
||||||
const apiClient = ServerConnections.getApiClient(item);
|
const apiClient = ServerConnections.getApiClient(item);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue