Import a Media JSON Feed Import a Media JSON Feed

Import a Media JSON Feed

Vijay Sharma Vijay Sharma

A new input feed that allows video/audio content to be uploaded in JSON format.

If you don’t have a Podcast RSS or MRSS feed, and still would like to add video/audio content, you can use our Media JSON feed.

 

Media JSON feed

A Media JSON feed can have audio or video content in JSON format.

 

The mobile app will support both audio and video content and the OTT app will support only video content.

 

In order to add a Media JSON feed to your app, go to the MAZ dashboard and
navigate to the section you would like to add the Media JSON feed to.

 

Click on + Content, select + New+ Feed, and then + Media JSON 

media json1.png

untitled media.png

Enter the following metadata and Feed URL:

  • Name (internal facing)
  • Feed URL
  • Title (external facing)
  • Subtitle (external facing)
  • Description (external facing)
  • Tags

Once you have saved the Media JSON form, you can fill in any metadata for the app's content menu in the form that appears next.

 

Below is our Media JSON Specs:

The following sample feed contains all of the elements required for the proper functioning of Media JSON feeds in MAZ apps.

 

Mandatory fields: The title, sourceUrl, and type are the mandatory keys that must be present in the source Media JSON feed.

 

Accepted file formats:

For video items, we support mp4, m3u8, avi.

For audio items, we support mp3, aac, WAV.

 

Note: Please note, that for now, we support only a single audio/video source URL per item in Media JSON feed. Another point to note is that, since this is JSON format, we won’t be able to parse any "key":"value" pair in the source Media JSON feed other than the ones mentioned in the specs.

 

Important Note: We utilise etag and last-modified response headers for Media JSON Feed's version validation, to update the apps with the newly added content in the Media JSON Feed. Learn more about Feed version validation here.