Fix embedded player
This commit is contained in:
parent
c8e3a9ff19
commit
b887c0ef64
|
@ -0,0 +1 @@
|
||||||
|
Fix an issue with the embedded player not showing any content (#1675)
|
|
@ -252,7 +252,7 @@ function getURLParams () {
|
||||||
const decode = function (s) { return decodeURIComponent(s.replace(pl, ' ')) }
|
const decode = function (s) { return decodeURIComponent(s.replace(pl, ' ')) }
|
||||||
const query = window.location.search.substring(1)
|
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
|
return urlParams
|
||||||
}
|
}
|
||||||
export default {
|
export default {
|
||||||
|
|
Loading…
Reference in New Issue