Update artplayer plugin versions

This commit is contained in:
Harvey Zack committed 2023-11-26 14:05:09 +08:00
1 parent b235f9bbac
commit d8720d3bcf
14 files changed
+366 -257

No files matched your search

@@ -271,10 +271,6 @@ export default function artplayerPluginAds(option) {
};
}
artplayerPluginAds.env = process.env.NODE_ENV;
artplayerPluginAds.version = process.env.APP_VER;
artplayerPluginAds.build = process.env.BUILD_DATE;
if (typeof document !== 'undefined') {
if (!document.getElementById('artplayer-plugin-ads')) {
const $style = document.createElement('style');
@@ -42,10 +42,6 @@ export default function artplayerPluginDanmuku(option) {
};
}
artplayerPluginDanmuku.env = process.env.NODE_ENV;
artplayerPluginDanmuku.version = process.env.APP_VER;
artplayerPluginDanmuku.build = process.env.BUILD_DATE;
if (typeof window !== 'undefined') {
window['artplayerPluginDanmuku'] = artplayerPluginDanmuku;
}
@@ -99,10 +99,6 @@ export default function artplayerPluginDashQuality(option) {
};
}
artplayerPluginDashQuality.env = process.env.NODE_ENV;
artplayerPluginDashQuality.version = process.env.APP_VER;
artplayerPluginDashQuality.build = process.env.BUILD_DATE;
if (typeof window !== 'undefined') {
window['artplayerPluginDashQuality'] = artplayerPluginDashQuality;
}
@@ -83,10 +83,6 @@ export default function artplayerPluginHlsQuality(option) {
};
}
artplayerPluginHlsQuality.env = process.env.NODE_ENV;
artplayerPluginHlsQuality.version = process.env.APP_VER;
artplayerPluginHlsQuality.build = process.env.BUILD_DATE;
if (typeof window !== 'undefined') {
window['artplayerPluginHlsQuality'] = artplayerPluginHlsQuality;
}
@@ -102,10 +102,6 @@ export default function artplayerPluginMultipleSubtitles({ subtitles = [] }) {
};
}
artplayerPluginMultipleSubtitles.env = process.env.NODE_ENV;
artplayerPluginMultipleSubtitles.version = process.env.APP_VER;
artplayerPluginMultipleSubtitles.build = process.env.BUILD_DATE;
if (typeof window !== 'undefined') {
window['artplayerPluginMultipleSubtitles'] = artplayerPluginMultipleSubtitles;
}
@@ -64,10 +64,6 @@ export default function artplayerPluginVttThumbnail(option) {
};
}
artplayerPluginVttThumbnail.env = process.env.NODE_ENV;
artplayerPluginVttThumbnail.version = process.env.APP_VER;
artplayerPluginVttThumbnail.build = process.env.BUILD_DATE;
if (typeof window !== 'undefined') {
window['artplayerPluginVttThumbnail'] = artplayerPluginVttThumbnail;
}