Skip to content

Commit 880d891

Browse files
authored
Merge pull request surmon-china#51 from zerozh/master
avoid error "VIDEOJS: ERROR: Unable to find plugin: __ob__"
2 parents ba8bd35 + 4943f97 commit 880d891

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

player.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@
6161
}
6262
},
6363
techOrder: ['html5', 'flash'],
64-
playbackRates: []
64+
playbackRates: [],
65+
plugins:{}
6566
}, this.options)
6667
6768
// check sources
@@ -98,6 +99,8 @@
9899
// videoOptions
99100
// console.log(videoOptions)
100101
102+
// avoid error "VIDEOJS: ERROR: Unable to find plugin: __ob__"
103+
delete videoOptions.plugins.__ob__;
101104
this.player = videojs(this.$el.children[0], videoOptions, function() {
102105
103106
// player readied

0 commit comments

Comments
 (0)