Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28469

How to programmatically control the Youtube embed video quality in React Native

$
0
0

Is there a way I can set the quality of a youtube video in an Android webview? I have already tried the below options but non have worked.

  • The method setPlaybackQuality found in Playback Quality in IFrame Player is now deprecated.
  • Appending the parameter vq to the embedded URL.

    Example: src="http://www.youtube.com/embed/VIDEOID?vq=large"

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.

Any help would be appreciated.

How to programmatically control the Youtube embed video quality


Viewing all articles
Browse latest Browse all 28469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>