Video Schema

#837433
  • Resolved Bob
    Rank Math pro

    Have been receiving the following issue with the Video schema

    Is this because of youtube or an issue within rankmath?

    Video Schema warning

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    I apologize for the issue you are facing with the Video schema. The warning message you shared seems to indicate a problem with the Video Schema implementation. To troubleshoot this, you may need to check the setup of the Video Schema within Rank Math.

    If you are using Rank Math PRO, it automatically detects your video when you insert a link to or embed Vimeo or YouTube videos in your content. It then grabs the necessary data and adds the suitable Video Schema to that page. You can also customize the Video Schema using the Schema Builder in Rank Math.

    To resolve the issue, you can follow these steps:

    1. Check if the video URL is correctly added in the Embed URL and Content URL fields.
    2. Ensure that the video details like headline, description, upload date, duration, and thumbnail are accurately filled in.
    3. If you are using custom settings, verify that all required fields are correctly configured.

    If the issue persists, please provide more details or screenshots of your Video Schema setup within Rank Math so we can assist you further.

    Thank you for bringing this to our attention. We are here to help you with any additional questions or concerns you may have regarding the Video Schema setup in Rank Math.

    Sources:
    Video Schema Type » Rank Math

    Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    Could you please share the affected page URL with us so that we can check the issue further for you?

    However, please note that the upload date should be in ISO 8601 format. If you’ve manually added the Video schema on your page, please update the date with this format: https://rankmath.com/kb/video-schema/#upload-date

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Bob
    Rank Math pro

    One of the many pages that is returning the issue

    Click here

    Hello,

    In this case, you can add a filter to your theme’s functions.php or rank-math.php file to ensure that the UploadDate Schema property includes the correct timezone information. Here is the filter code you can use:

    add_filter( 'rank_math/snippet/rich_snippet_videoobject_entity', function( $entity ) {
        if ( empty( $entity['uploadDate'] ) ) {
            return $entity;
        }
    
        $parts = explode( 'T', $entity['uploadDate'] );
        if ( ! empty( $parts[ 1 ] ) ) {
            return $entity;
        }
    
        $entity['uploadDate'] = wp_date( 'Y-m-dTH:i:sP', strtotime( $entity['uploadDate'] ) );
    
        return $entity;
    } );

    Here’s how you can add filters/hooks to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Looking forward to helping you.

    Bob
    Rank Math pro

    Hmmm, not sure why the response is not being submitted. Lets try again.

    The above code did NOT fix the issue. I added the code using Elementor code snippet function. It did make a few adjustments to the Schema. However, I still received the same issue.

    Hello,

    In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘Video Schema’ is closed to new replies.