diff --git a/src/dash-adapter.js b/src/dash-adapter.js index 13504ff0..d9255708 100644 --- a/src/dash-adapter.js +++ b/src/dash-adapter.js @@ -1,6 +1,7 @@ // @flow import shaka from 'shaka-player'; import { + Env, AudioTrack, BaseMediaSourceAdapter, Error, @@ -367,10 +368,15 @@ export default class DashAdapter extends BaseMediaSourceAdapter { if (resetVttPolyfill) { window.VTTCue = undefined; } + isSupported = isSupported || DashAdapter._isSupportedBrowser(); DashAdapter._logger.debug('isSupported:' + isSupported); return isSupported; } + static _isSupportedBrowser(): boolean { + return Env.browser.name === 'Safari' && Env.os.name === 'Linux'; + } + /** * @constructor * @param {HTMLVideoElement} videoElement - The video element which bind to the dash adapter