mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 10:47:48 +01:00
:3
This commit is contained in:
parent
38a7d7c3af
commit
4adf09b4c9
1 changed files with 25 additions and 0 deletions
|
@ -10,6 +10,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||
preload: 'auto',
|
||||
});
|
||||
|
||||
|
||||
// todo : remove this code lol
|
||||
const qua = new URLSearchParams(window.location.search).get("quality") || "";
|
||||
localStorage.setItem(`progress-${new URLSearchParams(window.location.search).get('v')}`, 0);
|
||||
|
@ -367,8 +368,32 @@ const YoutubeAPI = {
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
// player base
|
||||
const base_player = "https://www.youtube.com/s/player/a87a9450/player_ias.vflset/en_US/base.js"
|
||||
const style = document.createElement('style');
|
||||
style.innerHTML = `
|
||||
.vjs-play-progress {
|
||||
background-image: linear-gradient(to right,
|
||||
#ff0045,
|
||||
#ff0e55,
|
||||
#ff1d79
|
||||
);
|
||||
}
|
||||
|
||||
.vjs-control-bar {
|
||||
border-radius: 16px;
|
||||
background-color: #0007 !important;
|
||||
}
|
||||
|
||||
.vjs-remaining-time,
|
||||
.vjs-fullscreen-control {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
`;
|
||||
|
||||
document.head.appendChild(style);
|
||||
|
||||
window.pokePlayer = {
|
||||
ver:`20-a87a9450-vjs-${videojs.VERSION}`,
|
||||
|
|
Loading…
Reference in a new issue