Embed into Website or App
Learn how to embed an FaceAR experience to your web page.
Using iframe
<iframe src="https://api.echo3D.com/facear?key=<YOUR_API_KEY>" allow="camera *"/>Code Example
Last updated
Learn how to embed an FaceAR experience to your web page.
<iframe src="https://api.echo3D.com/facear?key=<YOUR_API_KEY>" allow="camera *"/>Last updated
<!DOCTYPE html>
<html>
<head>
<title>Ebmedded FaceAR Experience through echo3D</title>
<style>
#background {
top: 0;
left: 0;
position: fixed;
width: 100%;
height: 100%;
background-color: rgb(0, 45, 100);
z-index: -1;
}
h1 {
position: relative;
color: white;
text-align: center;
font-size: 5vh;
font-family: Arial, Helvetica, sans-serif;
}
iframe {
position: relative;
width: 100%;
height: 75vh;
}
</style>
</head>
<body>
<div id="background"></div>
<h1>Ebmedded FaceAR Experience through echo3D</h1>
<iframe src="https://api.echo3D.com/facear?key=<YOUR_API_KEY>"
allow="camera *">
</iframe>
</body>
</html>