Audio and Video Support
Introduction
Why it's important
Use the mediaType property
mediaType propertyfunction updateContentInfo() {
window.postMessage(
{
type: 'TIUN_EVENT',
content: 'TIUN_UPDATE_CONTENT',
contentId: 'content ID',
contentType: 'active',
mediaType: 'video'
},
window.location.origin
);
}Last updated
Was this helpful?