Remove rougue import
This commit is contained in:
parent
babbcecc9c
commit
689b6feef2
@ -1,5 +1,10 @@
|
|||||||
async function listenForErrors(browser, page) {
|
async function listenForErrors(browser, page) {
|
||||||
const ignoredErrors = ['ERR_ABORTED', 'MEDIA_ERR_SRC_NOT_SUPPORTED', '404'];
|
const ignoredErrors = [
|
||||||
|
'ERR_ABORTED',
|
||||||
|
'MEDIA_ERR_SRC_NOT_SUPPORTED',
|
||||||
|
'404',
|
||||||
|
'JSHandle@error',
|
||||||
|
];
|
||||||
|
|
||||||
// Emitted when the page emits an error event (for example, the page crashes)
|
// Emitted when the page emits an error event (for example, the page crashes)
|
||||||
page.on('error', (error) => {
|
page.on('error', (error) => {
|
||||||
|
@ -4,7 +4,6 @@ import videojs from '/js/web_modules/videojs/dist/video.min.js';
|
|||||||
import { getLocalStorage, setLocalStorage } from '../utils/helpers.js';
|
import { getLocalStorage, setLocalStorage } from '../utils/helpers.js';
|
||||||
import { PLAYER_VOLUME, URL_STREAM } from '../utils/constants.js';
|
import { PLAYER_VOLUME, URL_STREAM } from '../utils/constants.js';
|
||||||
import PlaybackMetrics from '../metrics/playback.js';
|
import PlaybackMetrics from '../metrics/playback.js';
|
||||||
import LatencyCompensator from './latencyCompensator.js';
|
|
||||||
|
|
||||||
const VIDEO_ID = 'video';
|
const VIDEO_ID = 'video';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user