- commit
- e922d9ffd5333273fded38e3457dd25010331f09
- parent
- 5b6e1db6e5b4b5f0e429078e6417a0edc8d29bb1
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-07-29 20:01
update dash formats
Diffstat
M | neddit.py | 2 | +- |
M | static/video.js | 2 | +- |
2 files changed, 2 insertions, 2 deletions
diff --git a/neddit.py b/neddit.py
@@ -53,7 +53,7 @@ env.filters['link'] = normalize_link 53 53 54 54 55 55 def dash_resize(url):56 -1 return re.sub('DASH_[0-9]*', 'DASH_240', url)-1 56 return re.sub('DASH_[0-9]*', 'DASH_220', url) 57 57 env.filters['dash_resize'] = dash_resize 58 58 59 59
diff --git a/static/video.js b/static/video.js
@@ -32,7 +32,7 @@ 32 32 33 33 var url = video.querySelectorAll('source')[4].src; 34 34 var audio = document.createElement('audio');35 -1 audio.src = url.replace('DASH_96', 'DASH_audio');-1 35 audio.src = url.replace('DASH_96', 'DASH_AUDIO_64'); 36 36 audio.preload = 'none'; 37 37 audio.loop = true; 38 38 video.after(audio);