videojs-offset icon indicating copy to clipboard operation
videojs-offset copied to clipboard

why palyer.offset is not a function

Open hudi02 opened this issue 3 years ago • 2 comments

my code like: player = videojs(document.getElementById('preview_video'), option, () => {}); const videoEl = that.$el.querySelector('#preview_video video'); player.offset({ start: 1000, end: 3000, restart_beginning: false, }); TypeError: player.offset is not a function?

hudi02 avatar May 27 '21 06:05 hudi02

No reference ‘offset’? require('videojs-offset')

fanlinhao0811 avatar Jun 10 '21 02:06 fanlinhao0811

Use Browserify

ahmedkh19 avatar Oct 06 '22 01:10 ahmedkh19