LogoLogo
  • LEARN
    • Overview
    • Capabilities
      • Rich and Diverse Assets
      • Organised Collections
      • Asset Lifecycle Management
      • Powerful Discovery
      • Phygital Discovery
      • Observability
    • Technical Architecture
    • Product & Developer Guide
      • Content Service
        • Content APIs
          • Features
          • Architecture
          • Code Structure
          • Schemas
          • APIs
          • Jobs
            • Content publish
            • Asset enrichment
            • Audit event generator
            • Video stream generator
          • FAQs
            • Upload Content
        • Media APIs
          • Features
          • Architecture
          • Schemas
          • APIs
          • Jobs
            • Asset enrichment
            • Audit event generator
          • FAQs
        • Channel APIs
          • Architecture
          • Schema
          • APIs
          • Configuration
          • FAQs
        • License APIs
          • Architecture
          • Schema
          • APIs
          • Configuration
          • FAQs
        • Collection APIs
          • Features
          • Architecture
          • Schemas
          • APIs
          • Jobs
            • Content publish
            • Post publish processor
            • Audit event generator
          • FAQs
      • Search Service
        • Architecture
        • Code Structure
          • Configuration
        • APIs
        • Jobs
          • Search indexer
          • Audit history indexer
        • FAQs
      • Taxonomy Service (Taxonomy & Tagging)
        • Framework APIs
          • Architecture
          • Code Structure
            • Configuration
          • Schemas
          • APIs
          • Jobs
            • Audit event generator
          • FAQs
            • Create Framework
            • Add Content to Framework
        • Object Category APIs
          • Architecture
          • Code Structure
          • Schemas
          • APIs
          • Jobs
            • Audit event generator
          • Configuration
          • FAQs
      • DIAL Service
        • Architecture
        • APIs
        • Jobs
        • Configuration
        • FAQs
          • Link DIAL Code to a Book
      • Player
        • V1
          • Features
          • Architecture
          • Players
            • ECML Player - v1
              • Quiz
              • Create Content
            • Video Player v1
            • Epub Player - v1
            • PDF Player - v1
            • HTML-h5p Player - v1
          • Content import and preview folder creation
          • FAQs
        • V2
          • PDF Player
            • Features
            • Architecture
            • Configuration
            • FAQ's
          • Epub Player
            • Features
            • Architecture
            • Configuration
            • FAQ's
          • Video Player
            • Features
            • Architecture
            • Configuration
            • FAQ's
        • Telemetry Events
          • Offline Telemetry
          • Generate API keys
      • Editors
        • Architecture
        • Interactive Editor
          • Features
            • Content Editor
            • Adding Question Set
            • Concept Selector
            • Add Image
            • Add Video
            • Adding Math Function
            • Limited Publishing and Sharing
        • File Upload Editor
          • Features
          • FAQ's
            • Content Upload
        • Collection Editor - V1
        • Collection Editor - V2
          • Features
          • Architecture
          • APIs
          • FAQ's
        • How to contribute as a JS plugin
          • How do I think about a plugin?
          • Interactive Editor Plugin Guide
          • Using SDK to create and test the plugin
      • Other Knowlg Jobs
        • Configuration
        • FAQs
      • Other
        • Data Migration
        • Schema strucure
    • Product Roadmap
  • ENGAGE
    • Discuss
    • Contribute to SB Knowlg
  • USE
    • Overview
    • System requirements
    • Installation guide
      • Players
        • V1
          • How to setup
        • V2
          • Epub Player
          • Video Player
          • Pdf Player
      • Editors
        • Interactive Editor
        • File Upload Editor
        • Collection Editor - V1
        • Collection Editor - V2
        • Plugins
      • Services
        • Content Service
          • Configuration
        • Search Service
        • Taxonomy Service (Taxonomy & Tagging)
        • DIAL Service
        • Knowlg Jobs
    • Deployment
    • Release notes
      • Release - 6.2.0 (Ongoing)
      • Release - 6.1.0 (latest)
      • Release - 6.0.0
      • Release - 5.7.0
      • Release - 5.6.0
      • Release - 5.5.0
      • Release - 5.4.0
      • Release - 5.3.0
      • Release - 5.2.0
      • Release - 5.1.0
      • Release - 5.0.0
      • Release - 4.10.0
      • Release - 4.8.0
    • Breaking Changes
    • Deprecations
      • Release-5.2.0
      • Release-5.1.0
    • Release
    • USE
      • Infra Requirements
    • Additional Reading
      • Content Service Environment Variables
      • Import External Content
  • Archived
    • Powerful Discovery
      • Usecase
      • Sample data
Powered by GitBook
On this page
  • Overview
  • Configuration
  • Features
  • Youtube
  • Mp4/Mp3 and Webm

Was this helpful?

Edit on GitHub
  1. LEARN
  2. Product & Developer Guide
  3. Player
  4. V1
  5. Players

Video Player v1

Video player is used to play the Youtube, Mp4, Webm and Mp3type video contents

Overview

Mp4, webm and youtube type video can be render in video player v1. Video renderer is the common renderer which supports the following video mime types

Mime type

"video/mp4", "video/webm", "audio/mp3"

Configuration

Based on the following metadata configuration video assets can be rendered.

"metadata": {
    mimeType: "video/mp4"
    primaryCategory: "Teacher Resource",
    artifactUrl: "https://sunbirdstagingpublic.blob.core.windows.net/sunbird-content-staging/content/do_2133803600096624641146/artifact/do_2133803600096624641146_1633348628271_do_2133803600096624641146_1633345648679_mp4_212.mp4",
    contentType: "MarkingSchemeRubric",
    identifier: "do_2133803600096624641146",
    "mediaType": "content",
    streamingUrl: "https://sunbirdspikemedia-inct.streaming.media.azure.net/e785cfbe-f6ac-42e4-a725-baedd50efcb3/do_2133803600096624641146_163334.ism/manifest(format=m3u8-aapl-v3)"
}

Features

Content Player v1 supports to play the following types of video contents

Youtube

You can render the video of video/x-youtube mime type. Content player v1 takes the youtube url and play the youtube url online. The youtube player will not work offline. The download button is also not available for youtube content.

YouTube player is capable to show the following YouTube controllers:

  • Play pause buttons

  • Streaming video controls

  • Full screen

  • Caption reader

  • Timer

Mp4/Mp3 and Webm

Content player supports to play video/mp4 mime type video contents. Video/Webm mime type video contents comes under this category. The video renderer is also capable to play the Mp3 file.

Streaming video

Mp4 contents can be played online and offline. The streamingUrl enhanced the capabilities of video renderer player so that user can control the streaming playback speed. The Streaming options will show for this type of contents where user can select the streaming options.

Sample streaming URL in metadata

metadata: {
     "streamingUrl": "https://sunbirddevmedia-inct.streaming.media.azure.net/624b8eb7-d10b-4b48-a325-279a9d936374/mp4_9.ism/manifest(format=m3u8-aapl-v3)",
}

Download

This is the default button on the mp4/webm player. By clicking on this button user can download the video file.

PreviousCreate ContentNextEpub Player - v1

Last updated 3 years ago

Was this helpful?