2021-05-20 08:58:05 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2021-11-29 19:05:13 +01:00
|
|
|
<script src="<?php echo $_SERVER["FRONT_URL"] ?>/iframe_api.js"></script>
|
2021-07-20 19:54:45 +02:00
|
|
|
<script>
|
|
|
|
window.addEventListener('load', () => {
|
|
|
|
WA.room.setProperty('iframeTest', 'openWebsite', 'https://www.wikipedia.org/');
|
|
|
|
WA.room.setProperty('metadata', 'openWebsite', 'https://www.wikipedia.org/');
|
|
|
|
})
|
|
|
|
</script>
|
2021-05-20 08:58:05 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2021-07-20 19:54:45 +02:00
|
|
|
<p>Change the url of this iframe and add the 'openWebsite' property to the red tile layer</p>
|
2021-05-20 08:58:05 +02:00
|
|
|
</body>
|
2021-11-29 19:05:13 +01:00
|
|
|
</html>
|