Skip to content

🎬 Just another player with a focus on developer experience (DX)

Notifications You must be signed in to change notification settings

EastSun5566/another-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Another Player (WIP)

just another player with good DX

Design Goals

  • Web component base. should be close to web standards.

  • Should be "Headless" so that can be fully customized & easily integrates with frameworks like Tailwind and Windi

  • APIs similar to those in Vue.js

    import { createPlayer } from "@another-player/core";
    
    const player = createPlayer({
      src: "https://big-buck-bunny.mp4",
    }).mount("#player");
  • Rich plugin system with APIs similar to those in Vite and Rollup

    import { createPlayer, definePlugin } from "@another-player/core";
    
    const myPlugin definePlugin(options);
    
    const player = createPlayer({
      src: "https://big-buck-bunny.mp4",
    }).use([
      myPlugin(),
    ]).mount("#player");
  • Support for mainstream streaming formats such as DSAH and HLS through the use of plugins

  • Support for Multi-DRM

    • FairPlay as recently implemented in HLS.js

Tech Stack

  • PNPM as the package manager; run pnpm i to install dependencies
  • NX as the monorepo workspace; run pnpm nx graph to see a diagram of the dependencies of the projects
  • Typescript as the language
  • Vite as the build tool

About

🎬 Just another player with a focus on developer experience (DX)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published