Skip to content

Instantly share code, notes, and snippets.



Created Apr 3, 2018
What would you like to do?
var socket = io.connect("");
document.addEventListener("DOMContentLoaded", function(event) {
var media = document.querySelector('video');
socket.on("doPlayLocal", function (data) {
console.log("doPlayLocal called");
socket.on("doStopLocal", function (data) {
console.log("doStopLocal called")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.