I have a html video player element <video/>
, and a m3u8 stream.
It is possible to change the aspect ratio from 4:3 to 16:9 of the stream
depending on the stream resolution ?!
Asked
Active
Viewed 1,079 times
0
1 Answers
0
The onloadedmetadata event will fire when the videoWidth and videoHeight are known (as well as duration etc), you can then use that to adjust the width/height of the display element

Offbeatmammal
- 7,970
- 2
- 33
- 52