mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 01:21:20 -08:00
修复配置全局变量bug
This commit is contained in:
1 parent
b74eabc73b
commit
3de25525c4
44 files changed
+2477
-672
No files matched your search
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "artplayer-plugin-backlight",
|
||||
"version": "3.1.7",
|
||||
"expose": "artplayerPluginBacklight",
|
||||
"description": "Backlight plugin for ArtPlayer",
|
||||
"main": "dist/artplayer-plugin-backlight.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -112,5 +112,4 @@ function artplayerPluginBacklight(art) {
|
||||
};
|
||||
}
|
||||
|
||||
window.artplayerPluginBacklight = artplayerPluginBacklight;
|
||||
export default artplayerPluginBacklight;
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "artplayer-plugin-danmuku",
|
||||
"version": "3.1.7",
|
||||
"expose": "artplayerPluginDanmuku",
|
||||
"description": "Danmuku plugin for ArtPlayer",
|
||||
"main": "dist/artplayer-plugin-danmuku.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -19,5 +19,4 @@ function artplayerPluginDanmuku(option) {
|
||||
artplayerPluginDanmuku.bilibiliDanmuParseFromXml = bilibiliDanmuParseFromXml;
|
||||
artplayerPluginDanmuku.bilibiliDanmuParseFromAv = bilibiliDanmuParseFromAv;
|
||||
artplayerPluginDanmuku.bilibiliDanmuParseFromUrl = bilibiliDanmuParseFromUrl;
|
||||
window.artplayerPluginDanmuku = artplayerPluginDanmuku;
|
||||
export default artplayerPluginDanmuku;
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "artplayer-plugin-gif",
|
||||
"version": "3.1.7",
|
||||
"expose": "artplayerPluginGif",
|
||||
"description": "Gif plugin for ArtPlayer",
|
||||
"main": "dist/artplayer-plugin-gif.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -155,5 +155,4 @@ function artplayerPluginGif(art) {
|
||||
};
|
||||
}
|
||||
|
||||
window.artplayerPluginGif = artplayerPluginGif;
|
||||
export default artplayerPluginGif;
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "artplayer-plugin-playlist",
|
||||
"version": "3.1.7",
|
||||
"expose": "artplayerPluginPlaylist",
|
||||
"description": "Playlist plugin for ArtPlayer",
|
||||
"main": "dist/artplayer-plugin-playlist.js",
|
||||
"style": "dist/artplayer-plugin-playlist.css",
|
||||
|
||||
@@ -107,5 +107,4 @@ function artplayerPluginPlaylist(art) {
|
||||
};
|
||||
}
|
||||
|
||||
window.artplayerPluginPlaylist = artplayerPluginPlaylist;
|
||||
export default artplayerPluginPlaylist;
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "artplayer-react",
|
||||
"version": "3.1.7",
|
||||
"expose": "ArtplayerReact",
|
||||
"description": "React Component for Artplayer",
|
||||
"main": "dist/artplayer-react.js",
|
||||
"style": "dist/artplayer-react.css",
|
||||
|
||||
@@ -2,7 +2,7 @@ import React from 'react';
|
||||
import Artplayer from 'artplayer';
|
||||
import 'artplayer/dist/artplayer.css';
|
||||
|
||||
export default class ArtplayerComponent extends React.Component {
|
||||
export default class ArtplayerReact extends React.Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
Artplayer.utils.errorHandle(
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "artplayer-tool-github",
|
||||
"version": "3.1.7",
|
||||
"expose": "ArtplayerToolGithub",
|
||||
"description": "Github tool for ArtPlayer",
|
||||
"main": "dist/artplayer-tool-github.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import ArtplayerToolGithub from 'issues-danmuku';
|
||||
|
||||
window.ArtplayerToolGithub = ArtplayerToolGithub;
|
||||
export default ArtplayerToolGithub;
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "artplayer-tool-thumbnail",
|
||||
"version": "3.1.7",
|
||||
"expose": "ArtplayerToolThumbnail",
|
||||
"description": "thumbnail tool for ArtPlayer",
|
||||
"main": "dist/artplayer-tool-thumbnail.js",
|
||||
"style": "dist/artplayer-tool-thumbnail.css",
|
||||
|
||||
@@ -233,5 +233,4 @@ class ArtplayerToolThumbnail extends Emitter {
|
||||
}
|
||||
}
|
||||
|
||||
window.ArtplayerToolThumbnail = ArtplayerToolThumbnail;
|
||||
export default ArtplayerToolThumbnail;
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "artplayer-vue",
|
||||
"version": "3.1.7",
|
||||
"expose": "ArtplayerVue",
|
||||
"description": "Vue Component for Artplayer",
|
||||
"main": "dist/artplayer-vue.js",
|
||||
"style": "dist/artplayer-vue.css",
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "artplayer",
|
||||
"version": "3.1.7",
|
||||
"expose": "Artplayer",
|
||||
"description": "ArtPlayer is a modern HTML5 video player",
|
||||
"main": "dist/artplayer.js",
|
||||
"style": "dist/artplayer.css",
|
||||
|
||||
@@ -162,5 +162,4 @@ Object.defineProperty(Artplayer, 'instances', {
|
||||
value: [],
|
||||
});
|
||||
|
||||
window.Artplayer = Artplayer;
|
||||
export default Artplayer;
|
||||
Reference in new issue
Block a user