mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
thumbnail tool init
This commit is contained in:
1 parent
a942ca2ea0
commit
6515953b93
6 files changed
+43
-8
No files matched your search
@@ -82,9 +82,10 @@ var art = new Artplayer({
|
|||||||
|
|
||||||
## Ecosystem
|
## Ecosystem
|
||||||
|
|
||||||
| Project | Description |
|
| Project | Description | Demo |
|
||||||
| ------------------------------------------------------------------------------------------------------------- | -------------------------- |
|
| ----------------------------------------------------------------------------------------------------------------- | ---------------------------- | ------ |
|
||||||
| [artplayer-plugin-danmu](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-danmu) | Danmu plugin for ArtPlayer |
|
| [artplayer-plugin-danmu](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-plugin-danmu) | Danmu plugin for ArtPlayer | `None` |
|
||||||
|
| [artplayer-tool-thumbnail](https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-tool-thumbnail) | Thumbnail tool for ArtPlayer | `None` |
|
||||||
|
|
||||||
## QQ Group
|
## QQ Group
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>ArtPlayer.js thumbnail maker</title>
|
<title>Thumbnail tool for ArtPlayer</title>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||||
<meta name="keywords" content="artplayer,html5,video,player">
|
<meta name="keywords" content="artplayer,html5,video,player,thumbnail">
|
||||||
<meta name="description" content="ArtPlayer is a modern HTML5 video player">
|
<meta name="description" content="Thumbnail tool for ArtPlayer">
|
||||||
<link rel="shortcut icon" href="./img/favicon.ico">
|
<link rel="shortcut icon" href="./img/favicon.ico">
|
||||||
<link rel="stylesheet" href="./css/normalize.css">
|
<link rel="stylesheet" href="./css/normalize.css">
|
||||||
<link rel="stylesheet" href="./css/common.css">
|
<link rel="stylesheet" href="./css/common.css">
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
artplayer-tool-thumbnail
|
<div class="artplayer-tool-thumbnail"></div>
|
||||||
</div>
|
</div>
|
||||||
<script src="../uncompiled/artplayer.js"></script>
|
<script src="../uncompiled/artplayer.js"></script>
|
||||||
<script src="../uncompiled/artplayer-tool-thumbnail.js"></script>
|
<script src="../uncompiled/artplayer-tool-thumbnail.js"></script>
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
.artplayer-tool-thumbnail{display:flex}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
(function (global, factory) {
|
||||||
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
||||||
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
||||||
|
(factory((global['artplayer-tool-thumbnail'] = {})));
|
||||||
|
}(this, (function (exports) { 'use strict';
|
||||||
|
|
||||||
|
function _classCallCheck(instance, Constructor) {
|
||||||
|
if (!(instance instanceof Constructor)) {
|
||||||
|
throw new TypeError("Cannot call a class as a function");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var classCallCheck = _classCallCheck;
|
||||||
|
|
||||||
|
var ArtplayerToolThumbnail = function ArtplayerToolThumbnail(el) {
|
||||||
|
classCallCheck(this, ArtplayerToolThumbnail);
|
||||||
|
|
||||||
|
this.el = el;
|
||||||
|
console.log(this);
|
||||||
|
};
|
||||||
|
|
||||||
|
exports.default = ArtplayerToolThumbnail;
|
||||||
|
|
||||||
|
Object.defineProperty(exports, '__esModule', { value: true });
|
||||||
|
|
||||||
|
})));
|
||||||
@@ -1 +1,8 @@
|
|||||||
import './index.scss';
|
import './index.scss';
|
||||||
|
|
||||||
|
export default class ArtplayerToolThumbnail {
|
||||||
|
constructor(el) {
|
||||||
|
this.el = el;
|
||||||
|
console.log(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
.artplayerPluginDanmu {
|
.artplayer-tool-thumbnail {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user