mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-12 16:20:27 +08:00
@@ -29,7 +29,7 @@ const ProcessFeed = ({ data = [] }) => {
|
|||||||
const formatVideo = (media) => {
|
const formatVideo = (media) => {
|
||||||
let content = '';
|
let content = '';
|
||||||
const video = media.video_info.variants.reduce((video, item) => {
|
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;
|
video = item;
|
||||||
}
|
}
|
||||||
return video;
|
return video;
|
||||||
|
|||||||
Reference in New Issue
Block a user