Limit video-resolution to current container-size #2770
Labels
status: archived
Archived and locked; will not be updated
status: duplicate
A duplicate of another issue; should be closed after linking to the original issue
Have you read the Tutorials?
Yes.
Have you read the FAQ and checked for duplicate open issues?
Yes.
What version of Shaka Player are you using?
3.0.2
Please ask your question
I have a video rendered in different resolutions (1200x900, 800x600, 400x300, 200x150) and a DASH-manifest. I'm embedding the video on a responsive webpage using the shaka-player. This works so far, but the video displayed is depending more on the bandwidth than the size of the container which is playing in, for example:
Container size: 800x600, low bandwidth -> Playing the video 200x150 -> Ok
Container size: 1200x900, high bandwidth -> Playing the video 1200x900 -> Ok
Container size: 200x150, high bandwidth -> Playing the video 1200x900 -> Not ok, because it's not necessary
I want to prevent the last case because it increases my traffic and on some devices/browsers/setups the downscaling of the video is really horrible (because of the device/browser/setup, not because of shaka).
How can I limit the size of the played video to the size of the container the video-player is in?
The text was updated successfully, but these errors were encountered: