File: /var/www/vhost/disk-apps/demo.sports-crowd.com/public/ar/index.html
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://aframe.io/releases/1.0.0/aframe.min.js"></script>
<script src="https://raw.githack.com/AR-js-org/AR.js/3.3.1/aframe/build/aframe-ar-nft.js"></script>
</head>
<body></body>
<script type="text/javascript">
$(document).ready(function () {
const parameterBase64 = window.location.search.split('name=')[1];
const nameReal = atob(parameterBase64)
$('body').append(`
<a-scene embedded arjs="sourceType: webcam;">
<a-marker preset="hiro">
<a-entity gltf-model="escudo.gltf" scale="0.05 0.05 0.05" position="0 0.2 -1.2" rotation="-90 180 180">
</a-entity>
<a-plane position="0 0.2 -0.291" rotation="-90 180 180" width="2" height="0.5" color="#c60216">
</a-plane>
<a-entity text="value: ${nameReal}; color: #FFFFFF; width: 3.050" position="1.06 0.2 -0.381"
rotation="-90 180 180"></a-entity>
<a-entity text="value: Fiel hincha del #Poderoso; color: #FFFFFF; width: 3.050"
position="0.741 0.2 -0.2" rotation="-90 180 180"></a-entity>
</a-marker>
</a-scene>`)
});
</script>
</html>