1.0.6 • Published 3 years ago

adaptive-media-player-test v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

adaptive-media-player-loader

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

Installation

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

Usage

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

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.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago