Fix embedded player

1675-widget-improperly-configured-missing-resource-id-2
Ciaran Ainsworth 2022-01-22 19:24:02 +01:00
rodzic c8e3a9ff19
commit b887c0ef64
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

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

Wyświetl plik

@ -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 {