mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-15 22:16:22 +02:00
[AssociatedPressNewsBridge] fix checks (#2608)
This commit is contained in:
@ -200,14 +200,14 @@ class AssociatedPressNewsBridge extends BridgeAbstract {
|
||||
|
||||
$div->outertext = <<<EOD
|
||||
<figure><img loading="lazy" src="{$mediaUrl}"/><figcaption>{$mediaCaption}</figcaption></figure>
|
||||
EOD;
|
||||
EOD;
|
||||
}
|
||||
|
||||
if ($media['type'] === 'YouTube') {
|
||||
$div->outertext = <<<EOD
|
||||
<iframe src="https://www.youtube.com/embed/{$media['externalId']}" width="560" height="315">
|
||||
</iframe>
|
||||
EOD;
|
||||
EOD;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user