* minor fixes from prod
This commit is contained in:
parent
04649561f0
commit
da609de918
|
@ -91,7 +91,11 @@ window.addEventListener('DOMContentLoaded', (event) => {
|
||||||
console.log('selected audio format', audioFormat);
|
console.log('selected audio format', audioFormat);
|
||||||
|
|
||||||
fps = videoFormat.fps;
|
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)
|
selectStreams(videoFormat, audioFormat)
|
||||||
}
|
}
|
||||||
video.preload="auto";
|
video.preload="auto";
|
||||||
|
|
|
@ -35,6 +35,7 @@ if [[ "${get_data[v]}" ]]; then
|
||||||
"vcodec": "vp8",
|
"vcodec": "vp8",
|
||||||
"acodec": "vorbis"
|
"acodec": "vorbis"
|
||||||
}]'
|
}]'
|
||||||
|
subs='[]'
|
||||||
if [[ "${r[host]}" == "${cfg[flash_host]}" ]]; then
|
if [[ "${r[host]}" == "${cfg[flash_host]}" ]]; then
|
||||||
url='http://f.sakamoto.pl/videoplayback_.flv'
|
url='http://f.sakamoto.pl/videoplayback_.flv'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue