Today I updated Grav to v0.9.15 with all its plugins including yours (VideoEmbed v1.4.0). It turned out that your plugin was causing a "Page Not Found" error, because it emptied all content on output. However, I found the problem: Due to a recent change in Grav core in the Pages.php $page->content() returns now empty on the onPageProcessed event. Maybe this is a bug in Grav core, but nevertheless using the onPageContentProcessed call is much safer and faster, since it is only called, when content has changed and not on every page call.
BTW: If this is abandoned and if you are seekng maintainer, I can continue your plugin as you wish.
Today I updated Grav to v0.9.15 with all its plugins including yours (VideoEmbed v1.4.0). It turned out that your plugin was causing a "Page Not Found" error, because it emptied all content on output. However, I found the problem: Due to a recent change in Grav core in the Pages.php
$page->content()
returns now empty on theonPageProcessed
event. Maybe this is a bug in Grav core, but nevertheless using theonPageContentProcessed
call is much safer and faster, since it is only called, when content has changed and not on every page call.BTW: If this is abandoned and if you are seekng maintainer, I can continue your plugin as you wish.