Skip to content

Latest commit

 

History

History
101 lines (79 loc) · 2.17 KB

README.md

File metadata and controls

101 lines (79 loc) · 2.17 KB

paella-webgl-plugins

A set of canvas plugins to show videos using a WebGL canvas.

## Usage

Step 1: Import the plugin context and add it to the Paella Player initialization parameters:

Usin plugin context API:

...
import getWebGLPluginsContext from 'paella-webgl-plugins';

let paella = new Paella('player-container', {
    customPluginContext: [
        getWebGLPluginsContext()
    ]
});
...

Using explicit plugin import API (paella-basic-plugins >= 1.41):

...