From e903c2f3b7a3e63e58d9ef5934bcfd8f186b021a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 25 Nov 2016 15:36:33 +0100 Subject: Fix videojs vtt --- client/config/webpack.common.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client') diff --git a/client/config/webpack.common.js b/client/config/webpack.common.js index 8384ef8dd..7631af6b9 100644 --- a/client/config/webpack.common.js +++ b/client/config/webpack.common.js @@ -67,7 +67,11 @@ module.exports = function (options) { */ extensions: [ '.ts', '.js', '.json', '.scss' ], - modules: [helpers.root('src'), 'node_modules'] + modules: [helpers.root('src'), 'node_modules'], + + alias: { + 'video.js': 'video.js/dist/alt/video.novtt' + } }, /* -- cgit v1.2.3