Update CaschyBridge.php (#4027)

without removing the video-container-div the embedded youtube videos work again
This commit is contained in:
Tone 2024-03-24 16:38:51 +01:00 committed by GitHub
parent 2aace6c898
commit fee5e269d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,7 @@ class CaschyBridge extends FeedExpander
{
// remove unwanted stuff
foreach (
$article->find('div.video-container, div.aawp, p.aawp-disclaimer, iframe.wp-embedded-content,
$article->find('div.aawp, p.aawp-disclaimer, iframe.wp-embedded-content,
div.wp-embed, p.wp-caption-text, script') as $element
) {
$element->remove();