Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/42.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vue.js 未捕获的语法错误:意外标记'<';使用videojs-ffmpegjs插件和多个插件问题_Vue.js_Ffmpeg_Video.js - Fatal编程技术网

Vue.js 未捕获的语法错误:意外标记'<';使用videojs-ffmpegjs插件和多个插件问题

Vue.js 未捕获的语法错误:意外标记'<';使用videojs-ffmpegjs插件和多个插件问题,vue.js,ffmpeg,video.js,Vue.js,Ffmpeg,Video.js,我试图在videojs中使用ffmpegjs插件,但出现了错误 “未捕获的语法错误:意外标记” options: { controls: true, bigPlayButton: false, loop: false, width: 600, height: 340, fluid: false,

我试图在videojs中使用ffmpegjs插件,但出现了错误

“未捕获的语法错误:意外标记”
options: {
                controls: true,
                bigPlayButton: false,
                loop: false,
                width: 600,
                height: 340,
                fluid: false,
                plugins: {
                    wavesurfer: {
                        backend: "WebAudio",
                        waveColor: "#ffffff",
                        backgroundColor: "#000000",
                        barHeight: 3,
                        progressColor: "white",
                        debug: true,
                        cursorWidth: 1,
                        displayMilliseconds: true,
                        hideScrollbar: true,
                        plugins: [
                            // enable microphone plugin
                            WaveSurfer.microphone.create({
                                bufferSize: 4096,
                                numberOfInputChannels: 1,
                                numberOfOutputChannels: 1,
                                constraints: {
                                    video: false,
                                    audio: true
                                }
                            })
                        ]
                    },
                    record: {
                        audio: true,
                        video: false,
                        maxLength: 3600,
                        debug: true,
                        // enable ffmpeg.js plugin
                        convertEngine: "ffmpeg.js",
                        // convert recorded data to MP3
                        convertOptions: ["-f", "mp3", "-codec:a", "libmp3lame", "-qscale:a", "2"],
                        // specify output mime-type
                        pluginLibraryOptions: {
                            outputType: "audio/mpeg"
                        },
                        // use MP4 encoding worker (H.264 & AAC & MP3 encoders)
                        convertWorkerURL: "../../../../node_modules/ffmpeg.js/ffmpeg-worker-mp4.js"
                    }
                }
            }