videojs-seek-buttons
videojs-seek-buttons copied to clipboard
ES6 Import language file fails
Trying to import language file like
import videojs from 'video.js';
import 'videojs-seek-buttons';
import 'videojs-seek-buttons/dist/lang/lv';
results in ReferenceError: videojs is not defined
.
I don't know, any way how to get it working in ES6?
In video.js I managed to get it working by including JSON locale files which are available in build.
https://github.com/videojs/video.js/issues/5092