mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:55:55 +00:00
af_redditimgur: don't generate a warning if fallback video is not found for hosted:video post
This commit is contained in:
@@ -205,7 +205,7 @@ class Af_RedditImgur extends Plugin {
|
|||||||
|
|
||||||
Debug::log("found hosted video url: $media_url / poster $poster_url, looking up fallback url...", Debug::LOG_VERBOSE);
|
Debug::log("found hosted video url: $media_url / poster $poster_url, looking up fallback url...", Debug::LOG_VERBOSE);
|
||||||
|
|
||||||
$fallback_url = $data["media"]["reddit_video"]["fallback_url"];
|
$fallback_url = $data["media"]["reddit_video"]["fallback_url"] ?? null;
|
||||||
|
|
||||||
if ($fallback_url) {
|
if ($fallback_url) {
|
||||||
Debug::log("found video fallback_url: $fallback_url", Debug::LOG_VERBOSE);
|
Debug::log("found video fallback_url: $fallback_url", Debug::LOG_VERBOSE);
|
||||||
|
|||||||
Reference in New Issue
Block a user