Skip to main content
Known Participant
March 27, 2020
Question

stagewebview won't show this html/ js but browser does

  • March 27, 2020
  • 0 replies
  • 185 views

is there anyway to get stagewebview to show the webpage below I suspect it does not like outside source files like

<script src="http://www.ohohmoney.com/mystuff/engine/phaser3/dist/phaser.min.js"></script>

that does't work either

<script src="engine/phaser3/dist/phaser.min.js"></script>

/////////////////////////////////////////website code///////////////////////////////////////////////////////////

<!DOCTYPE html>
<html>
<head>
<title>My Game</title>
<script src="http://www.ohohmoney.com/mystuff/engine/phaser3/dist/phaser.min.js"></script>
<script>
var config = {
type: Phaser.AUTO,
scale: {
width: 640,
height: 480
},
scene: {
preload: preload,
create: create,
update: update
}
};
var game = new Phaser.Game(config);
function preload()
{
this.load.image('logo', 'http://www.ohohmoney.com/mystuff/publicPhotos/buttons/1.jpg');
}
function create()
{
this.add.image(320, 210, 'logo');
}
function update() {}
</script>
</head>
<body>
</body>

This topic has been closed for replies.