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.getCurrentUser().then((user) => {
|
2021-05-26 17:18:38 +02:00
|
|
|
console.log('id : ', user.id);
|
|
|
|
console.log('nickName : ', user.nickName);
|
|
|
|
console.log('tags : ', user.tags);
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|