Muitos usuários compartilham vídeos do rumble.com em nossa comunidade.
No entanto, o onebox não cria embeds de vídeo adequados para essa plataforma de vídeo em constante crescimento:
https://rumble.com/vhota5-this-dog-thinks-he-is-a-mountain-bike.html
Mas o site fornece os dados necessários para o embed por meio do esquema de objeto JSON de vídeo (como muitos outros sites de vídeo):
[
{
"@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"
]
}
]
Existe alguma maneira de o onebox também considerar/analisar o esquema JSON-LD de vídeo amplamente utilizado no futuro, além do oembed?