* minor fixes from prod

merge-requests/6/head
Dominika Liberda 2022-11-29 06:18:36 +00:00
parent 04649561f0
commit da609de918
2 changed files with 6 additions and 1 deletions

View File

@ -91,7 +91,11 @@ window.addEventListener('DOMContentLoaded', (event) => {
console.log('selected audio format', audioFormat);
fps = videoFormat.fps;
if (searchParams.get("q") != null) { // sloppy but idc
videoFormat = formats.find((fmt) => fmt.format_id == searchParams.get("q"));
audioFormat = null;
}
selectStreams(videoFormat, audioFormat)
}
video.preload="auto";

View File

@ -35,6 +35,7 @@ if [[ "${get_data[v]}" ]]; then
"vcodec": "vp8",
"acodec": "vorbis"
}]'
subs='[]'
if [[ "${r[host]}" == "${cfg[flash_host]}" ]]; then
url='http://f.sakamoto.pl/videoplayback_.flv'
fi