FIx embedded player

This commit is contained in:
Ciaran Ainsworth 2022-01-22 19:25:56 +01:00 committed by Georg Krause
parent 0a544acb17
commit be6876966b
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Fix an issue with the embedded player not showing any content (#1675)

View File

@ -252,7 +252,7 @@ function getURLParams () {
const decode = function (s) { return decodeURIComponent(s.replace(pl, ' ')) }
const query = window.location.search.substring(1)
while (match === search.exec(query)) { urlParams[decode(match[1])] = decode(match[2]) }
while ((match = search.exec(query)) !== null) { urlParams[decode(match[1])] = decode(match[2]) }
return urlParams
}
export default {