af_redditimgur: don't generate a warning if fallback video is not found for hosted:video post
This commit is contained in:
parent
720b318796
commit
92747b1d21
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue