🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

clappr-video360

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clappr-video360

360 video plugin for Clappr

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

clappr-video360

clappr-video360 is a plugin for playing 360 videos with Clappr.

Demo

It's built on top of Kaleidoscope, so it supports the same browsers the lib supports.

Building:

$ npm install
$ npm run build

Using:

Get the code:

$ npm install clappr clappr-video360

Add the library and Clappr to your page:

<script type="text/javascript" charset="utf-8" src="node_modules/clappr/dist/clappr.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="node_modules/clappr-video360/dist/clappr-video360.min.js"> </script>

Then:

var p = new Clappr.Player({
    source: 'your-equirectangular-video.mp4',
    plugins: {
        container: [Video360],
    },
    parentId: '#player',
});
// for better usability, disable clappr's click_to_pause plugin
p.getPlugin('click_to_pause').disable();

Keywords

clappr

FAQs

Package last updated on 27 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts