~abreu-alexandre/unity-webapps-qml/location-specific-homepage

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>

<head>
<script>

function callback() {}

window.onload = function() {
    document.addEventListener('launchEmbeddedUI', function(e) {
        var api = external.getUnityObject('1.0');
        api.launchEmbeddedUI('embeddedUI', callback, { fileToShare: "me", p: "you", q: "them" })
    })
}

</script>
</head>

<body>
</body>

</html>