Merge pull request #1652 from frappe/develop
chore: merge 'develop' into 'main'
This commit is contained in:
@@ -551,11 +551,10 @@ export const enablePlyr = async () => {
|
|||||||
const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
|
||||||
|
|
||||||
const setupPlyrForVideo = (video, players) => {
|
const setupPlyrForVideo = (video, players) => {
|
||||||
const src = video.getAttribute('src') || video.getAttribute('data-src')
|
const src = video.getAttribute('src')
|
||||||
|
|
||||||
if (src) {
|
if (src) {
|
||||||
const videoID = extractYouTubeId(src)
|
const videoID = extractYouTubeId(src)
|
||||||
video.setAttribute('data-plyr-provider', 'youtube')
|
|
||||||
video.setAttribute('data-plyr-embed-id', videoID)
|
video.setAttribute('data-plyr-embed-id', videoID)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
__version__ = "2.32.0"
|
__version__ = "2.32.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user