Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 2.22 KB

File metadata and controls

31 lines (18 loc) · 2.22 KB

Player

Players are embeddable tools which help in rendering the assets. For ex., a video player plays all video content. Below are the players provided by Sunbird Knowlg building block:

Content FormatMIME TypePlayerPlayer v2
ECMLapplication/vnd.ekstep.ecml-archiveYesNo
HTML, H5Papplication/vnd.ekstep.html-archive, application/vnd.ekstep.h5p-archiveYesNo
PDFapplication/pdfYesYes
Epubapplication/epubYesYes
WEBM, MP4video/Webm, video/mp4YesYes
YOUTUBEvideo/x-youtube, YesNo

MIME Type

MIME Types defines the what type of the content it is. According to the mimeType you can load the specific content launcher and play the different types of contents

Online

Players are capable to rendering the assets online in web browser, mobile app and desktop app using the streaming url

Streaming url

Streaming URL is a used to stream the asset online. This streaming Url can be present in content metadata. If the streaming Url is present in metadata, the assets can be play online.

Sample streaming URL

metadata: {
    "streamingUrl":"https://sunbirddevmedia-inct.streaming.media.azure.net/9e45c4d8-37bf-430f-a467-388b37075d25/webm1-copy-17.ism/manifest(format=m3u8-aapl-v3)"
}

Offline

Assets can be rendered offline in the player. Only html/h5p player v1 won't support the offline play.

Please refer developer doc for offline telemetry sync support