Can you adjust the schema markup so it shows the following for videos.
description
A value for the description field is required.
thumbnailUrl
A value for the thumbnailUrl field is required.
uploadDate
A value for the uploadDate field is required.
Hey glozemedia,
Thank you for using Enfold.
Where can we find the actual video? I checked the home page but there’s no video there. We can only add the description because the video element does not support a thumbnail and the uploadDate markup is irrelevant because the video is hosted on a third party site (youtube).
Please try this in the functions.php file:
function ava_custom_script_mod(){
?>
<script>
(function($){
function a() {
$('.avia-video').each(function() {
var description = $(this).find('a').attr('title');
$(this).append('<span class="description"><span itemprop="description">'+description+'</span></span>');
});
}
a();
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'ava_custom_script_mod');
Best regards,
Ismael
I’m having the same issue when displaying a youtube video in the post.
The code you posted does not help. Please come up with a proper fix, I’m already using the Schema plugin and deactivated Enfold Schema.
This is the only thing that gives errors with SDTT and it sucks:
canceldescription
A value for the description field is required.
canceluploadDate
A value for the uploadDate field is required.
warningdescription
The description field is recommended. Please provide a value if available.
No support? I figured it out by enabling single video in video markup of the Schema plugin. You guys need to get the basics right or your competitors will destroy you.
Hi,
Thank you for letting others know also.
Best regards,
Basilis