mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 01:21:20 -08:00
add index.esm.html
This commit is contained in:
1 parent
a64e13c9c1
commit
2a7e3d5e03
194 files changed
+11632
-371
No files matched your search
@@ -1,6 +1,6 @@
|
||||
export default function version(option) {
|
||||
return {
|
||||
...option,
|
||||
html: `<a href="https://artplayer.org" target="_blank">ArtPlayer ${process.env.APP_VER}</a>`,
|
||||
html: `<a href="https://artplayer.org" target="_blank">ArtPlayer ${'__APP_VERSION__'}</a>`,
|
||||
};
|
||||
}
|
||||
@@ -82,15 +82,11 @@ export default class Artplayer extends Emitter {
|
||||
}
|
||||
|
||||
static get version() {
|
||||
return process.env.APP_VER;
|
||||
return '"5.2.3"';
|
||||
}
|
||||
|
||||
static get env() {
|
||||
return process.env.NODE_ENV;
|
||||
}
|
||||
|
||||
static get build() {
|
||||
return process.env.BUILD_DATE;
|
||||
return '"development"';
|
||||
}
|
||||
|
||||
static get config() {
|
||||
|
||||
@@ -57,7 +57,7 @@ export default class Template {
|
||||
<div class="art-info-panel">
|
||||
<div class="art-info-item">
|
||||
<div class="art-info-title">Player version:</div>
|
||||
<div class="art-info-content">${process.env.APP_VER}</div>
|
||||
<div class="art-info-content">${'__APP_VERSION__'}</div>
|
||||
</div>
|
||||
<div class="art-info-item">
|
||||
<div class="art-info-title">Video url:</div>
|
||||
|
||||
Reference in new issue
Block a user