mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 09:58:45 -04:00
Revert to fix positioning issue
This commit is contained in:
@@ -274,8 +274,8 @@ function defineVideoController() {
|
||||
const document = this.video.ownerDocument;
|
||||
const speed = this.video.playbackRate.toFixed(2);
|
||||
const rect = this.video.getBoundingClientRect();
|
||||
const top = Math.max(rect.top, 0) + "px";
|
||||
const left = Math.max(rect.left, 0) + "px";
|
||||
var top = Math.max(this.video.offsetTop, 0) + "px",
|
||||
left = Math.max(this.video.offsetLeft, 0) + "px";
|
||||
|
||||
log("Speed variable set to: " + speed, 5);
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "Video Speed Controller",
|
||||
"short_name": "videospeed",
|
||||
"version": "0.6.3",
|
||||
"version": "0.6.3.1",
|
||||
"manifest_version": 2,
|
||||
"description": "Speed up, slow down, advance and rewind HTML5 audio/video with shortcuts",
|
||||
"homepage_url": "https://github.com/codebicycle/videospeed",
|
||||
|
Reference in New Issue
Block a user