forked from daattali/beautiful-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webar.html
25 lines (21 loc) · 1.02 KB
/
webar.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
layout: page
title: 'Web AR Demo'
---
<!DOCTYPE html>
<html><head><meta name="GCD" content="YTk3ODQ3ZWZhN2I4NzZmMzBkNTEwYjJl825c3147959a47938204cdd798ddf96e"/>
<title>AR Library</title>
</head>
<body>
<h1>Welcome!</h1>
<p>Here we are testing Apple's QuickLook AR capabilites! <b>Only works in Safari on iOS devices</b></p>
<a id="ar-link" href="https://github.com/mura94/mura94.github.io/releases/download/1.0.2/VLoc_Full_Animation_Atlased_Rigged_Tissue_03.usdz#callToAction=Learn%20More&checkoutTitle=V-Loc%20Wound%20Closure&checkoutSubtitle=Click%20here%20to%20learn%20more%20about%20the%20V-Loc%E2%84%A2%20device&allowsContentScaling=1" rel="ar">
<img src="../assets/img/QR_WebARTestPage.png" width="200">
</a>
<script>
document.getElementById("ar-link").addEventListener("message", function (event) {
if (event.data == "_apple_ar_quicklook_button_tapped") {
window.location.assign("https://www.medtronic.com/covidien/en-us/products/wound-closure/barbed-sutures.html");
} }, false);
</script>
</body></html>