2021-05-26 17:18:38 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<script src="http://play.workadventure.localhost/iframe_api.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<script>
|
2021-06-23 11:32:11 +02:00
|
|
|
WA.room.getCurrentRoom().then((room) => {
|
2021-05-26 17:18:38 +02:00
|
|
|
console.log('id : ', room.id);
|
|
|
|
console.log('map : ', room.map);
|
|
|
|
console.log('mapUrl : ', room.mapUrl);
|
|
|
|
console.log('startLayer : ', room.startLayer);
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|