sampotts / plyr

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

Allow passing existing embed <iframe> to constructor #722

Closed vibhi19 closed 6 years ago

vibhi19 commented 7 years ago

Hi Thanks for awesome Player

Can You provide code for player automatically works on video embedded through YouTube Iframe on post

sampotts commented 7 years ago

I think what @vibhi19 is referring to is setting up Plyr on an already loaded embed <iframe>. It's something I've considered doing but won't be part of v3. I like it though as it's true progressive enhancement as the HTML5 player is.

vibhi19 commented 7 years ago

Yes im referring to is setting up Plyr on an already loaded embed