1.0.10 • Published 5 months ago

adaptive-media-player v1.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

adaptive-media-player

This package facilitates the HTML5 Akamai Adaptive Media Player integration with projects using JavaScript module imports.

Installation

npm install adaptive-media-player --save-dev

Usage

import React, { useEffect } from 'react';
import  AMP  from  'adaptive-media-player'

function PlayerExample() {
  useEffect(() => {
	const config = {
		 autoplay: true,
		 media: { src: "https://example.com/video/bbb.mp4" }
	}
	
    AMP.create("customerApiKey", "#player", config)
   });
   
  return (
    <div id="player"></div>
  );
}

Resources

AMP for Web Docs

1.0.10

5 months ago

1.0.9

7 months ago

1.0.8

7 months ago

1.0.6

9 months ago

1.0.5

10 months ago

9.1.32

10 months ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.7

3 years ago