Skip to content

Latest commit

 

History

History
executable file
·
38 lines (27 loc) · 1.1 KB

README.md

File metadata and controls

executable file
·
38 lines (27 loc) · 1.1 KB

React Azure media player

NPM JavaScript Style Guide

React wrapper for the azure media player

Install

npm install --save react-azure-mp

Usage

import React from 'react'
import { AzureMP } from 'react-azure-mp'

const Example = () => (
  <AzureMP
     skin="amp-flush"
     src={[{src: "http://amssamples.streaming.mediaservices.windows.net/91492735-c523-432b-ba01-faba6c2206a2/AzureMediaServicesPromo.ism/manifest", type: "application/vnd.ms-sstr+xml" }]}
   />
)

Sandbox examples:

SSR

Supports server-side rendering

License

MIT © SidKH