Skip to content
Inspired by Phillips Ambilight, this JavaScript plugin creates light effects around any HTML5 video player that correspond to the video content, resulting in a more immersive experience.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
avpcore.js

README.md

Ambient Video Projection (Ambivid's core)

Inspired by Phillips Ambilight, this JavaScript plugin creates light effects around any HTML5 video that correspond to the video content, resulting in a more immersive experience.

##How to use

First off all, you need to create a container that will contain the video and the canvas in which we will draw our annimation. This container must be in relative or absolute position. Defining his background to black produce a cleaner effect.

Then, you just have to init avp_core providing the video's Id and the recently created container's Id.

var avp_core = new avp_core("html5video", "avpContainer");
avp_core.Start();

The AVP effect will now fill your container.

You can’t perform that action at this time.