Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/ovenplayer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ovenplayer.js.map

Large diffs are not rendered by default.

66 changes: 50 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@types/google_interactive_media_ads_types": "^3.697.1",
"babel-loader": "^8.2.2",
"core-js": "^3.16.3",
"css-loader": "^6.2.0",
"less": "^4.1.1",
"less-loader": "^10.0.1",
"media-captions": "^0.0.18",
"raw-loader": "^4.0.2",
"style-loader": "^3.2.1",
"underscore": "^1.13.7",
"webpack": "^5.51.1",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "^4.8.0",
"webpack-merge": "^5.8.0",
"raw-loader": "^4.0.2"
},
"dependencies": {
"core-js": "^3.16.3",
"whatwg-fetch": "^3.6.2"
"webpack-merge": "^5.8.0"
}
}
}
2 changes: 1 addition & 1 deletion src/js/api/Configurator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import _ from "utils/underscore";
import _ from "underscore";
import deepMerge from "utils/deepMerge";

import {
Expand Down
2 changes: 1 addition & 1 deletion src/js/api/ads/vast/Ad.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,4 +234,4 @@ const Ad = function(elVideo, provider, playerConfig, adTagUrl){
return that;
};

export default Ad;
export default Ad;
2 changes: 1 addition & 1 deletion src/js/api/caption/Loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import SrtParser from "api/caption/parser/SrtParser";
import WebVTT from 'api/caption/parser/VttParser'
import VTTCue from 'utils/captions/vttCue'
import {VTTCue} from 'media-captions'
import SmiParser from 'api/caption/parser/SmiParser'

const Loader = function () {
Expand Down
2 changes: 1 addition & 1 deletion src/js/api/caption/Manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import CaptionLoader from 'api/caption/Loader';
import {READY, ERRORS, ERROR, PLAYER_CAPTION_ERROR, CONTENT_META, CONTENT_TIME, CONTENT_CAPTION_CUE_CHANGED, CONTENT_CAPTION_CHANGED} from "api/constants";
import _ from "utils/underscore";
import _ from "underscore";

const isSupport = function(kind){
return kind === 'subtitles' || kind === 'captions';
Expand Down
5 changes: 2 additions & 3 deletions src/js/api/caption/parser/VttParser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* vtt.js - v0.12.1 (https://github.com/mozilla/vtt.js) built on 03-12-2015 */
import VTTCue from 'utils/captions/vttCue';
import VTTRegion from 'utils/captions/vttRegion';
import {VTTCue, VTTRegion} from 'media-captions';

/**
* Copyright 2013 vtt.js Contributors
Expand Down Expand Up @@ -1539,4 +1538,4 @@ WebVTT.Parser.prototype = {



export default WebVTT;
export default WebVTT;
2 changes: 1 addition & 1 deletion src/js/api/playlist/Manager.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import _ from "utils/underscore";
import _ from "underscore";
import {isRtmp, isWebRTC, isDash, isHls } from "utils/validator";
import {extractExtension ,trim} from "../../utils/strings";
import SupportChecker from "../SupportChecker";
Expand Down
2 changes: 1 addition & 1 deletion src/js/api/provider/html5/providers/Dash.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
DASH_PREPARED,
DASH_DESTROYED
} from "api/constants";
import _ from "utils/underscore";
import _ from "underscore";
import {STATE_LOADING} from "../../../constants";

/**
Expand Down
2 changes: 1 addition & 1 deletion src/js/api/provider/html5/providers/WebRTCLoader.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import _ from "utils/underscore";
import _ from "underscore";
import { analUserAgent } from "utils/browser";
import {
ERRORS,
Expand Down
4 changes: 2 additions & 2 deletions src/js/api/provider/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Created by hoho on 2018. 11. 12..
*/
import { ERROR, STATE_ERROR } from "api/constants";
import _ from "utils/underscore";
import _ from "underscore";

export const extractVideoElement = function (elementOrMse) {
if (_.isElement(elementOrMse)) {
Expand Down Expand Up @@ -66,4 +66,4 @@ export function getSeekableStartEnd(mediaElement) {
start: start,
end: end
};
}
}
2 changes: 1 addition & 1 deletion src/js/ovenplayer.sdk.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import API from 'api/Api';
import {isWebRTC, checkAndGetContainerElement} from 'utils/validator';
import _ from "utils/underscore";
import _ from "underscore";

/**
* Main OvenPlayerSDK object
Expand Down
Loading