videojs-seek-buttons icon indicating copy to clipboard operation
videojs-seek-buttons copied to clipboard

ES6 Import language file fails

Open edgarsn opened this issue 3 years ago • 0 comments

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

edgarsn avatar Oct 14 '21 08:10 edgarsn