mirror of
https://github.com/davedoesdev/streamana.git
synced 2025-10-05 05:26:52 +08:00
Hide ingestion URL when live on small screen
This commit is contained in:
@@ -61,6 +61,7 @@ async function start() {
|
||||
|
||||
go_live_el.disabled = true;
|
||||
ingestion_url_el.disabled = true;
|
||||
ingestion_url_el.parentNode.classList.add('d-none');
|
||||
ffmpeg_lib_url_el.disabled = true;
|
||||
lock_portrait_el.disabled = true;
|
||||
zoom_portrait_el.disabled = true;
|
||||
@@ -115,6 +116,7 @@ async function start() {
|
||||
go_live_el.checked = false;
|
||||
go_live_el.disabled = false;
|
||||
ingestion_url_el.disabled = false;
|
||||
ingestion_url_el.parentNode.classList.remove('d-none');
|
||||
ffmpeg_lib_url_el.disabled = false;
|
||||
lock_portrait_el.disabled = false;
|
||||
zoom_portrait_el.disabled = lock_portrait_el.checked;
|
||||
@@ -271,8 +273,8 @@ async function start() {
|
||||
canvas_el.style.width = canvas_el_parent.parentNode.offsetWidth;
|
||||
canvas_el.style.height = canvas_el_parent.parentNode.offsetWidth / ar_canvas;
|
||||
}
|
||||
// TODO: responsive including top section
|
||||
// hide ingestion url when live and small?
|
||||
// TODO:
|
||||
// still if click stop too soon get error
|
||||
// windows, android, iOS, find a mac to test
|
||||
// check behaviour when rotate phone
|
||||
}
|
||||
|
Reference in New Issue
Block a user