mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 02:01:20 -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>
|
<div id="player"></div>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import Artplayer from 'artplayer';
|
import Artplayer from 'artplayer';
|
||||||
import ArtplayerPluginDanmuku from 'artplayer-plugin-danmuku';
|
import artplayerPluginDanmuku from 'artplayer-plugin-danmuku';
|
||||||
import ArtplayerPluginDocumentPip from 'artplayer-plugin-document-pip';
|
import artplayerPluginDocumentPip from 'artplayer-plugin-document-pip';
|
||||||
import id from 'id';
|
import id from 'id';
|
||||||
|
|
||||||
const art = new Artplayer({
|
const art = new Artplayer({
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
i18n: { id },
|
i18n: { id },
|
||||||
lang: 'id',
|
lang: 'id',
|
||||||
plugins: [
|
plugins: [
|
||||||
ArtplayerPluginDocumentPip(),
|
artplayerPluginDocumentPip(),
|
||||||
artplayerPluginDanmuku({
|
artplayerPluginDanmuku({
|
||||||
danmuku: '/assets/sample/danmuku.xml',
|
danmuku: '/assets/sample/danmuku.xml',
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user