Skip to content

Chimeejs/chimee-plugin-panorama

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chimee-plugin-panorama

A plugin for panorama video

install

You can install this package through npm now.

npm install chimee-plugin-panorama

usage

It use like most of the chimee plugin.

import Chimee from 'chimee';
import ChimeePluginPanorama from 'chimee-plugin-panorama';
Chimee.install(ChimeePluginPanorama);
const player = new Chimee({
  src: 'http://cdn.toxicjohann.com/shark.mp4',
  wrapper: '#wrapper',
  plugin: [
    ChimeePluginPanorama.name,
  ],
  volume: 0.1,
  controls: true,
  canvas: true,
  autoplay: true,
  muted: true,
});