mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add button to enable hls playback when disabled
This commit is contained in:
parent
1c43dd66a7
commit
ac6f4e7d61
5 changed files with 53 additions and 33 deletions
|
|
@ -58,7 +58,9 @@ proc renderVideoDisabled(video: Video): VNode =
|
|||
of mp4:
|
||||
p: text "mp4 playback disabled in preferences"
|
||||
of m3u8, vmap:
|
||||
p: text "hls playback disabled in preferences"
|
||||
form(`method`="post", action=("/enablehls")):
|
||||
button(`type`="submit"):
|
||||
text "Enable hls playback"
|
||||
|
||||
proc renderVideoUnavailable(video: Video): VNode =
|
||||
buildHtml(tdiv):
|
||||
|
|
|
|||
Loading…
Reference in a new issue