Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Client: avoid loading javascript ressource over the network

Chocobozzz240c64c5f427
diff --git a/client/config/webpack.common.js b/client/config/webpack.common.js
index 35ea8ed284..80d77b400d 100644
--- a/client/config/webpack.common.js
+++ b/client/config/webpack.common.js
@@ -72,11 +72,7 @@ module.exports = function (options) {
*/
extensions: [ '.ts', '.js', '.json', '.scss' ],
- modules: [ helpers.root('src'), helpers.root('node_modules') ],
-
- alias: {
- 'video.js': 'video.js/dist/alt/video.novtt'
- }
+ modules: [ helpers.root('src'), helpers.root('node_modules') ]
},
/*
@@ -223,22 +219,6 @@ module.exports = function (options) {
from: 'node_modules/webtorrent/webtorrent.min.js',
to: 'assets/webtorrent'
},
- {
- from: 'node_modules/video.js/dist/video.min.js',
- to: 'assets/video-js'
- },
- {
- from: 'node_modules/video.js/dist/video-js.min.css',
- to: 'assets/video-js'
- },
- {
- from: 'node_modules/videojs-dock/dist/videojs-dock.min.js',
- to: 'assets/video-js'
- },
- {
- from: 'node_modules/videojs-dock/dist/videojs-dock.css',
- to: 'assets/video-js'
- },
{
from: 'src/standalone',
to: 'standalone'
diff --git a/client/package.json b/client/package.json
index 3e68007de5..84cb8e13ab 100644
--- a/client/package.json
+++ b/client/package.json
@@ -78,7 +78,7 @@
"tslint-loader": "^3.3.0",
"typescript": "~2.2.0",
"url-loader": "^0.5.7",
- "video.js": "^5.11.9",
+ "video.js": "^5.19.2",
"videojs-dock": "^2.0.2",
"webpack": "^2.2.0",
"webpack-md5-hash": "0.0.5",