mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 04:01: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
@@ -2,12 +2,12 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>ArtPlayer.js thumbnail maker</title>
|
||||
<title>Thumbnail tool for ArtPlayer</title>
|
||||
<meta charset="UTF-8">
|
||||
<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="keywords" content="artplayer,html5,video,player">
|
||||
<meta name="description" content="ArtPlayer is a modern HTML5 video player">
|
||||
<meta name="keywords" content="artplayer,html5,video,player,thumbnail">
|
||||
<meta name="description" content="Thumbnail tool for ArtPlayer">
|
||||
<link rel="shortcut icon" href="./img/favicon.ico">
|
||||
<link rel="stylesheet" href="./css/normalize.css">
|
||||
<link rel="stylesheet" href="./css/common.css">
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
artplayer-tool-thumbnail
|
||||
<div class="artplayer-tool-thumbnail"></div>
|
||||
</div>
|
||||
<script src="../uncompiled/artplayer.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 });
|
||||
|
||||
})));
|
||||
Reference in new issue
Block a user