LiveTL / LiveTL

Get live translations for YouTube streams, crowdsourced from multilingual viewers!

Home Page:https://livetl.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature]: Playback speed above x2

TerableCoder opened this issue · comments

Checklist

  • This is a suggestion for LiveTL, not Hyperchat. I will go to the Hyperchat repo to suggest a feature for Hyperchat.
  • This is a suggestion for the LiveTL web extension, not LiveTL iOS or LiveTL Android. I will go to the iOS or Android repo to suggest features for those platforms.
  • I have checked for a duplicate or similar feature request/issue. I made sure to check closed issues as well.
  • I am not reporting a bug. If I am, I will use the bug report issue template.
  • By submitting this issue, you agree to follow our Code of Conduct

Is your feature request related to a problem? Please describe.

In Youtube I can play videos at x3 speed with:
1- the extension "'Improve YouTube!' (Video & YouTube Tools)🎧"
2- the extension "SpeedUp: Netflix, Prime videos"
3- the console command "document.getElementsByTagName("video")[0].playbackRate = 3"
none of these work on the LiveTL extension player.

The LiveTL video player and chat sizes are much bigger than YouTube's. So I'd like to be able to use it at x3 playback speed.

Describe the solution you'd like

Let 1 of the above options work
or
make another way to change the playback speed

Describe alternatives you've considered

Described above.

Anything else?

No response

Those extensions don't seem to work with YT iframe players, so there's that. For example, they don't work on sites like Holodex or even on videos that are shared using the YT share as embed feature. Theoretically if you can find an extension that does that then it should work out of the box.

Those extensions don't seem to work with YT iframe players, so there's that. For example, they don't work on sites like Holodex or even on videos that are shared using the YT share as embed feature. Theoretically if you can find an extension that does that then it should work out of the box.

I just tried "Youtube Playback Speed Control" and "Video Speed Manager" extensions.
Both of them work on Holodex, but neither works on LiveTL. I even enabled the "Allow access to file URLs" setting on "Video Speed Manager" and it still didn't work.

Do you have any suggestions?

Welp, it was worth a shot. Normally, extensions are unable to access other extensions' pages by design. I initially thought that since the player is in an iframe (which is its own page), other extensions would be able to inject into it regardless, but seems like that isn't the case.

We'd have to implement our own playback rate controls if we want to add this to LiveTL.

@TerableCoder the third option works if you click the iframe with the video in it and then type in the command.

Firefox with console editor

iframe toggle ff console editor

Firefox normal console

iframe toggle ff normal console

Chrome console

iframe toggle chrome console

I tested out using document.querySelector('video').playbackRate = 3; in the console and it worked. You can use this for changing the video rate.

closing because @r2dev2's solution seems to work