mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Add 'time_continue'
This commit is contained in:
parent
b3d5d41496
commit
1e7873d8e9
1 changed files with 7 additions and 3 deletions
|
@ -305,13 +305,17 @@ def process_video_params(query, preferences)
|
||||||
video_loop ||= 0
|
video_loop ||= 0
|
||||||
video_loop = video_loop == 1
|
video_loop = video_loop == 1
|
||||||
|
|
||||||
if query["start"]?
|
|
||||||
video_start = decode_time(query["start"])
|
|
||||||
end
|
|
||||||
if query["t"]?
|
if query["t"]?
|
||||||
video_start = decode_time(query["t"])
|
video_start = decode_time(query["t"])
|
||||||
end
|
end
|
||||||
video_start ||= 0
|
video_start ||= 0
|
||||||
|
if query["time_continu"]?
|
||||||
|
video_start = decode_time(query["t"])
|
||||||
|
end
|
||||||
|
video_start ||= 0
|
||||||
|
if query["start"]?
|
||||||
|
video_start = decode_time(query["start"])
|
||||||
|
end
|
||||||
|
|
||||||
if query["end"]?
|
if query["end"]?
|
||||||
video_end = decode_time(query["end"])
|
video_end = decode_time(query["end"])
|
||||||
|
|
Loading…
Reference in a new issue