style: auto-fix linting issues
This commit is contained in:
parent
34ba920662
commit
11a828668c
1 changed files with 1 additions and 1 deletions
2
js/ui.js
2
js/ui.js
|
|
@ -2591,7 +2591,7 @@ export class UIRenderer {
|
||||||
|
|
||||||
setupHlsVideo(video, result, fallbackImg) {
|
setupHlsVideo(video, result, fallbackImg) {
|
||||||
if (!result) return;
|
if (!result) return;
|
||||||
const url = typeof result === 'string' ? result : (result.videoUrl || result.hlsUrl);
|
const url = typeof result === 'string' ? result : result.videoUrl || result.hlsUrl;
|
||||||
if (!url) return;
|
if (!url) return;
|
||||||
|
|
||||||
if (url.endsWith('.m3u8')) {
|
if (url.endsWith('.m3u8')) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue