viewtopic.php?f=7&t=3026345
and would appreciate anyone thoughts, hints, tips etc please?
............................................................................................................................................................................................
I would really like YouTube's progress bar to be always visible as well as move with the video rather than just update when I pass the mouse over it.
Found this UserStyle for that ....
https://userstyles.org/styles/117321/yo ... essbar-fix
Code: Select all
@-moz-document domain("youtube.com") {
.ytp-chrome-bottom {
bottom:0;
transition:bottom .25s cubic-bezier(0.0,0.0,0.2,1) !important;
}
.ytp-autohide:not(.ytp-watch-controls) .ytp-chrome-bottom, .ytp-chrome-bottom[aria-hidden=true] {
opacity:1 !important;
bottom:-37px;
}
.ytp-big-mode.ytp-autohide:not(.ytp-watch-controls) .ytp-chrome-bottom, .ytp-big-mode .ytp-chrome-bottom[aria-hidden=true] {
bottom:-54px;
}
.ytp-progress-bar-container {
width:100%;
margin-left:0;
transition: all .25s cubic-bezier(0.0,0.0,0.2,1) !important;
}
.ytp-autohide .ytp-progress-bar-container {
width: calc( 100% + 24px );
margin-left:-12px;
}
.ytp-big-mode.ytp-autohide .ytp-progress-bar-container {
width: calc( 100% + 48px );
margin-left:-24px;
}
.ytp-autohide .ytp-player-content:not(.html5-endscreen) {
transition:bottom .25s cubic-bezier(0.0,0.0,0.2,1),top .25s cubic-bezier(0.0,0.0,0.2,1);
}
.ytp-autohide:not(.ytp-ad-overlay-open) .ytp-subtitles-player-content:not(.html5-endscreen):not(.ytp-iv-player-content) {
bottom: 1em !important;
}
}
https://greasyfork.org/scripts/11486-yo ... er.user.js
Code: Select all
// ==UserScript==
// @name YouTube Progressbar Updater
// @version 0.2
// @description Forces the YouTube progress bar to update even when it's supposed to be hidden.
// @author Workgroups
// @match *://www.youtube.com/*
// @grant none
// @namespace https://greasyfork.org/users/14014
// ==/UserScript==
var findVideoInterval = setInterval(function() {
var ytplayer = document.querySelector(".html5-video-player:not(.addedupdateevents)");
if (!ytplayer) {
return;
}
ytplayer.className+=" addedupdateevents";
var video = ytplayer.querySelector("video");
var progressbar = ytplayer.querySelector(".ytp-play-progress");
var loadbar = ytplayer.querySelector(".ytp-load-progress");
if (!video || !progressbar || !loadbar) {
return;
}
video.addEventListener("timeupdate",function() {
progressbar.style.transform = "scaleX("+(video.currentTime/video.duration)+")";
});
video.addEventListener("progress",function() {
loadbar.style.transform = "scaleX("+(video.buffered.end(video.buffered.length-1)/video.duration)+")";
});
},500);
Could some kind person help me achieve my aim please as I am thoroughly out of my depth and lost. I have installed both, cleared cookies/cache and restarted my lovely Firefox and am now hopeless as to knowing what to do next.