Provides subtitle settings for JW Player that don't reset every time the player is loaded.
Persistent Subtitles by hyper
Details
Authorhyper
LicenseMIT No Attribution
Categoryhianime.to
Created
Updated
Size2.6 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.
Changelog
Release 1.0.0
- Initial release
Source code
/*
* MIT No Attribution
*
* Copyright (c) 2024 Hyper
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify,
* merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
* PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/* ==UserStyle==
@name Persistent Subtitles
@namespace userstyles.world/user/hyper
@version 1.0.0
@description Provides subtitle settings for JW Player that don't reset every time the player is loaded.
@author Hyper
@license MIT-0
@preprocessor stylus
@var color fontColor "Font Color" #fff
@var range fontSize "Font Size" [35, 14, 56, 7, "px"]
@var text fontFamily "Font Family" Trebuchet MS
@var select charEdge "Character Edge" {
"None": "none",
"Raised": "rgb(0, 0, 0) 0px 0px 5px, rgb(0, 0, 0) 0px 1px 5px, rgb(0, 0, 0) 0px 2px 5px",
"Depressed": "rgb(0, 0, 0) 0px -2px 1px",
"Uniform*": "rgb(0, 0, 0) -2px 0px 1px, rgb(0, 0, 0) 2px 0px 1px, rgb(0, 0, 0) 0px -2px 1px, rgb(0, 0, 0) 0px 2px 1px, rgb(0, 0, 0) -1px 1px 1px, rgb(0, 0, 0) 1px 1px 1px, rgb(0, 0, 0) 1px -1px 1px, rgb(0, 0, 0) 1px 1px 1px",
"Drop Shadow": "rgb(0, 0, 0) 0px 2px 1px"
}
@var color bgColor "Background Color" #0000
@var color winColor "Window Color" #0000
@homepageURL https://userstyles.world/style/18131
==/UserStyle== */
@-moz-document domain("megacloud.tv") {
/* JW Player */
.jwplayer .jw-captions.jw-captions-enabled {
.jw-text-track-cue {
color: fontColor !important;
font-size: fontSize !important;
font-family: fontFamily !important;
text-shadow: charEdge !important;
background-color: bgColor !important;
}
.jw-text-track-display {
background-color: winColor !important;
}
}
}