From bc514b1d5c094ef8c6ccda38d64f417d5d6e246a Mon Sep 17 00:00:00 2001 From: Anthony Date: Wed, 15 Dec 2021 19:59:02 +0100 Subject: [PATCH] fix lint errors --- ui/component/app/view.jsx | 2 +- ui/component/viewers/videoViewer/internal/videojs.jsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/component/app/view.jsx b/ui/component/app/view.jsx index f66d9d357..b43cadb1b 100644 --- a/ui/component/app/view.jsx +++ b/ui/component/app/view.jsx @@ -48,7 +48,7 @@ const SyncFatalError = lazyImport(() => import('component/syncFatalError' /* web export const MAIN_WRAPPER_CLASS = 'main-wrapper'; 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'; type Props = { diff --git a/ui/component/viewers/videoViewer/internal/videojs.jsx b/ui/component/viewers/videoViewer/internal/videojs.jsx index 474f1aa92..ca4c20660 100644 --- a/ui/component/viewers/videoViewer/internal/videojs.jsx +++ b/ui/component/viewers/videoViewer/internal/videojs.jsx @@ -20,7 +20,7 @@ import playerjs from 'player.js'; import qualityLevels from 'videojs-contrib-quality-levels'; import React, { useEffect, useRef, useState } from 'react'; import recsys from './plugins/videojs-recsys/plugin'; -import runAds from './ads'; +// import runAds from './ads'; import videojs from 'video.js'; 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(function VideoJs(props: Props) { const { // adUrl, // TODO: this ad functionality isn't used, can be pulled out - allowPreRoll, + // allowPreRoll, autoplay, autoplaySetting, claimId, title, channelName, embedded, - internalFeatureEnabled, // for people on the team to test new features internally + // internalFeatureEnabled, // for people on the team to test new features internally isAudio, poster, replay,