diff --git a/iframe.html b/iframe.html index 10ecde1..b9b6ceb 100644 --- a/iframe.html +++ b/iframe.html @@ -83,9 +83,10 @@ media.streams[e.data.streamID] = document.createElement("video"); media.streams[e.data.streamID].id = "video_"+e.data.streamID; media.streams[e.data.streamID].autoplay = true; - // media.streams[e.data.streamID].controls = true; + media.streams[e.data.streamID].muted = true; + media.streams[e.data.streamID].controls = true; media.streams[e.data.streamID].srcObject = media.tracks[e.data.trackID].stream; - Container.appendChild(media.streams[e.data.streamID]); + mainLog.appendChild(media.streams[e.data.streamID]); } else { if (e.data.kind=="video"){ media.streams[e.data.streamID].srcObject.getVideoTracks().forEach(trk=>{ @@ -216,10 +217,10 @@ { guestId: 'companion', headers: '
These commands re-use the Companion.Ninja HTTP/WSS API, except you can send them via this Iframe interface.
', - info: ` - ` + info: '\ + ' } ) @@ -241,7 +242,7 @@ function getGuestAPIGenerator() { var targetGuest = newElement('div', { classList: 'target-guest', - innerHTML: `Directors can target commands to individual guests
Directors can target commands to individual guests