* minor fixes from prod
This commit is contained in:
parent
04649561f0
commit
da609de918
|
@ -92,6 +92,10 @@ window.addEventListener('DOMContentLoaded', (event) => {
|
|||
|
||||
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";
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue