Skip to content

Commit

Permalink
feat: update width and height
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmi319 committed Sep 23, 2024
1 parent fbe22d9 commit e3e8747
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ <h1>My SWF Player</h1>
const container = document.getElementById("player-container");
container.appendChild(player);
player.load("fe6_7chart.swf"); <!-- 替换为你的SWF文件路径 -->
player.style.width = "1600px";
player.style.height = "1200px";
});
</script>

<div id="player-container" style="width:800px; height:600px;">
<div id="player-container" style="width:1600px; height:1200px;">
<p>Loading SWF...</p>
</div>

Expand Down

0 comments on commit e3e8747

Please sign in to comment.