My sincere apologies for any inconvenience caused.
Kindly check my replies below,
1 – Per copyright complaint, while displaying Youtube videos is lawful because the video is hosted on Youtube, the description text and any images in that description is not. There seems to be no way to use the automation feature without importing that content.
I understand that there should be an option to exclude the description content from importing. I promise that we will have a quick version in the next 24 – 48 hrs and that has the option.
As a quick solution, I can get you the code that removes the description from the videos that are already imported to your website.
Kindly try adding the following code to the bottom of your theme’s functions.php file and refresh the page several times. The code below would update 100 videos at a time. Once you believe all the videos are updated, remove the code to avoid any performance issues.
function aiovg_custom_delete_description() {
$args = array(
'post_type' => 'aiovg_videos',
'post_status' => 'any',
'posts_per_page' => 100,
'meta_query' => array(
'relation' => 'AND',
array(
'key' => 'desc_updated',
'compare' => 'NOT EXISTS'
),
array(
'key' => 'import_id',
'value' => 0,
'compare' => '>'
)
),
'fields' => 'ids',
'no_found_rows' => true,
'update_post_term_cache' => false,
'update_post_meta_cache' => false,
);
$aiovg_query = new WP_Query( $args );
if ( $aiovg_query->have_posts() ) {
$posts = $aiovg_query->posts;
foreach ( $posts as $key => $post_id ) {
$post_arr = array(
'ID' => $post_id,
'post_content' => '',
'post_excerpt' => ''
);
wp_update_post( $post_arr );
update_post_meta( $post_id, 'desc_updated', 1 );
}
}
}
add_action( 'wp_loaded', 'aiovg_custom_delete_description' );
Hope this helped you!
2 – Per complaint, one may not display Youtube videos on a site that is monetized with so much as a donation button. How then can you offer a Pro and a Business version?
There is an option in the import form called “Exclude urls” https://plugins360.com/wp-content/uploads/2019/05/automations-import-sources.png that you can use to exclude such videos from importing.
But, I understand that you need this to be done automatically. If possible, kindly get me some example video URLs on which you received the complaint. So, we can see if the YouTube data API provides any special info for such videos to automatically exclude them.
If you have a problem sharing the video URLs here, kindly send them here https://plugins360.com/support/
So that helps us to work on a quick version and make sure the other users don’t get the issue in the future.
===============
A humble request,
Since the issue is related to a particular feature (imported video sources), the topic title you have may confuse other generic users too and frighten them from using our plugin. We have spent 100s of our sleepless nights developing this plugin. I understand that we should have an option to avoid this issue. But, we are human too, and to be honest, we are not aware of this until you raise this complaint. If possible, kindly change the topic title to something like “Lawsuit on auto imported YouTube videos”.
Thanks for understanding!