Current version: (AGNO-JavaScript API)
Following the guidelines for broadcast events of Google, it states that the following properties are relevant and required:
This feature can be used as follows:
// required parameters:
brand: "agnoplay-live",
url: window.location.href,
...
// add the following:
has_video_object: true,
video_metadata: {
// see metadata feature
uploadDate: "2020-03-01T10:00:00", // required
}
And will add the following VideoObject script to the DOM:
<script type="application/ld+json" id="videoObject-[div-id]">
{
"@context":"http://schema.org/",
"@type":"VideoObject",
"@id":"https://www.agnoplay.com/cp/features/videoobject/#vjs_video_601",
"name":"Livestream Agnoplay",
"description":"Big Buck Bunny.",
"keywords":"agnoplay,agnostic,video player",
"uploadDate":"2020-03-01 10:00:00",
"thumbnailUrl":"//content.tmgvideo.nl/img/account=hPJiH9/item=Mbdskc9KsAii/thumbid=7/image.jpg?v=20200829131104"
"publication": {
"@type": "BroadcastEvent",
"name": "First scheduled broadcast",
"isLiveBroadcast": true,
}
}
</script>
Adding the schema.org VideoObject helps the video being indexed on search engines like Google, Bing, Yahoo and more. Agnoplay provides this feature and adds the VideoObject to the DOM for you just like the example shown here.
Reference: https://schema.org/VideoObject
Google Broadcast Reference: https://developers.google.com/search/docs/data-types/video#broadcast-event