New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@blendvision/pse

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blendvision/pse

BlendVision PSE provides video enhancement capability to achieve similar video quality through lower network bandwidth requirement.

latest
npmnpm
Version
1.0.0-canary.10
Version published
Maintainers
2
Created
Source

BlendVision PSE

BlendVision PSE provides video enhancement capability to achieve similar video quality through lower network bandwidth requirement.

How to Install?

There are 2 ways to install BlendVision PSE. You may install BlendVision PSE through npm:

npm install @blendvision/pse

Alternatively, you could refer to an up‐to‐date version on our CDN:

<script src="https://unpkg.com/@blendvision/pse"></script>

How to Use BlendVision PSE?

PSE handler manages the behavior of the low-level PSE functions. You should never interact with PSE directly; instead, always work with the PSE handler.

Create an instance of PSE handler.

  import "@blendvision/player";
  import { createPSEHandler } from "@blendvision/pse";

  // Configurations for the player.
  // Set up 'videoAttributes.quality.default' to 'pse-saving' 
  // to use 'AI Saving' as the default quality.
  const playerConfig = {
    title: 'Title',
    source: '...',
    videoAttributes: {
      quality: {
        default: 'pse-saving',
      }
    },
  };

  // Create the player.
  const player = createPlayer(video, playerConfig);

  // Config the PSE handler.
  const pseHandlerConfig = {
    player,
    enabled: true,
  };

  // Create the PSE handler.
  const pseHandler = createPSEHandler(pseHandlerConfig);

FAQs

Package last updated on 15 Jan 2025

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