first commit
This commit is contained in:
1
dist/core/config/.pydio
vendored
Normal file
1
dist/core/config/.pydio
vendored
Normal file
@@ -0,0 +1 @@
|
||||
cf028485-f491-4537-bc8b-ccecb6619660
|
||||
24
dist/core/config/ClassName.config.js
vendored
Normal file
24
dist/core/config/ClassName.config.js
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ClassName = void 0;
|
||||
var ClassName;
|
||||
(function (ClassName) {
|
||||
// 播放按钮的div class 名称
|
||||
ClassName["Play"] = "icon-bofang";
|
||||
ClassName["Video"] = "a_video";
|
||||
ClassName["Pause"] = "icon-tingzhi1";
|
||||
ClassName["Loop"] = "icon-xunhuan";
|
||||
ClassName["Stop"] = "icon-tingzhi1";
|
||||
ClassName["Active"] = "active";
|
||||
ClassName["High"] = "icon-huaban-";
|
||||
ClassName["PictureInPicture"] = "icon-ai223";
|
||||
ClassName["Rotate"] = "icon-xuanzhuan1";
|
||||
ClassName["Image"] = "icon-jingxiang2";
|
||||
ClassName["ScreenShot"] = "icon-jietu_huaban";
|
||||
ClassName["VideoProgress"] = "a_progress";
|
||||
ClassName["VideoTime"] = "a_videotime";
|
||||
ClassName["Speed"] = "icon-suduspeed8";
|
||||
ClassName["FullScreen"] = "icon-quanping_huaban";
|
||||
ClassName["playList"] = "icon-liebiao";
|
||||
ClassName["SideMenu"] = "a_side_menu";
|
||||
})(ClassName = exports.ClassName || (exports.ClassName = {}));
|
||||
13
dist/core/config/VideoMimeType.config.js
vendored
Normal file
13
dist/core/config/VideoMimeType.config.js
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.VideoMimeType = void 0;
|
||||
var VideoMimeType;
|
||||
(function (VideoMimeType) {
|
||||
VideoMimeType["HLS"] = "application/x-mpegurl";
|
||||
VideoMimeType["TS"] = "video/MP2T";
|
||||
VideoMimeType["MP4"] = "video/mp4";
|
||||
VideoMimeType["STREA"] = "application/octet-stream";
|
||||
VideoMimeType["FLV"] = "video/x-flv";
|
||||
VideoMimeType["MOV"] = "video/quicktime";
|
||||
VideoMimeType["AVI"] = "video/x-msvideo";
|
||||
})(VideoMimeType = exports.VideoMimeType || (exports.VideoMimeType = {}));
|
||||
64
dist/core/config/index.config.js
vendored
Normal file
64
dist/core/config/index.config.js
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Config = void 0;
|
||||
var Config = /** @class */ (function () {
|
||||
function Config() {
|
||||
}
|
||||
Config.DefalutOptionParams = {
|
||||
el: '#app',
|
||||
url: 'http://demo-videos.qnsdk.com/movies/qiniu.mp4',
|
||||
title: '欢迎使用 AVideo 播放器!',
|
||||
layout: 'DefaultLayout',
|
||||
width: '100%',
|
||||
height: '400px',
|
||||
autoplay: false,
|
||||
muted: false,
|
||||
volume: 1,
|
||||
poster: '',
|
||||
playList: [{ title: '1', url: '222' }],
|
||||
controls: {
|
||||
image: true,
|
||||
setting: true,
|
||||
rotate: true,
|
||||
play: true,
|
||||
loop: true,
|
||||
speed: true,
|
||||
FullScreen: true,
|
||||
down: true,
|
||||
PictureInPicture: true,
|
||||
memory: true,
|
||||
ScreenShot: true,
|
||||
theme: true,
|
||||
progressMarkers: [],
|
||||
vip: {},
|
||||
},
|
||||
paused: function (video) { },
|
||||
play: function (video) { },
|
||||
finish: function (video) { },
|
||||
error: function (video) { },
|
||||
timeupdate: function (video) { },
|
||||
};
|
||||
Config.IconConfig = {
|
||||
topIcon: [
|
||||
{ title: '下载', icon: 'icon-down1', key: 'down' },
|
||||
{ title: '列表', icon: 'icon-liebiao', key: 'playList' },
|
||||
{ title: '设置', icon: 'icon-setting', key: 'setting' },
|
||||
],
|
||||
leftIcon: [
|
||||
{ title: '播放', icon: 'icon-bofang', key: 'play' },
|
||||
{ title: '循环播放', icon: 'icon-xunhuan', key: 'loop' },
|
||||
],
|
||||
rightIcon: [
|
||||
{ title: '皮肤', icon: 'icon-jingzi', key: 'theme' },
|
||||
{ title: '高清', icon: 'icon-huaban-', key: 'high' },
|
||||
{ title: '旋转', icon: 'icon-xuanzhuan1', key: 'rotate' },
|
||||
{ title: '镜像', icon: 'icon-jingxiang2', key: 'image' },
|
||||
{ title: '截图', icon: 'icon-jietu_huaban', key: 'ScreenShot' },
|
||||
{ title: '倍速', icon: 'icon-suduspeed8', key: 'speed' },
|
||||
{ title: '画中画', icon: 'icon-ai223', key: 'PictureInPicture' },
|
||||
{ title: '全屏', icon: 'icon-quanping_huaban', key: 'FullScreen' },
|
||||
]
|
||||
};
|
||||
return Config;
|
||||
}());
|
||||
exports.Config = Config;
|
||||
Reference in New Issue
Block a user