mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-10 23:34:38 +08:00
@@ -29,7 +29,7 @@ const ProcessFeed = ({ data = [] }) => {
|
||||
const formatVideo = (media) => {
|
||||
let content = '';
|
||||
const video = media.video_info.variants.reduce((video, item) => {
|
||||
if ((item.bitrate || 0) > (video.bitrate || 0)) {
|
||||
if ((item.bitrate || 0) > (video.bitrate || -Infinity)) {
|
||||
video = item;
|
||||
}
|
||||
return video;
|
||||
|
||||
Reference in New Issue
Block a user