Update videoSync.html
Added workaround for onclick in HTML not firing properly.
This commit is contained in:
parent
8dc7e00978
commit
b719f32cf3
@ -163,6 +163,8 @@
|
|||||||
} else if (messageData.action == "videoEnd") {
|
} else if (messageData.action == "videoEnd") {
|
||||||
document.getElementById("video").src = "";
|
document.getElementById("video").src = "";
|
||||||
document.getElementById('video').poster = "assets/clickToWatch.png"
|
document.getElementById('video').poster = "assets/clickToWatch.png"
|
||||||
|
} else if (messageData.action == "firstClick") {
|
||||||
|
requestSync();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -181,4 +183,4 @@
|
|||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user