fix the problem of FLV video format playing error

pull/59/head
guqing 2019-11-19 22:00:46 +08:00
parent e3000b431e
commit 858acc65c6
3 changed files with 659 additions and 634 deletions

1288
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -46,6 +46,7 @@
"eslint": "^5.16.0",
"eslint-plugin-html": "^5.0.5",
"eslint-plugin-vue": "^5.2.3",
"flv.js": "^1.5.0",
"generate-asset-webpack-plugin": "^0.3.0",
"less": "^3.10.0",
"less-loader": "^5.0.0",

View File

@ -163,8 +163,10 @@
import { mixin, mixinDevice } from '@/utils/mixin.js'
import attachmentApi from '@/api/attachment'
import photoApi from '@/api/photo'
import VueDPlayer from 'vue-dplayer'
import 'vue-dplayer/dist/vue-dplayer.css'
import VueDPlayer from 'vue-dplayer'
import flvjs from 'flv.js'
window.flvjs = flvjs
export default {
name: 'AttachmentDetailDrawer',