Closed dan-niles closed 4 months ago
Hi @dan-niles, Which version are you using?
Have you tried with the Videojs-Ogvjs.amd.js
or Videojs-Ogvjs.es.js
?
I have fixed it with:
const OGVCompat = ogv.OGVCompat;
const OGVLoader = ogv.OGVLoader;
const OGVPlayer = ogv.OGVPlayer;
Hi @HuongNV13, I tried using Videojs-Ogvjs.es.js
as you suggested and it worked!
I had to do a minor change where I replaced this code
const OGVCompat = ogv.OGVCompat;
const OGVLoader = ogv.OGVLoader;
const OGVPlayer = ogv.OGVPlayer;
with...
import { OGVCompat, OGVLoader, OGVPlayer } from 'ogv'
And now everything works fine. Thanks alot for your help!
No worries, @dan-niles I'm going to close this issue. Feel free to raise a new one if you have any questions.
Hi, I'm trying to use this plugin in Vue.js app built with Vite. I'm getting the following error:
By any chance, do you know how to solve this?
The code: