Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #750766

    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.

    #752787

    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

    #936124

    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.

    #936592

    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.

    #936673

    Hi,

    Thank you for letting others know also.

    Best regards,
    Basilis

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Schema video mark up’ is closed to new replies.