mirror of
https://github.com/YouG-o/YouTube-No-Translation.git
synced 2026-04-24 17:46:05 +03:00
[GH-ISSUE #6] SUGGESTION : m.youtube.com support (For Firefox for Android, Safari on iOS etc..) #6
Labels
No labels
ToDo
bug
enhancement
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/YouTube-No-Translation#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HotSpot-IT on GitHub (Feb 1, 2025).
Original GitHub issue: https://github.com/YouG-o/YouTube-No-Translation/issues/6
Hey YouG-o,
it's not really an issue, more a Feature request. :)
But it would be super nice, to make this one work on Firefox for Android too.
Thank you for the good work, it's a great idea.
@WyvernIXTL commented on GitHub (Apr 23, 2025):
This! On Firefox for Android, the automatic translation of audio cannot be disabled. :(
@david7919 commented on GitHub (Jun 1, 2025):
I tried it on iceraven (fork of firefox), didnt work either.
https://github.com/fork-maintainers/iceraven-browser
@YouG-o commented on GitHub (Jun 1, 2025):
Since a lot of people are askin for it, I'll see what I can do in the next weeks.
@steffenrh commented on GitHub (Jun 6, 2025):
I would like to support this concern. On Firefox in Windows, I do not get any AI translations, but in Firefox on Android, the same video is translated and it cannot be turned off.
@YouG-o commented on GitHub (Jun 15, 2025):
Hey everyone,
Quick update on mobile support for m.youtube.com. The easy part: displaying original video titles on mobile is not a problem. That's mostly about finding the right HTML selectors, so not a huge blocker there.
The hard part: audio control. On desktop, the extension uses YouTube's player API methods to switch audio languages. Works great. On mobile, however, these specific API methods seem to be missing from the player. I've dug around quite a bit but didn't find anything relevant to use.
So, for now, I'm stuck on implementing audio switching for mobile. I don't see a clear path forward with what's currently available on their mobile platform.
Same thing for subtitles and video description.
I could still port the add-on on Firefox for android, but it would only support titles. I don't think it's worth the pain since the main feature you guys want is the original audio track switch.
The add-on would also get terrible reviews on Mozilla store from Android users since only 1 feature would work lol.
So for now I will let this in stand-by, but if anyone has experience with this or has a clever idea I've missed, I'm definitely open to suggestions or contributions.
@wave864 commented on GitHub (Jun 16, 2025):
Interesting, this would track with the UI elements available in "mobile" mode. If you want to change the language in the UI by yourself you have to change to "desktop" mode in Firefox afaik. Maybe there's a possible way forward this way?
Thank you for your time and work on this!
@david7919 commented on GitHub (Jun 16, 2025):
In the mobile yt web ui there is no settings in the video player to change the audio track, but if the language in the yt settings is changed to match the original language of the video then the video plays the original audio track without going into desktop mode.
Is this something an extension can automatically do?
@C0D3D3V commented on GitHub (Jul 9, 2025):
I also debugged a bit. Of course, the easiest way would be to simply load the desktop player instead of the mobile player :D
The mobile player is actually very slimmed down, it also has the functions
getAvailableAudioTrackssetAudioTrack... but not on a global level and also partially modified.This means that the access to the functions is not quite as nice, and you have to adjust the filter functions a bit, because the audio tracks that do not match the set preference are simply filtered out of the metadata (if there is an audio track that matches).
Doing this requires a lot of patching and is not as nice as your current code.
PS. Changing the player to the desktop player is not really an option. I tested it, it is pain to use it on mobile devices.
@turbocombo commented on GitHub (Jul 9, 2025):
Sometimes the workaround of changing
Setting > General > Languageis not enough for the mobile player to change the audio track language. When that happens, I open the video in a private tab and changeSetting > General > Languagefrom there.How the mobile player determine the audio track language? Does it read locally stored values? That would explain why changing
Setting > General > Languagein a regular browsing session sometimes doesn't work, but changing it in a new private browsing session works reliably.@sophie-la-li commented on GitHub (Aug 14, 2025):
So at least I would also appreciate this if it would just blocks title translations. Just saying.
@YouG-o commented on GitHub (Nov 10, 2025):
Do you guys still have dubbed audio on mobile?
I'm working on the mobile version of the add-on but when I tried to test the audio to see if I could do anything, all the videos default to their original-language audio. So I couldn't test the audio at all.
Maybe YouTube has reverted and no longer offers dubbed audio by default — since the mobile player doesn't let you change audio tracks, they aren't forcing the dubbed audio anymore, are they? I hope that's it, less work for me 😄
Edit : v2.18.0 has been submitted to Mozilla. All features have been adapted for m.youtube.com (except for chapters & audio track).
Unfortunately, it won’t be available before a few days. Now that the add-on has a "lot" of users, Mozilla has to review every update manually, and it takes an eternity...
Anyway, please let me know here if you find any bugs or if you still see anything being translated on mobile. I might have missed something, and I don’t use mobile YouTube at all, so I’m counting on you!
@YouG-o commented on GitHub (Nov 10, 2025):
Also, I bought a Mac (it hurts 😅) to port the add-on to Safari for macOS. So I'll probably do it for Safari on iOS next, too.
@C0D3D3V commented on GitHub (Nov 10, 2025):
Yes I noticed that a few days before too. Maybe its intentionally by YouTube. My guess is they changed the backend, like changing the sorting of the tracks (without adapting the mobile backend). There is currently no way to play the auto dubbed audio too, so I guess it's a bug.
@Func86 commented on GitHub (Nov 13, 2025):
This one is dubbed in English for me as of now: https://m.youtube.com/shorts/7UUrw5bYZSQ
The most annoying part is that the built-in audio track option per video is also not working, so I guess it's much difficult to implement without any reference.
@YouG-o commented on GitHub (Nov 14, 2025):
Yes, same for me.
Looks like that shorts audio is still defaulted to dubbed track.
But I still don't get dubbed audio for regular videos. Do you?
You can test with this video (it is dubbed in English, don't know for other languages so you must have an English yt) :
Desktop : https://www.youtube.com/watch?v=0_wp5HQNoqo&app=desktop&persist_app=0
Mobile : https://m.youtube.com/watch?v=0_wp5HQNoqo&app=m&persist_app=0
For me -with the add-on disabled and with youtube set in English- the video is dubbed on desktop but not on mobile.
So with the add-on no dubbing at all for both.
But yes with your short :
Desktop : https://www.youtube.com/watch?v=7UUrw5bYZSQ&app=desktop&persist_app=0
Mobile : https://m.youtube.com/shorts/7UUrw5bYZSQ?app=m&persist_app=0
I may have a deeper look at it in the future, but can't promise it will be soon.
To anyone, please don't hesitate to let me know if you get dubbed audio of a regular video on mobile YouTube.
@Func86 commented on GitHub (Feb 4, 2026):
They are not calling the settings API (
https://www.youtube.com/youtubei/v1/account/get_setting_values?prettyPrint=falsewhen constructing the player on mobile, so even if the audio track setting is set from desktop, the mobile player would still serve the default dubbed track. Usingplayer.setAudioTrack()on mobile is not calling the/set_settingAPI either.Another example, since the previous one was gone: https://m.youtube.com/shorts/Zuq_ydEUwW8