Skip to content

Commit

Permalink
revert: Player Compatible with Metrological Platform / Horizon4 Platf…
Browse files Browse the repository at this point in the history
…orm? (#181)
  • Loading branch information
yairans committed Feb 7, 2022
1 parent aec16a4 commit b096308
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/dash-adapter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @flow
import shaka from 'shaka-player';
import {
Env,
AudioTrack,
BaseMediaSourceAdapter,
Error,
Expand Down Expand Up @@ -368,15 +367,10 @@ 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
Expand Down

0 comments on commit b096308

Please sign in to comment.