function lazyloadvideos_plugin_deactivation()
{
    delete_option('lazyloadvideos_deferred_admin_notices');
    lazyloadvideos_update_posts_with_embed();
}
 function lazyloadvideos_update_posts_with_embed()
 {
     if (isset($_POST['update_posts']) && $_POST['update_posts'] == 'with_oembed') {
         lazyloadvideos_update_posts_with_embed();
     }
 }