Media type or a content type for VideoObject Type

Created on 20 April 2023, over 1 year ago
Updated 22 April 2023, over 1 year ago

this is not a issue with the module, I have a usage challenge and I think that your experience with schema.org can help.

what is the best practice : use a media type or a content type for VideoObject Type ?
I'm wondering this because VideoObject Type has a url property which is the url of the video page. so if a video is referenced in a node the Url of the VideoObject will be the media url

πŸ’¬ Support request
Status

Fixed

Version

1.0

Component

Documentation

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @yabikami
  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

    I would always use Media to handle Video because Drupal's contributed module space generally targets the Media entity for video.

    If your Video media must have a URL, when a video is uploaded via media, I would automatically create a corresponding Video content type and write code to keep the video media and node synced.

  • OK, I will do it like you suggested.
    the VideoObject Type will remain Media and The video node will page a WebPage Type, and I will write a code on node create and node edit to update the Url propriety value of the VideoObject with the Url alias of the node.
    Thank You @jrockowitz for this incredible Module

  • Status changed to Fixed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024