提交 c234cd0a 编写于 作者: J Jerome Etienne

more on link to webar-playground

上级 62ffc3be
......@@ -171,7 +171,7 @@
</div>
<div style='position: absolute; bottom: 10px; width:100%; text-align: center;';>
Made with love by <a href='https://twitter.com/jerome_etienne' target='_blank'>@jerome_etienne</a>.
Create your own AR with <a id='webARPlaygroundLink' href='javascript:void(0)' target='_blank'>WebAR Playground</a>.
Create your own AR with <a id='webARPlaygroundLink' href='?https://jeromeetienne.github.io/webar-playground/'>WebAR Playground</a>.
Direct link to the <a target='_blank' id='arAppURLLink' href='javascript:void(0)'>app</a>
</div>
</main>
......
......@@ -54,19 +54,6 @@ function arAppURLUpdatePage(url){
}
function updateArAppURL(){
;(function(){
var urlOptions = {
trackingBackend: 'artoolkit',
markerPageResolution: window.innerWidth + 'x' + window.innerHeight,
firebasePeerID: (typeof(firebasePeerID) !== 'undefined' && firebasePeerID !== null) ? firebasePeerID : undefined,
arAppURL: 'https://jeromeetienne.github.io/webar-playground/'
}
var url = 'app/' + '#' + encodeURIComponent(JSON.stringify(urlOptions));
document.querySelector('#webARPlaygroundLink').href = url
})()
//////////////////////////////////////////////////////////////////////////////
// build urlOptions
//////////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册