How to Play Youtube Embedded Video With Plyr.io Video Player
See Demo on Repl :- https://repl.it/@SH20RAJ/PlyrVideo#index.html
Video Documentation :-
See Latest Documentation :-
Plyr.io Video Player - Integration - Skin Customizing - Adding Download Button :- https://codexdindia.blogspot.com/2021/05/plyrio-video-player-integration-skin-Customizing-and-Adding-Download-Button-to-plyr.html
Step 1 :- Add CDNs
1. Css CDN before </head> Tag
2. JS CDN before </body> Tag
Step 2 :-
Insert Your YouTube iframe Code in Between these div tags :-
(Here The main thing is to add or assign id="player" to your div element)
Now , Your WebPage Will Look Like :-
See Full Script Here :-
Chats During Video Making .....
Plyr.io YouTube Embeded Video Player
00:00
00:00
Our Answer on StackOverFlow :- https://stackoverflow.com/questions/63340764/how-to-implement-plyr-js-within-a-rails-6-site/65359662#65359662
Comments
Because the demo.css has many extra styling options
CDNs :- Checkout latest video on plyr.io topic so you can find how to get the proper styling css cdn.