fix lint errors
This commit is contained in:
parent
c214209747
commit
bc514b1d5c
2 changed files with 4 additions and 4 deletions
|
@ -48,7 +48,7 @@ const SyncFatalError = lazyImport(() => import('component/syncFatalError' /* web
|
||||||
export const MAIN_WRAPPER_CLASS = 'main-wrapper';
|
export const MAIN_WRAPPER_CLASS = 'main-wrapper';
|
||||||
export const IS_MAC = navigator.userAgent.indexOf('Mac OS X') !== -1;
|
export const IS_MAC = navigator.userAgent.indexOf('Mac OS X') !== -1;
|
||||||
|
|
||||||
const imaLibraryPath = 'https://imasdk.googleapis.com/js/sdkloader/ima3.js';
|
// const imaLibraryPath = 'https://imasdk.googleapis.com/js/sdkloader/ima3.js';
|
||||||
const oneTrustScriptSrc = 'https://cdn.cookielaw.org/scripttemplates/otSDKStub.js';
|
const oneTrustScriptSrc = 'https://cdn.cookielaw.org/scripttemplates/otSDKStub.js';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
|
|
@ -20,7 +20,7 @@ import playerjs from 'player.js';
|
||||||
import qualityLevels from 'videojs-contrib-quality-levels';
|
import qualityLevels from 'videojs-contrib-quality-levels';
|
||||||
import React, { useEffect, useRef, useState } from 'react';
|
import React, { useEffect, useRef, useState } from 'react';
|
||||||
import recsys from './plugins/videojs-recsys/plugin';
|
import recsys from './plugins/videojs-recsys/plugin';
|
||||||
import runAds from './ads';
|
// import runAds from './ads';
|
||||||
import videojs from 'video.js';
|
import videojs from 'video.js';
|
||||||
|
|
||||||
require('@silvermine/videojs-chromecast')(videojs);
|
require('@silvermine/videojs-chromecast')(videojs);
|
||||||
|
@ -121,14 +121,14 @@ properties for this component should be kept to ONLY those that if changed shoul
|
||||||
export default React.memo<Props>(function VideoJs(props: Props) {
|
export default React.memo<Props>(function VideoJs(props: Props) {
|
||||||
const {
|
const {
|
||||||
// adUrl, // TODO: this ad functionality isn't used, can be pulled out
|
// adUrl, // TODO: this ad functionality isn't used, can be pulled out
|
||||||
allowPreRoll,
|
// allowPreRoll,
|
||||||
autoplay,
|
autoplay,
|
||||||
autoplaySetting,
|
autoplaySetting,
|
||||||
claimId,
|
claimId,
|
||||||
title,
|
title,
|
||||||
channelName,
|
channelName,
|
||||||
embedded,
|
embedded,
|
||||||
internalFeatureEnabled, // for people on the team to test new features internally
|
// internalFeatureEnabled, // for people on the team to test new features internally
|
||||||
isAudio,
|
isAudio,
|
||||||
poster,
|
poster,
|
||||||
replay,
|
replay,
|
||||||
|
|
Loading…
Reference in a new issue