Rumble.com onebox for videos not working / Video object JSON LD

AI-generated summary

Rumble.com Video Embedding Issue

Users are experiencing issues with embedding Rumble.com videos using the onebox feature in Discourse. The website provides video metadata in JSON-LD format, but onebox does not currently support this schema.

Terrapop shared an example of a Rumble video and its JSON-LD metadata, highlighting the potential for onebox to parse this data in the future.

Multiple users, including Yenwod, Joaquin, and Hessikin, expressed interest in having Rumble video support, citing the platform’s growing popularity and YouTube’s increasing censorship.

Heliosurge provided a temporary workaround by adding Rumble to the “Allowed Iframes” site setting and using an iframe to embed videos. Later, Heliosurge discovered a theme component that enables auto iframe support for Rumble and Odysee videos.

Many users share videos from rumble.com in our community.

However, onebox does not create proper video embeds for this ever-growing video platform:

However, the website provides the necessary data for the embed via Json video object scheme (like many other video websites):

[
  {
    "@context": "http://schema.org",
    "@type": "VideoObject",
    "name": "Puppy Hilariously Thinks He's An Actual \"Mountain Bike\"",
    "playerType": "HTML5",
    "description": "Gus the Cockapoo loves all outdoor activities. Here he is blasting down the steep forest trail. At one point he literally gets airborne! @guscockapoo",
    "thumbnailUrl": "https://i.rmbl.ws/s8/1/9/S/v/X/9SvXb.qR4e-small-This-dog-thinks-he-is-a-mou.jpg",
    "uploadDate": "2021-05-27T12:24:02+00:00",
    "duration": "PT00H00M17S",
    "embedUrl": "https://rumble.com/embed/vf2n4l/",
    "url": "https://rumble.com/vhota5-this-dog-thinks-he-is-a-mountain-bike.html",
    "interactionStatistic": {
      "@type": "InteractionCounter",
      "interactionType": {
        "@type": "http://schema.org/WatchAction"
      },
      "userInteractionCount": 12734
    },
    "width": 2400,
    "height": 1080,
    "videoQuality": "Full HD"
  },
  {
    "@context": "http://schema.org",
    "@type": "WebSite",
    "url": "https://rumble.com/",
    "potentialAction": {
      "@type": "SearchAction",
      "target": "https://rumble.com/search/video?q={search}",
      "query-input": "required name=search"
    }
  },
  {
    "@context": "http://schema.org",
    "@type": "Organization",
    "name": "Rumble",
    "url": "https://rumble.com/",
    "logo": "https://rumble.com/i/rumble_logo_back.png",
    "sameAs": [
      "https://www.facebook.com/rumblevideo/",
      "https://twitter.com/rumblevideo"
    ]
  }
]

Is there a way that onebox would also consider/parse the widely used video scheme JSON LD in the future in addition to oembed?

6 Likes

Anybody? Any plan for onebox to look for the Json video object scheme if it can’t find viable data from the meta tags?

4 Likes

It would be great to have support for Rumble, especially given that YouTube is censoring a growing amount of important information and points of view.

Now that Rumble is a public company, there will certainly be a growing number of Discourse users who would like for Rumble videos to be as easily embedded as YouTube.

4 Likes

I just ran into this also. I’d love for Rumble videos to work the same as Youtube and Vimeo videos on our Discourse. My partner and I just started a Rumble account and are frequently publishing videos there that will also be posted on our community’s Discourse. Being able to view the videos directly from Discourse would be a great upgrade. Thanks for considering this! :heart:

2 Likes

Also having issues embedding videos from Rumble. Would love to see this as a Discourse feature in the future. We’re using youtube for a lot of our content, but moving forward we want to transition to a platform that doesn’t censor or subjugate it’s users.

2 Likes

This. Youtube has become diametrically opposed to actual…discourse.

2 Likes

I have found this to work. Add "https://rumble.com/“Allowed Iframes” to Site settings.

Then click on embed in rumble video.

Switch from Jave Script to iframe and copy & past in your post.

I will check but there might be an auto iframe theme component that may work to just post the rumble link. But not sure.

2 Likes

Confirmed.

Install this Customization > Theme component and add rumble.com to both the theme component settings and the allowed iframe site settings. Enjoy!

Note any posts that contain a rumble link will need to be “rebuild hmtl” via the post wrench

2 Likes

I have also using the above added iframe support for

Videos. :wink:

Nice one, cheers!

1 Like