Socket
Socket
Sign inDemoInstall

chimee-kernel-flv.js

Package Overview
Dependencies
15
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    chimee-kernel-flv.js

A flv decoder for chimee, using flv.js


Version published
Weekly downloads
5
Maintainers
6
Created
Weekly downloads
 

Readme

Source

chimee-kernel-flv.js

Build Status Coverage Status npm dependency Status devDependency Status

chimee-kernel-flv.js is the decoder for chimee. It can decode m3u8 on browser.

It's based on flv.js.js.

It totally fit the requirement of chimee-kernel.

It should only be used in the PC, as most of mobile browser support m3u8.

Installation

npm install --save chimee-kernel-flv.js

Usage

You can use chimee-kernel-flv.js in chimee or chimee-player like this.

import Chimee from 'chimee';
import ChimeeKernelFlvJs from 'chimee-kernel-flv.js';
const chimee = new Chimee({
  wrapper: '#wrapper',
  src: 'http://cdn.toxicjohann.com/lostStar.mp4',
  controls: true,
  autoplay: true,
  kernels: {
    flv: ChimeeKernelFlvJs,
  }
});
chimee.play();

We also support custom config on flv.js.js, such as config describe in the document.

import Chimee from 'chimee';
import ChimeeKernelFlvJs from 'chimee-kernel-flv.js';
const chimee = new Chimee({
  wrapper: '#wrapper',
  src: 'http://cdn.toxicjohann.com/lostStar.mp4',
  controls: true,
  autoplay: true,
  kernels: {
    flv: {
      handler: ChimeeKernelFlvJs,
      lazyLoad: true,
    }
  }
});
chimee.play();

Keywords

FAQs

Last updated on 19 Jan 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc