Replies: 1 comment
-
As far as I understand, all you need to specify is the URL of the video file. Let's assume your site is programmed in WordPress. Just try to create a HTML block with the following code and you'll see a video of my own site on your site: <script src="https://cdn.plyr.io/3.6.8/plyr.js"></script> <script> document.addEventListener('DOMContentLoaded', () => { var player = new Plyr('bb-video', { controls: ['play', 'progress', 'volume', 'captions', 'settings', 'fullscreen'], captions: { active: true } }); </script>Here you see that the video URL is https://lebonheurestpossible.org/cloud/AseemMalhotra-JoeRogan.mp4" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently creating a personal website where I can watch videos, until now I have been downloading videos and using the html5 video player. I noticed that my storage was getting low and wondered if I could do something like the Youtube player but for different websites.
let's take diode.zone as an example, it's very similar to Youtube and the embed links look pretty similar, but when I try to add the embed links to my html using <iframe>, the video comes out without the Plyr customization/raw
Does anyone have an answer?
sorry for bad english
Beta Was this translation helpful? Give feedback.
All reactions