@@ -3,8 +3,8 @@
// see http://vuejs-templates.github.io/webpack for documentation.
//
// const TARGET = "http://study.ndjsxh.cn:8888/"
-// const TARGET = "http://localhost:8000/"
-const TARGET = "http://sm.hqedust.com:8889/"
+const TARGET = "http://localhost:8000/"
+// const TARGET = "http://sm.hqedust.com:8889/"
const path = require('path')
module.exports = {
@@ -362,7 +362,6 @@
httpServer('course.GetMedia', {id:item.id}).then( ({data, code}) => {
item.url = data
this.options.sources = [{src:item.url}];
- this.options.playbackRate = 2;
this.options.playtimes = item.position;
this.mediaDialog = true;
});
@@ -14,6 +14,8 @@ Vue.prototype.$md5 = md5;
import '@babel/polyfill'
require('es6-promise').polyfill()
+const hls = require('videojs-contrib-hls')
+Vue.use(hls)
Vue.config.productionTip = false