mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-22 02:18:45 -04:00
set offset height to top of the video
This commit is contained in:
@@ -95,6 +95,7 @@ chrome.extension.sendMessage({}, function(response) {
|
||||
|
||||
container.classList.add('tc-videoController');
|
||||
controls.classList.add('tc-controls');
|
||||
container.style.top = this.video.offsetTop+"px";
|
||||
|
||||
fragment.appendChild(container);
|
||||
this.video.parentElement.insertBefore(fragment, this.video);
|
||||
|
Reference in New Issue
Block a user