From 9442c1d35ea61101b13892786353822e032630d0 Mon Sep 17 00:00:00 2001 From: lastpeony Date: Tue, 14 May 2024 12:10:01 +0300 Subject: [PATCH] videojs updated --- package.json | 13 ++++++++----- rollup.config.module.cjs | 2 ++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3e7bc1d..c082b85 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@antmedia/web_player", - "version": "2.9.0-SNAPSHOT", + "version": "2.9.0-ALPHA", "description": "Ant Media Server Player that can play WebRTC, HLS, DASH", "main": "dist/index.js", "module": "dist/es/index.js", @@ -31,12 +31,14 @@ "dependencies": { "@antmedia/videojs-webrtc-plugin": "^1.2.1", "@antmedia/webrtc_adaptor": "2.9.0", + "@types/video.js": "^7.3.58", + "@types/videojs-contrib-quality-levels": "^2.0.4", "aframe": "1.5.0", "dashjs": "^4.7.4", "rimraf": "^5.0.5", - "video.js": "^7.18.0", - "videojs-contrib-quality-levels": "^2.2.1", - "videojs-hls-quality-selector": "^1.1.4" + "video.js": "^8.12.0", + "videojs-contrib-quality-levels": "^4.1.0", + "videojs-hls-quality-selector": "2.0.0" }, "devDependencies": { "@babel/core": "^7.21.5", @@ -44,6 +46,7 @@ "@microsoft/api-extractor": "^7.36.1", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.7", + "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", "chai": "^4.3.7", @@ -63,6 +66,6 @@ "rollup-plugin-import-css": "^3.4.0", "rollup-plugin-replace": "^2.2.0", "sinon": "^15.0.4", - "typescript": "^5.1.3" + "typescript": "^5.3.3" } } diff --git a/rollup.config.module.cjs b/rollup.config.module.cjs index 726dfb3..b4b5e5a 100644 --- a/rollup.config.module.cjs +++ b/rollup.config.module.cjs @@ -5,6 +5,7 @@ const commonjs = require('@rollup/plugin-commonjs').default; const css = require("rollup-plugin-import-css"); const replace = require('rollup-plugin-replace'); const terser = require('@rollup/plugin-terser'); +const json = require('@rollup/plugin-json') const builds = { input: [ @@ -25,6 +26,7 @@ const builds = { nodeResolve(), commonjs(), css(), + json(), replace({ ENV: JSON.stringify(process.env.NODE_ENV || 'development'), }),