From: Chocobozzz Date: Fri, 25 Nov 2016 14:36:33 +0000 (+0100) Subject: Fix videojs vtt X-Git-Tag: v0.0.1-alpha~592 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e903c2f3b7a3e63e58d9ef5934bcfd8f186b021a;p=oweals%2Fpeertube.git Fix videojs vtt --- 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' + } }, /*