"plyr" HTML5 media player

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
Mohammed AlSarsawi
Registered User
Posts: 67
Joined: Fri Mar 03, 2017 1:35 pm

"plyr" HTML5 media player

Post by Mohammed AlSarsawi » Sat Apr 21, 2018 7:10 am

Hello

I need HTML5 media player for local videos and audios and for YouTube also, with speed control
I found everything's I need with "plyr" and I am trying to use it but I failed to load it

https://github.com/sampotts/plyr

I put there CDN in overall_header.html

Code: Select all

<script src="https://cdn.plyr.io/3.2.0/plyr.js"></script>
<link rel="stylesheet" href="https://cdn.plyr.io/3.2.0/plyr.css">
and for local video for example I used this

Code: Select all

<video id="player" playsinline controls>
    <source src="/path/to/video.mp4" type="video/mp4">
</video>
I can play the video but not with plyr

what I miss here?
can any one help please?

Post Reply

Return to “phpBB Custom Coding”

Who is online

Users browsing this forum: No registered users and 6 guests