Coder Social home page Coder Social logo

hbhvip / artplayer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhw2590582/artplayer

0.0 1.0 0.0 154.13 MB

:art: ArtPlayer is a modern HTML5 video player

Home Page: https://artplayer.org

License: MIT License

JavaScript 88.21% CSS 10.91% HTML 0.89%

artplayer's Introduction

ArtPlayer

Build Status version license size

ArtPlayer is a modern HTML5 video player

Screenshot

Features

  • Support vtt and srt subtitles
  • Support video quality switching
  • Support for custom control, layer, contextmenu, setting
  • Support playback rate, aspect ratio, flip, window fullscreen or web fullscreen adjustment
  • Support integration with other dependencies, like: flv.js, hls.js, dash.js, shaka-player, webtorrent
  • Support chrome native picture-in-picture mode, or custom picture-in-picture mode
  • Support thumbnails and highlight in the progress bar
  • Support to maintain the original video ratio, adaptive size
  • Support rich custom event monitoring, easy to expand
  • Support for internationalization of controls
  • Support for custom plugins
  • Support local video preview
  • Support subtitle time offset
  • Support screenshot
  • And more...

Ecosystem

Project Description Demo
artplayer-plugin-danmuku Danmuku plugin for ArtPlayer demo
artplayer-plugin-gif Gif plugin for ArtPlayer demo
artplayer-plugin-backlight Backlight plugin for ArtPlayer demo
artplayer-plugin-playlist Playlist plugin for ArtPlayer demo
artplayer-tool-thumbnail Thumbnail tool for ArtPlayer demo
artplayer-tool-github Github api tool for ArtPlayer demo
artplayer-react React Component for Artplayer demo
artplayer-vue Vue Component for Artplayer demo

Demo

Checkout the demo from Github Pages

Document

Checkout the Document from Github Pages

Install

Install with npm

$ npm install artplayer

Or install with yarn

$ yarn add artplayer
import Artplayer from 'artplayer';
import 'artplayer/dist/artplayer.css';

Or umd builds are also available

<link rel="stylesheet" href="path/to/artplayer.css" />
<script src="path/to/artplayer.js"></script>

Will expose the global variable to window.Artplayer.

Usage

<div class="artplayer-app"></div>
var art = new Artplayer({
    container: '.artplayer-app',
    url: 'path/to/video.mp4',
});

Changelog

Checkout the changelog

QQ Group

QQ Group

License

MIT © Harvey Zack

artplayer's People

Contributors

dependabot-support avatar zhw2590582 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.