Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video quality options (HTML5, YouTube, Vimeo) #218

Closed
donnygunawan93 opened this issue May 16, 2016 · 108 comments
Closed

Video quality options (HTML5, YouTube, Vimeo) #218

donnygunawan93 opened this issue May 16, 2016 · 108 comments

Comments

@donnygunawan93
Copy link

please add video quality option for youtube

@sampotts
Copy link
Owner

Will do. good idea 👍

@sampotts sampotts self-assigned this May 18, 2016
@sampotts sampotts changed the title video quality option youtube Video quality options (HTML5, YouTube, Vimeo) May 25, 2016
@sampotts
Copy link
Owner

From #220 @thelamborghinistory

First of all I just want to say I came here from PH and I instantly fell in love with this player (not only I have a crush on it but it also came up at the perfect time on my screen ;)). So big kudos to you guys.

However, I am curious if it's possible to integrate an option to switch quality of a video like YouTube has (I think half of the functionality for such a feature is already done with the plyr.source() method, so there might just remain a nice dropup menu for the resolution options). What do you think?

From #245 @tamanhquyen

I have created player using your plugins . But i can't change quality on vimeo source . Please help me . Thanks a lot!

@gino8080
Copy link

Definitely need quality option for Vimeo on this great player!

@Parasoul
Copy link

Need the video quality option for Youtube !! ^^

@masinerija12
Copy link

Please add a quality change option for html5.
Would use this on all my sites.
Best looking and fastest html5 player ever!
10/10

@shutterarmy
Copy link

Eagerly waiting for the Quality change Option for YouTube like all the others. Amazing player BTW!!

@sampotts
Copy link
Owner

It's coming along...

image

@shutterarmy
Copy link

Yes!!

@masinerija12
Copy link

Looks awesome man. Can't wait.

@MelchnerRoman
Copy link

+1 need this

@cwbmuller
Copy link

@sampotts looking great!

@hutanatu
Copy link

Looks awesome man. Can't wait.

@hitnology
Copy link

@sampotts Can't wait this feature.
I want to change my website and waiting for you since may=.=

@robguy21
Copy link

Is there an ETA for this feature?

@Abdalrhmam
Copy link

Great work

@diasfelipe
Copy link

diasfelipe commented Jan 31, 2017

Looks good, can't wait.

@singleseeker
Copy link

How`s it going?

@aolko
Copy link

aolko commented Mar 6, 2017

Is it done and can be pushed to the master branch?

@sampotts
Copy link
Owner

sampotts commented Mar 6, 2017

No, but my baby son is and is growing well. Sorry, he takes priority right now.

@tonmoy-ajize
Copy link

Waiting for this badly.

@sampotts
Copy link
Owner

I've been managing to squeeze in some more time here and there in between changing nappies and getting the little fella to sleep. Sorry it's just been a bit more complicated than previous changes given all the new UI components and having a kid in the middle of it wasn't well planned.

This is going to be launched along with:

  • Multiple caption support
  • More advanced loop support
  • Speed controls

I'm getting there just hang in there 👍

image

@friday
Copy link
Collaborator

friday commented Aug 8, 2018

This is implemented now for HTML5. For Vimeo it's not supported/possible (at least without a hack). For YouTube it was supported. Sam implemented it, but YouTube remove the support on their end shortly after :( hls.js, dash.js and Shaka player is still not supported. There are a few assumptions in the architecture that makes this a little hard to implement.

@friday friday closed this as completed Aug 8, 2018
@mu7mdmagdy
Copy link

there is not way to add quality list for vimeo ?? after api V.3 i think it become easier !

@AliHaiider
Copy link

@friday @sampotts any update about to add Quality for vimeo video?

@medzhidov
Copy link

@friday here is official vimeo api to get\change quality:
https://github.com/vimeo/player.js/

@sampotts
Copy link
Owner

sampotts commented Feb 6, 2021

I'm well aware of the Vimeo JS SDK. Plyr already uses it. However quality selection is reserved for paid Vimeo accounts. Quality selection is already supported and documented for HTML5. YouTube's API for it is merely allows suggesting a quality level and in reality it's ignored 99.9% of the time. It useless.

@medzhidov
Copy link

@sampotts It is useful, because youtube\vimeo may set 720p for default, bases on internet connection, but users want to see it in 1080p, because their connection support it. And what is problem with paid vimeo accounts? I can give to developers access to my paid vimeo account, it is not problem. We want to use this player in our projects, but quality selection is really important feature.

@sampotts
Copy link
Owner

sampotts commented Feb 7, 2021

I don't disagree that it's useful. However, as I said, for YouTube their API is useless for it. I opened a bug and they closed it as expected behavior. You could try again.

As for Vimeo, I'd need access to a paid account or at least a video from a paid account then I could add support. I'm surprised no ones given it a go and opened a PR if it's that critical.

@medzhidov
Copy link

@sampotts i did it just now, link to video:
https://vimeo.com/509541849

@sampotts
Copy link
Owner

sampotts commented Feb 7, 2021

Thanks, I'll take a look.

@Timur0076565
Copy link

hi!
Is there currently a video quality option for YouTube?

@sampotts
Copy link
Owner

@Timur0076565 See my comment further up #218 (comment)

@Timur0076565
Copy link

Can I change the default YouTube controls from 0 to 1?
This code doesn't work:

<iframe :src="`${data.src}?controls=1`" allowfullscreen allowtransparency allow="autoplay" ></iframe>

@Timur0076565
Copy link

@sampotts
Can I change the default YouTube controls from 0 to 1?
This code doesn't work:

<iframe :src="`${data.src}?controls=1`" allowfullscreen allowtransparency allow="autoplay" ></iframe>

@medzhidov
Copy link

@sampotts
Can I change the default YouTube controls from 0 to 1?
This code doesn't work:

<iframe :src="`${data.src}?controls=1`" allowfullscreen allowtransparency allow="autoplay" ></iframe>

Stupid question. If you wanna use default controls - add default youtube embed with no plyr.

@Timur0076565
Copy link

@medzhidov, stupid answer!!!! I wanna use plyr with default youtube controls. This is vary important for my player. If you such a very smart person, tell me how i can do it!

@medzhidov
Copy link

@medzhidov, stupid answer!!!! I wanna use plyr with default youtube controls. This is vary important for my player. If you such a very smart person, tell me how i can do it!

I guess Plyr parse link and take only videoId from url, so any params in your link will ignored

@Timur0076565
Copy link

@medzhidov, yes, I already understood that !!
I need some kind of solution how to add YouTube controls using plyr.
Do you have an ideas?

@Timur0076565
Copy link

@medzhidov ???

@medzhidov
Copy link

@medzhidov, yes, I already understood that !!
I need some kind of solution how to add YouTube controls using plyr.
Do you have an ideas?

Fork this repo and do what you want)

@Timur0076565
Copy link

@medzhidov, Илья, по-моему я задал вполне адекватный вопрос, как мне включить controls = 1, ты же вместо того чтобы подсказать пишешь мне какую то фигню, я повторюсь, если ты такой умный парень, подскажи решение или не лез со своими "Stupid question"!

@Timur0076565
Copy link

@medzhidov, А для чего мне Ютубовские контроллеры в этом плеере - это мое личное дело)

@medzhidov
Copy link

medzhidov commented May 27, 2021

@Timur0076565 i answered your question - fork this repo and change youtube embedding for your needs. Stop spam here

@Edu4rdob
Copy link

Has anyone been able to validate the option for quality exchange recently?

@Raprodent
Copy link

Has any1 found new tags for the itag format? 4K with audio?

@jelkomme
Copy link

jelkomme commented Apr 3, 2023

@sampotts Could you provide an update on the status of this feature? Has there been any addition of a quality option for playing YouTube videos? If not, it would be highly beneficial if the player could play videos in HD by default.

@jelkomme
Copy link

jelkomme commented Apr 3, 2023

maybe you can add a feature to AUTO Play Videos in HD by default!?

@sampotts
Copy link
Owner

sampotts commented Apr 3, 2023

@jelkomme If you've not gathered already, it's not something Plyr has any control over.

The changes explained below have been in effect for more than one year. This update merely aligns the documentation with current functionality:

The getPlaybackQuality, setPlaybackQuality, and getAvailableQualityLevels functions are no longer supported. In particular, calls to setPlaybackQuality will be no-op functions, meaning they will not actually have any impact on the viewer's playback experience.

Source: https://developers.google.com/youtube/iframe_api_reference#october-24,-2019

If you want it restored, I'd suggest reaching out to YouTube/Google, but I don't fancy your chances. Good luck!

@jelkomme
Copy link

jelkomme commented Apr 3, 2023

@sampotts Hi, thanks for the quick response. I just need a player for my website, it can even be the standard YouTube player without a Plyr skin, as long as it has copyright protection (i.e. it doesn't allow clicking on the title, sharing, checking the source file code URL of the video, etc.). like its already beeng integrated withing your player by this WP-plugin: https://wordpress.org/plugins/protected-video/ - so like you see in the plugin its possble to add some sort of "protection".

Would you be able to take on such a custom job because i need that quality check for my videos?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests