mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
* Revert "Fix broken video playback by forcing fmp4"
This reverts commit 52db03b73a.
* Fix audio url in video m3u8
* Upgrade hls.js to 1.5.1 and use full version
This commit is contained in:
parent
52db03b73a
commit
cdff5e9b1c
5 changed files with 9 additions and 9 deletions
|
|
@ -31,9 +31,7 @@ proc getHmac*(data: string): string =
|
|||
|
||||
proc getVidUrl*(link: string): string =
|
||||
if link.len == 0: return
|
||||
let
|
||||
link = link.replace("cmaf", "fmp4")
|
||||
sig = getHmac(link)
|
||||
let sig = getHmac(link)
|
||||
if base64Media:
|
||||
&"/video/enc/{sig}/{encode(link, safe=true)}"
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue