Is there any way to change the quality of the video?

十年热恋 提交于 2019-12-01 01:12:58

I'm looking for the same thing ;-)

Unfortunately, there is no method in the Android YT API to do that...

There is a function in the Youtube IFrame API See: Playback Quality in IFrame Player

So the workaround is to use an IFrame associated with an Android WebView and then, control the video quality.

To my understanding Youtube implemented a policy to control quality based on your bandwidth and possibly screen size. In the now deprecated older web based API it was possibly to list quality encodings and stream the desired version directly. But this is no longer an option.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!