how to use plyr on local server #2615
Unanswered
AppBuilder1984
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Plyr Community,
I am currently walking in the dark. Therefore I thought I create a github account and ask.
I have tried VideoJS before, and now switched to Plyr.
I am developing a stand alone PHP module in order to show videos (local, youtube, vimeo).
PHP code (index.php) is being included using a regular core Joomla4 Module.
I am fetching plyr from below resources and everything looks good.
No errors with Console (Firefox) and player looks good as well:
index.php:
I could just download those files and use them locally, correct?
Initially I have downloaded the GitHub .zip and tried to locally include the needed files. But...there is no plyr.css, only a SASS file.
My attempt ended with no player and errors in Console:
Now I am confused on how to get and include all necessary files for plyr. I have checked the docs, but I am still confused on how to use the GitHub .zip. Maybe a copy of the 2 cdn files will do just fine. But I want to check with Plyr community first, before I go on developing.
Beta Was this translation helpful? Give feedback.
All reactions