no idea at all I’m afraid. could you share a URL where I could see this happening?
frank
Hi Frank,
you can watch it without the Plugin here: https://www.junge-gruender.de/gbr-gruenden/
At point 5 (Schritt 5: Geschäftskonto eröffnen) comes the first iframe. thats a financeAds iframe.
at the point “Nachteile einer GbR” comes the first youtube iframe.
everything seems normal and coded correctly.
if we activate the plugin, the text and iframe between point 5 and the first youtube video are lost.
ok, think I (you) have found a bug; can you open up wp-content/plugins/wp-youtube-lyte/wp-youtube-lyte.php and on line 105
change
if ( apply_filters( 'lyte_eats_yframes', true ) && preg_match_all('#<iframe(?:.*)?\ssrc=["|\']https:\/\/www\.youtube(?:-nocookie)?\.com\/embed\/(.*)["|\'](?:.*)><\/iframe>#Usm', $the_content, $matches, PREG_SET_ORDER)) {
into
if ( apply_filters( 'lyte_eats_yframes', true ) && preg_match_all('#<iframe(?:[^<]*)?\ssrc=["|\']https:\/\/www\.youtube(?:-nocookie)?\.com\/embed\/(.*)["|\'](?:.*)><\/iframe>#Usm', $the_content, $matches, PREG_SET_ORDER)) {
and let me know what happens?
frank
Hi Frank,
that works fine 🙂
After update the code we have no more problems.
thanks!
thanks for the feedback, I’ll make sure this goes in next version.