Can JSON-LD be used to mark up a blog post and a video on the same page?
 by Kristi Hagen

Can JSON-LD be used to mark up a blog post and a video on the same page?

  • My question is about structured data. If I have a blog post with a video, can I mark up the video as well as the blog post with JSON?

    Also, if I have a specific video on my website that appears on many of my site's pages, should I mark it up with JSON on all of the pages, or just one?


Technically, the page is supposed to have a primary type, a MainEntity — and this gets a bit confusing when you have something like a video that helps describe the content of an article for example. If the video is not related to the page topic, then don't mark it up. With plugins, you pretty much have to use two separate markups; one for /Article for your blog post, and one for VideoObject.

Here are the testing tools for each...

Since getting a rich snippet for video is highly unlikely, we tend to focus on the Article Markup. However, to do it in a way that's technically correct, the code should be manually added to the header on the specific page, either by hand coding or by using a plugin like SOGO.

Then, the markup would look something like this...

"@context": "",
"@type": "Article",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": ""
"headline": "Article headline",
"image": [
"datePublished": "2015-02-05T08:00:00+08:00",
"dateModified": "2015-02-05T09:20:00+08:00",
"author": {
"@type": "Person",
"name": "John Doe"
"publisher": {
"@type": "Organization",
"name": "Google",
"logo": {
"@type": "ImageObject",
"url": ""
"description": "A most ...

Already a member? Sign in here

Read the rest of this article,
and get all this for only $1.

  • The Search Engine Strategies Updates for January 2021
  • SEN's Monthly Marketing Podcast for Strategies on the Go
  • Ultimate Guide to Avoiding Google Penalties
  • The Complete Site Audit Checklist
  • The Definitive Local Search Audit Checklist
  • 100's of Strategic SEO Articles and Q&As
  • The Internet Marketing Glossary
  • The Pro SEO's Local Search Directory List
  • 2019 Unfair Advantage SEO Beginner's Book
  • Pro's Ultimate WordPress Plugin Guide
  • The Vault: SEN's Internet Marketing Research Libraries
  • PLUS, as a Full SEN Basic Member, you'll be eligible for hundreds of dollars of discounts on SEO courses ranging from beginner to master on a variety of topics including organic search, local search, and social networking.

  • Your $1 Trial is good for 7 days at which time your card will be charged $29/mo unless you cancel before January 28th, 2021

 This form is encrypted for your security