Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d55040e43 | ||
|
|
290f785a47 | ||
|
|
39ef187f6b |
@@ -551,11 +551,10 @@ export const enablePlyr = async () => {
|
||||
const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
||||
|
||||
const setupPlyrForVideo = (video, players) => {
|
||||
const src = video.getAttribute('src') || video.getAttribute('data-src')
|
||||
const src = video.getAttribute('src')
|
||||
|
||||
if (src) {
|
||||
const videoID = extractYouTubeId(src)
|
||||
video.setAttribute('data-plyr-provider', 'youtube')
|
||||
video.setAttribute('data-plyr-embed-id', videoID)
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = "2.32.1"
|
||||
__version__ = "2.32.2"
|
||||
|
||||
Reference in New Issue
Block a user