sampotts / plyr

A simple HTML5, YouTube and Vimeo player
https://plyr.io
MIT License
26.12k stars 2.91k forks source link

Can't set quality on Vimeo player #2675

Open guyman20 opened 1 year ago

guyman20 commented 1 year ago

Hello. I'm not sure if it's a bug or I'm misusing it - I'm embeding a player using Vimeo: <div id="player" data-plyr-provider="vimeo" data-plyr-embed-id="352845838" data-plyr-config='{ "ratio": "16:9" }'></div>

I'm trying to allow the user to choose the quality to play the video at, and also want to prevent the video from playing in a low quality at the first few seconds, but I can't seem to manage to get the "quality" selector appear in the settings menu:

  player = new Plyr('#player', 
    {
            quality: { default: 576, options: [4320, 2880, 2160, 1440, 1080, 720, 576, 480, 360, 240] } 

  });

This code doesn't work, I simply don't the quality selector.

What am I doing wrong?

akashmdiu commented 1 year ago

I face the same problem. It doesn't show quality options for my YouTube videos.

transparentumbrella commented 1 year ago

problem + 1

kasvith commented 10 months ago

Im having the same problem also, we are using vimeo premium