Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Intermediate & Advanced SEO
    4. Schema.org and YouTube Videos

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Schema.org and YouTube Videos

    Intermediate & Advanced SEO
    2
    4
    18747
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • Carlos-R
      Carlos-R last edited by

      Hi,

      Does anyone know how to implement schema.org markup with YouTube embedded videos?

      Thanks

      Carlos

      1 Reply Last reply Reply Quote 0
      • TammyWood
        TammyWood @Carlos-R last edited by

        Video content and audio content can be indexed and made SEO friendly  which can improve the search visibility on varied search options of the search engines.

        One of the ways is to add the video and audio content using microdata as per the schema.org.

        Usually when we add video we embed the code generated via YouTube for that video if it is on YouTube or for that matter any other video broadcasting site like vimeo, Ted, etc.

        For example:

        <iframe width="”560″" height="”315″" src="”http://www.youtube.com/embed/7xxxxxxxxxxxxxxx?list=UU0LI2nnnSO6lP8ZFj9FIdyA&hl=en_US”" frameborder="”0″" allowfullscreen=""></iframe>

        But using the microdata format as per schema.org the same code can be written as :

        Video: SEO xxxxxxxxxx

        <iframe src="”http://www.youtube.com/embed/xxxxxxxxxxxxk”" frameborder="”0″" width="”640″" height="”390″"></iframe>

        Description, keywords and markup here .

        More information here: http://schema.org/VideoObject

        1 Reply Last reply Reply Quote 4
        • Carlos-R
          Carlos-R @TammyWood last edited by

          That may have worked with YouTube's old embedded code, but not with the iFrame one.

          Will give the video sitemap a go.

          TammyWood 1 Reply Last reply Reply Quote 0
          • TammyWood
            TammyWood last edited by

            Yes, Google gives us a great description.

            http://support.google.com/webmasters/bin/answer.py?hl=en&answer=2413309

            Also, creating and submitting a video sitemap is beneficial.

            Carlos-R 1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Got a burning SEO question?

            Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


            Start my free trial


            Browse Questions

            Explore more categories

            • Moz Tools

              Chat with the community about the Moz tools.

            • SEO Tactics

              Discuss the SEO process with fellow marketers

            • Community

              Discuss industry events, jobs, and news!

            • Digital Marketing

              Chat about tactics outside of SEO

            • Research & Trends

              Dive into research and trends in the search industry.

            • Support

              Connect on product support and feature requests.

            • See all categories

            Related Questions

            • Collegis_Education

              Schema Markup Validator vs. Rich Results Test

              schema structured data

              I am working on a schema markup project. When I test the schema code in the Schema Markup Validator, everything looks fine, no errors detected. However, when I test it in the Rich Results Test, a few errors come back.
              What is the difference between these two tests? Should I trust one over the other?

              Intermediate & Advanced SEO | | Collegis_Education
              1
            • CongthanhThe

              How to find correct schema type

              Dear Moz members, I m currently working on schema optimizations of my website casinobesty.com which review online casino websites. I have a doubt which schema itemReviewed type I have to use in the review pages. Currently I m using type as "Game" but I m not sure it is correct. "description": "",
              "itemReviewed": {
              "@type": "Game",
              "name": "LeoVegas Casino",
              "url": "https://casinobesty.com/casino/leovegas-casino/"
              }, Thank you

              Intermediate & Advanced SEO | | CongthanhThe
              1
            • Ben-R

              Allow Embedding on a YouTube but Only for Specific Sites

              Hello, This is more of a technical question but does anyone know if it’s possible to allow embedding on YouTube videos only for specific sites? We want to restrict embedding on our videos but still be able to embed them on our domain. I’m already listed as the primary owner and have the channel linked to my personal email (same email used to upload videos) but when I go to the below link mentioned on Google's Page for Restrict Embedding (https://support.google.com/youtube/answer/6301625) it says I don’t have permission to access that page for both my personal account and channel. The documentation states it's possible to "Block embedding on all sites or apps except for those URLs or app package names you enter in the text box." but I can't seem to find it. I can only find the option to turn it off/on completely. https://www.youtube.com/content_owner_settings I noticed my personal email hasn't been verified; would that make a difference here? Any help or insight on how to approach this would be very much appreciated. Looking forward to hearing from all of you!
              Thank you in advance.
              Best,

              Intermediate & Advanced SEO | | Ben-R
              1
            • NoWayAsh

              Could I set a Cruise as an Event in Schema mark up?

              Hi there, We are now in the process of implementing a JSON-LD mark-up solution and are building cruises as an event.  Will this work and can we get away with this without penalty? Previously they have been marking their cruises as events using the data highlighter and this has displayed correctly in the SERP. The ideal schema would be Trip but this is not supported by Google Rich Results yet, hopefully they will support this in the future. Another alternative would be product but this does not display rich-results as we would like. Event has the best result in terms of how the information is displayed. For example someone might search "Cruises to Spain" and the landing page would display the next 3 cruises that go to Spain, with dates & prices. The event location would be the cruise terminal, the offer would be the starting price and the start & end date would be the cruise duration, these are fixed dates. I am interested to hear the communities opinion and experience with this problem.

              Intermediate & Advanced SEO | | NoWayAsh
              1
            • Alces

              JSON-LD schema markup for a category landing page

              I'm working on some schema for a client and have a question regarding the use of schema for a high-level category page. This page is merely the main lander for Categories. For example: https://www.examples.com/pages/categories And all it does is list links to the three main categories (Men's, Women's, Kid's) - it's a clothing store. This is the code I have right now. In short, simply using type @Itemlist and an array that uses @ListItem. Structured Data Testing Tool returns no errors with it, but my main question is this: Is this the _correct _way to do a page like this, or are there better options? Thanks.

              Intermediate & Advanced SEO | | Alces
              0
            • Corbec888

              How does educational organization schema interact with Google's knowledge graph?

              Hi there! I was just wondering if the granular options of the Organization schema, like Educational Organization (http://schema.org/EducationalOrganization) and CollegeOrUniversity (http://schema.org/CollegeOrUniversity) schema work the same when it comes to pulling data into the knowledge graph. I've typically always used the Organization schema for customers but was wondering if there are any drawbacks for going deep into the hierarchy of schema. Cheers 😄

              Intermediate & Advanced SEO | | Corbec888
              0
            • RosemaryB

              Should HTML be included in the structured data (schema) markup for the main body content?

              Lately we have been applying structured data to the main content body of our client's websites.  Our lead developer had a good question about HTML however. In JSON-LD, what is the proper way to embed content from a data field that has html markup (i.e. p, ul, li, br, tags) into mainContentOfPage. Should the HTML be stripped our or escaped somehow? I know that apply schema to the main body content is helpful for the Googlebot.  However should we keep the HTML?  Any recommendations or best practices would be appreciated. Thanks!

              Intermediate & Advanced SEO | | RosemaryB
              0
            • irvingw

              HTTPS moz.org untrusted - invalid cert

              https://www.moz.com/  has an invalid cert guys This Connection is Untrusted You have asked Firefox to connect
              securely to www.moz.com, but we can't confirm that your connection is secure.
                        Normally, when you try to connect securely,
              sites will present trusted identification to prove that you are
              going to the right place. However, this site's identity can't be verified. What Should I Do? If you usually connect to
              this site without problems, this error could mean that someone is
              trying to impersonate the site, and you shouldn't continue. www.moz.com uses an invalid security certificate. The certificate is only valid for moz.com (Error code: ssl_error_bad_cert_domain) If you understand what's going on, you
              can tell Firefox to start trusting this site's identification.
              Even if you trust the site, this error could mean that someone is
              tampering with your connection.
                        Don't add an exception unless
              you know there's a good reason why this site doesn't use trusted identification.

              Intermediate & Advanced SEO | | irvingw
              1

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy

            Looks like your connection to Moz was lost, please wait while we try to reconnect.