16 lines
469 B
HTML
16 lines
469 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<script src="http://play.workadventure.localhost/iframe_api.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
WA.getCurrentRoom().then((room) => {
|
|
console.log('id : ', room.id);
|
|
console.log('map : ', room.map);
|
|
console.log('mapUrl : ', room.mapUrl);
|
|
console.log('startLayer : ', room.startLayer);
|
|
})
|
|
</script>
|
|
</body>
|
|
</html> |