🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

paella-iframe-plugin

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paella-iframe-plugin

It contains iframe plugin for controling a embebed player

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

Paella Player iframe plugin

It contains iframe plugin for controling a embebed player.

Usage

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

Usin plugin context API:

...
import getIFramePluginsContext from 'paella-iframe-plugins';

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

Using explicit plugin import API:

...
import {
    allPlugins as iFramePlugins, // All plugins
    IFramePlugin      // Independent plugin
} from 'paella-iframe-plugin';

let paella = new Paella('player-container', {
    plugins: [
        ...iFramePlugins,    // All plugins
        { // One plugin
            plugin: IFramePlugin,
            config: {
                enabled: true
            }
        }
    ]
});
...

Step 2: Configure the plugins you want to use in the paella player configuration.

{
    "plugins": {
        ...
        "es.upv.paella.iFramePlugin": {
            "enabled": true,
            ...
        }
        ... other plugin settings
    }
}

FAQs

Package last updated on 18 Jun 2024

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