vime-js / vime

Customizable, extensible, accessible and framework agnostic media player. Modern alternative to Video.js and Plyr. Supports HTML5, HLS, Dash, YouTube, Vimeo, Dailymotion...
https://vimejs.com
MIT License
2.75k stars 154 forks source link

Player keeps loading after setting different aspect ratio #364

Open dukesx opened 1 year ago

dukesx commented 1 year ago

I have vertical orientation video, from HLS, when i switch "aspect ratio" to standard instagram 9:16 or 1:2 , the player just keeps loading and does nothing. Doesn't work

brightchip commented 1 year ago

Did you fixed this ? You can try add the listener for these events :

    player.addEventListener("vmPlaybackReady", (event) => {
      player.playbackReady = true;
    });

    player.addEventListener("vmReady", (event) => {
        player.ready = true;
    });