chimee-kernel-hls
kernel-hls of chimee
Last updated 6 years ago by toxicjohann .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install chimee-kernel-hls 
SYNC missed versions from official npm registry.

chimee-kernel-hls

Build Status Coverage Status npm dependency Status devDependency Status

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

It's based on hls.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-hls

Usage

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

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

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

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

Current Tags

  • 2.0.0-alpha.3                                ...           alpha (5 years ago)
  • 1.3.2                                ...           latest (7 years ago)

13 Versions

  • 2.0.0-alpha.3                                ...           5 years ago
  • 2.0.0-alpha.2                                ...           6 years ago
  • 2.0.0-alpha.1                                ...           6 years ago
  • 1.3.2                                ...           7 years ago
  • 1.3.1                                ...           7 years ago
  • 1.3.0                                ...           7 years ago
  • 1.2.0                                ...           7 years ago
  • 1.1.0                                ...           7 years ago
  • 1.0.7                                ...           7 years ago
  • 1.0.6                                ...           7 years ago
  • 1.0.5                                ...           7 years ago
  • 1.0.4                                ...           7 years ago
  • 1.0.3                                ...           7 years ago
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (51)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE