1.0.6 • Published 1 year ago

adaptive-media-player-test v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago