mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-09 03:46:16 -08:00
5 lines
186 B
TypeScript
5 lines
186 B
TypeScript
import Artplayer from 'artplayer'
|
|
import french from 'artplayer/i18n/fr'
|
|
const art = new Artplayer({ container: '#player', url: 'video.mp4', lang: 'fr', i18n: { fr: french } })
|
|
void art
|