We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e84e6 commit 7fa35f2Copy full SHA for 7fa35f2
web/packages/core/src/ruffle-player.ts
@@ -589,7 +589,7 @@ export class RufflePlayer extends HTMLElement {
589
590
if ("url" in options) {
591
console.log(`Loading SWF file ${options.url}`);
592
- this.swfUrl = new URL(options.url, document.location.href);
+ this.swfUrl = new URL(options.url, document.baseURI);
593
594
const parameters = {
595
...sanitizeParameters(
0 commit comments