Skip to content

ES module import? #8926

Answered by Thexasan
fpolli asked this question in Q&A
Nov 22, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

To use Video.js in your project with ES modules, you can use the following import statement:

import videojs from 'video.js';

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fpolli
Comment options

Answer selected by fpolli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants