mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
初始化gif插件
This commit is contained in:
1 parent
7fc370b6d9
commit
ca31357292
16 files changed
+3296
-3
No files matched your search
@@ -0,0 +1,9 @@
|
||||
node_modules
|
||||
.DS_Store
|
||||
yarn.lock
|
||||
package-lock.json
|
||||
test
|
||||
coverage
|
||||
.nyc_output
|
||||
.cache
|
||||
docs
|
||||
@@ -0,0 +1 @@
|
||||
package-lock=false
|
||||
@@ -0,0 +1,3 @@
|
||||
# artplayer-plugin-gif
|
||||
Gif plugin for ArtPlayer
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "artplayer-plugin-gif",
|
||||
"version": "1.0.5",
|
||||
"description": "Gif plugin for ArtPlayer",
|
||||
"main": "dist/artplayer-plugin-gif.js",
|
||||
"style": "dist/artplayer-plugin-gif.css",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/zhw2590582/ArtPlayer.git"
|
||||
},
|
||||
"keywords": [
|
||||
"video",
|
||||
"player"
|
||||
],
|
||||
"author": "Harvey Zack <laozhaochaguan@gmail.com>",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/zhw2590582/ArtPlayer/issues"
|
||||
},
|
||||
"homepage": "https://github.com/zhw2590582/ArtPlayer#readme",
|
||||
"dependencies": {
|
||||
"gifshot": "^0.4.5"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import gifshot from 'gifshot';
|
||||
|
||||
function artplayerPluginGif(art) {
|
||||
console.log(gifshot);
|
||||
return {
|
||||
name: 'artplayerPluginGif',
|
||||
};
|
||||
}
|
||||
|
||||
window.artplayerPluginGif = artplayerPluginGif;
|
||||
export default artplayerPluginGif;
|
||||
Reference in new issue
Block a user