mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
bundle libjass
This commit is contained in:
parent
5a802c35b8
commit
26644c06c4
5 changed files with 8 additions and 4279 deletions
|
@ -16,7 +16,8 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"jstree": "^3.3.7",
|
"jstree": "^3.3.7",
|
||||||
"hls.js": "^0.12.4",
|
"hls.js": "^0.12.4",
|
||||||
"howler": "^2.1.2"
|
"howler": "^2.1.2",
|
||||||
|
"libjass": "0.11.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "webpack --mode development",
|
"dev": "webpack --mode development",
|
||||||
|
|
91
src/bower_components/libjass/libjass.css
vendored
91
src/bower_components/libjass/libjass.css
vendored
|
@ -1,91 +0,0 @@
|
||||||
.libjass-wrapper {
|
|
||||||
position: relative;
|
|
||||||
overflow: hidden
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs,
|
|
||||||
.libjass-subs .an {
|
|
||||||
position: absolute
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs {
|
|
||||||
overflow: hidden;
|
|
||||||
line-height: 0
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs,
|
|
||||||
.libjass-subs * {
|
|
||||||
pointer-events: none;
|
|
||||||
-webkit-animation-fill-mode: both !important;
|
|
||||||
animation-fill-mode: both !important
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs.paused * {
|
|
||||||
-webkit-animation-play-state: paused !important;
|
|
||||||
animation-play-state: paused !important
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs .an1,
|
|
||||||
.libjass-subs .an2,
|
|
||||||
.libjass-subs .an3 {
|
|
||||||
bottom: 0
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs .an4,
|
|
||||||
.libjass-subs .an5,
|
|
||||||
.libjass-subs .an6 {
|
|
||||||
display: table;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs .an4>*,
|
|
||||||
.libjass-subs .an5>*,
|
|
||||||
.libjass-subs .an6>* {
|
|
||||||
display: table-cell;
|
|
||||||
vertical-align: middle
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs .an7,
|
|
||||||
.libjass-subs .an8,
|
|
||||||
.libjass-subs .an9 {
|
|
||||||
top: 0
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs .an1,
|
|
||||||
.libjass-subs .an4,
|
|
||||||
.libjass-subs .an7 {
|
|
||||||
text-align: left
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs .an2,
|
|
||||||
.libjass-subs .an5,
|
|
||||||
.libjass-subs .an8 {
|
|
||||||
text-align: center
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs .an3,
|
|
||||||
.libjass-subs .an6,
|
|
||||||
.libjass-subs .an9 {
|
|
||||||
text-align: right
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-subs div[data-dialogue-id]>span {
|
|
||||||
-webkit-perspective-origin: center;
|
|
||||||
perspective-origin: center;
|
|
||||||
-webkit-perspective: 400px;
|
|
||||||
perspective: 400px
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-font-measure {
|
|
||||||
position: absolute;
|
|
||||||
visibility: hidden;
|
|
||||||
border: 0;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
line-height: normal
|
|
||||||
}
|
|
||||||
|
|
||||||
.libjass-filters {
|
|
||||||
display: block
|
|
||||||
}
|
|
4185
src/bower_components/libjass/libjass.min.js
vendored
4185
src/bower_components/libjass/libjass.min.js
vendored
File diff suppressed because it is too large
Load diff
|
@ -16,3 +16,8 @@ _define("hlsjs", function() { return hlsjs; });
|
||||||
// howler
|
// howler
|
||||||
var howler = require("howler");
|
var howler = require("howler");
|
||||||
_define("howler", function() { return howler; });
|
_define("howler", function() { return howler; });
|
||||||
|
|
||||||
|
// libjass
|
||||||
|
var libjass = require("libjass");
|
||||||
|
require("libjass/libjass.css");
|
||||||
|
_define("libjass", function() { return libjass; });
|
||||||
|
|
|
@ -706,7 +706,6 @@ var AppInfo = {};
|
||||||
define("chromecastHelper", [componentsPath + "/chromecast/chromecasthelpers"], returnFirstDependency);
|
define("chromecastHelper", [componentsPath + "/chromecast/chromecasthelpers"], returnFirstDependency);
|
||||||
define("mediaSession", [componentsPath + "/playback/mediasession"], returnFirstDependency);
|
define("mediaSession", [componentsPath + "/playback/mediasession"], returnFirstDependency);
|
||||||
define("actionsheet", [componentsPath + "/actionsheet/actionsheet"], returnFirstDependency);
|
define("actionsheet", [componentsPath + "/actionsheet/actionsheet"], returnFirstDependency);
|
||||||
define("libjass", [bowerPath + "/libjass/libjass.min", "css!" + bowerPath + "/libjass/libjass"], returnFirstDependency);
|
|
||||||
define("tunerPicker", [componentsPath + "/tunerpicker"], returnFirstDependency);
|
define("tunerPicker", [componentsPath + "/tunerpicker"], returnFirstDependency);
|
||||||
define("mainTabsManager", [componentsPath + "/maintabsmanager"], returnFirstDependency);
|
define("mainTabsManager", [componentsPath + "/maintabsmanager"], returnFirstDependency);
|
||||||
define("imageLoader", [componentsPath + "/images/imageLoader"], returnFirstDependency);
|
define("imageLoader", [componentsPath + "/images/imageLoader"], returnFirstDependency);
|
||||||
|
@ -806,7 +805,7 @@ var AppInfo = {};
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
bundles: {
|
bundles: {
|
||||||
bundle: ["jstree", "hlsjs", "howler"]
|
bundle: ["jstree", "hlsjs", "howler", "libjass"]
|
||||||
},
|
},
|
||||||
urlArgs: urlArgs,
|
urlArgs: urlArgs,
|
||||||
paths: paths,
|
paths: paths,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue