-
-
Couldn't load subscription status.
- Fork 774
Description
Bug Report
Description of the Bug
I'm attempting to watch an Indonesian video using android-youtube-player on a device that is set to display English language. However, when the video supports automatic dubbing to English, android-youtube-player plays the dubbed audio by default, and there is no visible button, switch, or dropdown to be able to change audio setting.
Even when I'm not using custom IFramePlayerOptions (i.e., just render the YouTube video player like a normal browser), the dubbed audio selection still won't appear.
Does this problem happen due to screen size? Because, when I open the video in a laptop browser, there appears an option to switch to original (un-dubbed) audio.
Environment details
Android Version: Android 9
API Version: 28
Tested devices:
- Xiaomi Mi-4c
- Xiaomi Redmi Note 6 Pro
Youtube Player Library Version: 12.1.0
Steps to reproduce the bug
- Create an
android-youtube-playervideo player composable - Load and play a video which supports dubbing to another language (e.g., this Indonesian podcast)
- Observe that the dubbed audio will be played first automatically
Expected behavior
The original audio should be played by default. Even if the dubbed audio will be played first, there should be given a way to play the original audio.
Actual behavior
There is no option to switch between dubbed and original audio.
Additional information
I'm using android-youtube-player on Jetpack Compose.
These are the screenshots of the video player. I can't seem to find the "Audio Track" option here and there.



