랭킹으로 돌아가기

matvp91/indigo-player

TypeScriptmatvp91.github.io/indigo-player/

Highly extensible, modern, JavaScript video player. Handles MPEG-Dash / HLS / MPEG-4 and is built on top of the HTML5 video element.

videovideo-playerhtml5-videompeg-dashdashhlsshaka-playerhlsjsdrm
스타 성장
스타
1.2k
포크
61
주간 성장
이슈
32
1.2k1.2k1.2k
7월 18일7월 19일7월 20일7월 20일
아티팩트npmnpm install indigo-player
README

[!TIP] Hey friend, I'm working on an end-to-end solution nowadays. Check https://github.com/matvp91/mixwave for more info!

Note: Due to other commitments, I'm having a hard time responding to issues (& actually getting them fixed for you guys). I'd be more than happy to accept PR's.

indigo-player

Highly extensible, modern, JavaScript player. 👊

Travis CI jsdelivr

  • Strict defined API, which makes it easy to build analytics and various other plugins on top of indigo-player.
  • Dynamic bundle loading, automatically determines and loads which modules are needed for playback.
  • Highly modular plugin system to extend functionality without modifying it's core.
  • Out-of-the-box features such as subtitles, thumbnails, quality selection if applicable, ...
  • React based UI.

Documentation

Visit the documentation. 😎

Getting started

In a browser

The example below will load a simple MP4 file, and attempt to autoplay it.

<html>
  <body>
    <div id="playerContainer"></div>
    <script src="https://cdn.jsdelivr.net/npm/indigo-player@1/lib/indigo-player.js"></script>
    <script>
      const config = {
        sources: [
          {
            type: 'mp4',
            src: 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
          }
        ],
      };

      const element = document.getElementById('playerContainer');
      const player = IndigoPlayer.init(element, config);

      // You can use the player object now to access the player and it's methods (play, pause, ...)
    </script>
  </body>
</html>

As a module in your bundle

The example below will add indigo-player as a module in your project.

yarn add indigo-player
npm i indigo-player
import IndigoPlayer from "indigo-player";
// Bundle the css file too, or provide your own.
import "indigo-player/lib/indigo-theme.css";

const player = IndigoPlayer.init(container, config);

Mentions

Much ❤️ on getting the word out!

Cheers 🍺

관련 저장소
FFmpeg/FFmpeg

Mirror of https://git.ffmpeg.org/ffmpeg.git

COtherffmpegvideo
ffmpeg.org
62.3k14k
remotion-dev/remotion

🎥 Make videos programmatically with React

TypeScriptnpmOtherreactvideo
remotion.dev
53.9k3.9k
iina/iina

The modern video player for macOS.

SwiftGNU General Public License v3.0macosvideo-player
iina.io
45.7k2.9k
mifi/lossless-cut

The swiss army knife of lossless video/audio editing

TypeScriptnpmGNU General Public License v2.0videoeditor
losslesscut.app
42.3k2.1k
imputnet/cobalt

best way to save what you love

SvelteGNU Affero General Public License v3.0downloaderreddit
cobalt.tools
41.7k3.6k
videojs/video.js

Video.js - open source HTML5 video player

JavaScriptnpmOthervideoplayer
videojs.com
39.8k7.5k
TeamNewPipe/NewPipe

A libre lightweight streaming front-end for Android.

JavaMavenGNU General Public License v3.0youtube-videovideo
newpipe.net
39.1k3.7k
heygen-com/hyperframes

Write HTML. Render video. Built for agents.

TypeScriptnpmApache License 2.0aianimation
36.7k3.5k
mpv-player/mpv

🎥 Command line media player

COthermpvmplayer
mpv.io
36.1k3.4k
bilibili/ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.

CGNU General Public License v2.0ijkplayerandroid
33.2k8.2k
iawia002/lux

👾 Fast and simple video download library and CLI tool written in Go

GoGo ModulesMIT Licensedownloadergo
31.6k3.3k
jitsi/jitsi-meet

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

TypeScriptnpmApache License 2.0webrtcsfu
jitsi.org/meet
29.6k8k