FastStream icon indicating copy to clipboard operation
FastStream copied to clipboard

[Feature] Few Ideas to add/fix

Open marek7400 opened this issue 6 months ago • 16 comments

  1. When starting the movie, the language sometimes automatically switches to Portuguese instead of setting itself to the original (English). This happened to me on these: https://www.youtube.com/watch?v=EvYU4pB18g0

https://www.youtube.com/watch?v=6aZ3lc9n3VE

  1. No “cinema mode”

  2. No option to change the subtitle language (I only see EN auto generated, changes in subtitle settings do not work): (original translated by the author of the film/automatically translated)

  3. No option to change the position of subtitles below the default progress bar

  4. No (or easy to find) option to move the subtitles forward/backward

  5. No option to jump between chapters like on YouTube (Ctrl+arrow)

(I have my own version of the script: https://pastebin.com/jAzNtKZj)

  1. No YouTube progress bar with chapters

(I have my own version of the script: https://github.com/marek7400/YouTube_Progress_Bar)

  1. No YouTube adjusted time (show recalculated time at increased video speed)

(I have my own version of the script: https://pastebin.com/LNaAmGVG)

  1. What to do to make Tampermonkey scripts work with the player?
  2. Subtitles in 1 line please. (like in Immersive Translate)

marek7400 avatar Jun 01 '25 11:06 marek7400

Chapters should work unless Youtube is loaded with IOS mode, in which case it will fail. Once loaded you can use a keybind called "next chapter" in settings.

Image

Also, you can adjust the subtitle font size to make it smaller by clicking on "Subtitle Settings" and decreasing the font size. then it will fit in one line.

Andrews54757 avatar Jun 06 '25 04:06 Andrews54757

I changed the keys to ctrl+right arrow (next chapter), but unfortunately my script simulating these keys in the player does not work (too bad) (the keys work fine).

There is no “previous chapter” option, and the rest of the suggestions/bugs have not been fixed either.

I could solve some of the problems myself with my Tampermonkey scripts, but I don't know how to make them work in a player that replaces the original player (iframe?).

As for subtitles in line 1, I just wrote a plugin for (ONLY) Chrome (with extensive configuration options). Unfortunately, it only works on the original YouTube website. (I don't know how to get around this yet.)

marek7400 avatar Jun 06 '25 12:06 marek7400

After many hours of struggle, I managed to add my own progress bar.

It would be useful to add the following:

  1. fix subtitle loading from YouTube
  2. display in 1 or multiple lines
  3. fix incorrect audio loading at startup (random language is enabled)

Image

marek7400 avatar Jun 17 '25 13:06 marek7400

I have not been able to reproduce the audio language issue you describe. Can you send me what settings you have? Click the export settings button and send me the file.

Andrews54757 avatar Jun 17 '25 18:06 Andrews54757

here https://www.youtube.com/watch?v=EvYU4pB18g0
https://www.youtube.com/watch?v=6aZ3lc9n3VE

automatic set to portugal not english

faststream-options.json

marek7400 avatar Jun 17 '25 20:06 marek7400

Can you open javascript console, and enter navigator.language? let me know what value it returns.

Andrews54757 avatar Jun 18 '25 23:06 Andrews54757

navigator.language 'pl'

but audio is Portugese not in Polish or oryginal english. (I turn off all my extensions to test).

On some movies in the original English, Japanese is turned on by default.

marek7400 avatar Jun 19 '25 11:06 marek7400

"YouTube's Transition to SABR: YouTube has recently switched from the DASH protocol to a custom streaming technology called SABR (Server-Side Adaptive Bitrate). While both DASH and SABR were supported for a period of time, YouTube has now fully transitioned to SABR for all video playback across all YouTube clients. The SABR implementation is still a Work in Progress and is currently unstable with several known bugs. "

Perhaps that is the reason for the problems.

marek7400 avatar Jun 19 '25 14:06 marek7400

Please add subtitle position to player subtitle option. (default is 40px)

player\assets\fluidplayer\css\fluidplayer.css .fluid_subtitles_container { bottom: 40px;

marek7400 avatar Jun 21 '25 17:06 marek7400

You can already drag the subtitles up/down to adjust its vertical position.

Andrews54757 avatar Jun 22 '25 00:06 Andrews54757

I can't move it lower than the player's progress bar. After adding my progress bar, I want the subtitle container even lower. (I finally figured it out differently, ran the extension locally, edited the CSS, and changed the entry manually). And now is OK.

PS. The extension still doesn't see subtitles in my language, and I have to download and upload them manually.

When I load subtitles from a file, they should activate automatically (now I have to click manually to turn them on and highlight them in green), and the CC window should close automatically (now I have to click again).

In general, I think that after selecting/changing, for example, the audio track, speed, resolution, etc., the window should close automatically. (Currently, by default: I open the window, make my selection, and click again to close it.)

Image

marek7400 avatar Jun 22 '25 03:06 marek7400

If I may add to this thread -

  • add a hotkey to hide/show the progress bar ( one thing I would truly love for simplicity), my work around is either hiding from inspect or to zoom out to 10% out haha.

Cesals avatar Sep 13 '25 13:09 Cesals

@Cesals done!

Andrews54757 avatar Sep 13 '25 20:09 Andrews54757

Thank you, Andrew, for adding this so quickly. I just tested it using the "H" hotkey, and it works. However, when I move my mouse, the control bar reappears. I was kind of expecting it to behave like the "Hide Player" keybind, where pressing AltRight hides the player until the key is pressed again.

I really appreciate all your efforts—this is a fantastic extension.

Cesals avatar Sep 13 '25 21:09 Cesals

Showing the controls when the mouse is moved is intended to reduce confusion should one activate the keybind by accident.

Andrews54757 avatar Sep 13 '25 21:09 Andrews54757

Ah yeah, that makes sense. It would be a big confusion if a key was hit and you couldn't get to the settings to figure what key caused the controls to go away.

Cesals avatar Sep 13 '25 22:09 Cesals