mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 22:06:17 -08:00
refactor: standardize plugin import naming conventions in esm.html
This commit is contained in:
1 parent
39a1fb1abd
commit
5ce29ac190
1 file changed
+3
-3
+3
-3
@@ -28,8 +28,8 @@
|
||||
<div id="player"></div>
|
||||
<script type="module">
|
||||
import Artplayer from 'artplayer';
|
||||
import ArtplayerPluginDanmuku from 'artplayer-plugin-danmuku';
|
||||
import ArtplayerPluginDocumentPip from 'artplayer-plugin-document-pip';
|
||||
import artplayerPluginDanmuku from 'artplayer-plugin-danmuku';
|
||||
import artplayerPluginDocumentPip from 'artplayer-plugin-document-pip';
|
||||
import id from 'id';
|
||||
|
||||
const art = new Artplayer({
|
||||
@@ -38,7 +38,7 @@
|
||||
i18n: { id },
|
||||
lang: 'id',
|
||||
plugins: [
|
||||
ArtplayerPluginDocumentPip(),
|
||||
artplayerPluginDocumentPip(),
|
||||
artplayerPluginDanmuku({
|
||||
danmuku: '/assets/sample/danmuku.xml',
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user