Skip to content

Paella Opencast Plugins

The @asicupv/paella-opencast-plugins package provides a collection of specialized plugins that extend Paella Player functionality for optimal integration with Opencast. This package includes plugins for download management, authentication, user tracking, related data visualization, and dynamic layouts specific to Opencast content.

Terminal window
npm install @asicupv/paella-opencast-plugins
  1. To use Opencast plugins in your application, you can import the plugins according to your needs:

    import { OpencastPaellaPlayer } from '@asicupv/paella-opencast-core';
    import { opencastPlugins } from '@asicupv/paella-opencast-plugins';
    // Basic configuration with Opencast plugins
    const config = {
    plugins: [
    ...opencastPlugins,
    // Other additional plugins
    ]
    };
    // Create the player
    const player = new OpencastPaellaPlayer('player-container', config);
  2. Configure the plugins you want to use in the paella player configuration.

    {
    "plugins": {
    ...
    "org.opencast.paella.loginPlugin": {
    "enabled": true,
    "side": "right",
    "order": 92
    },
    "org.opencast.paella.editorPlugin": {
    "enabled": true,
    "side": "right",
    "order": 92,
    "showIfAnonymous": false,
    "showIfCanWrite": true,
    "editorUrl": "/editor-ui/index.html?id={id}"
    },
    ... other plugin settings
    }
    }
  • OpencastDownloadsPlugin: Manages multimedia content downloads based on permissions and licenses
  • OpencastEditorPlugin: Provides direct access to the Opencast editor
  • OpencastEventDetailsPlugin: Shows detailed event information
  • OpencastLoginPlugin: Integrated authentication system
  • OpencastMultiVideoDynamicLayout: Dynamic layout that automatically adapts to the number of video streams
  • OpencastRelatedVideosDataPlugin: Provides related videos data
  • OpencastRelatedDocumentsDataPlugin: Manages related documents like summaries, FAQs,…
  • OpencastMatomoUserTrackingDataPlugin: Matomo integration for user tracking