Fixing url and shorten url
This commit is contained in:
parent
9d748e6a3f
commit
420db855ce
@ -30,11 +30,11 @@ $(function() {
|
|||||||
|
|
||||||
let url_string = window.location.href;
|
let url_string = window.location.href;
|
||||||
let url = new URL(url_string);
|
let url = new URL(url_string);
|
||||||
room = url.searchParams.get('room');
|
room = url.searchParams.get('r');
|
||||||
|
|
||||||
console.log(room);
|
console.log(room);
|
||||||
|
|
||||||
socket = io('https://stream.gto.to/');
|
socket = io('https://gto.to/');
|
||||||
|
|
||||||
$('#call').on('click', function(e) { presenter(); e.preventDefault(); } );
|
$('#call').on('click', function(e) { presenter(); e.preventDefault(); } );
|
||||||
$('#viewer').on('click', function(e) { viewer(); e.preventDefault(); } );
|
$('#viewer').on('click', function(e) { viewer(); e.preventDefault(); } );
|
||||||
@ -200,6 +200,7 @@ function currentRoom() {
|
|||||||
return room;
|
return room;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Lightbox utility (to display media pipeline image in a modal dialog)
|
* Lightbox utility (to display media pipeline image in a modal dialog)
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user