diff --git a/lib/assets/javascripts/new-dashboard/main.js b/lib/assets/javascripts/new-dashboard/main.js index 10cbfb8..39f6902 100644 --- a/lib/assets/javascripts/new-dashboard/main.js +++ b/lib/assets/javascripts/new-dashboard/main.js @@ -22,6 +22,7 @@ import 'video.js/dist/lang/zh-CN'; import 'videojs-contrib-hls'; +Vue.prototype.$videojs = videojs; Vue.config.productionTip = false;