Easy-to-use, powerful and open source HTML5 video player

Easy-to-use, powerful and open source HTML5 video player

In the modern online world, video has become one of the main forms of information transmission and entertainment. To achieve a smooth and reliable video playback experience on web pages, you need to rely on an efficient HTML5 video player. This article will share 8 powerful and easy-to-use HTML5 video players!

  1. Plur

  2. Plyr is a simple, lightweight, accessible and customizable HTML5, YouTube and Vimeo media player that supports modern browsers.

    Plyr has the following features:

    • Accessibility - Full support for VTT subtitles and screen readers
    • Clean HTML - use the correct elements. Use volume ,进度条使用, buttons use ``.
    • Responsive - adapts to any screen size
    • Streaming media - supports streaming media playback of hls.js, Shaka and dash.js
    • API - Switch playback, volume, fast forward and more through standardized API
    • Full Screen - Supports native full screen and alternate "full window" mode
    • Shortcuts - supports keyboard shortcuts
    • Picture-in-picture - supports picture-in-picture mode
    • Speed ​​Control - Adjust playback speed in real time
    • Multiple subtitles - supports multiple subtitle tracks
    • i18n support - supports internationalized controls
    • Preview thumbnail - supports displaying preview thumbnail
    • Frameless - written in "native" ES6 JavaScript

    [The external link image transfer failed. The source site may have an anti-leeching mechanism. It is recommended to save the image and upload it directly (img-Ap90QZBV-1691314856658) (C:\Users\Admin\Desktop\csdn\player-plyr.png)]

    **Github:**https://github.com/sampotts/plyr

  3. Video.js

    Video.js is a web video player built from the ground up for HTML5. It supports HTML5 video and media source extensions, as well as other playback technologies such as YouTube and Vimeo, supporting video playback on desktop and mobile devices.

    [The external link image transfer failed. The source site may have an anti-leeching mechanism. It is recommended to save the image and upload it directly (img-waNv83Ck-1691314856659) (C:\Users\Admin\Desktop\csdn\player-video.png)]

    **Github:**https://github.com/videojs/video.js

  4. Xigua video player

    Xigua Video Player is a web video player open sourced by ByteDance. It designs independent, detachable UI components based on the componentization principle. More importantly, it is not only flexible at the UI level, but also makes bold improvements in functionality: it gets rid of dependence on video loading, buffering and format support. Especially when dealing with mp4 format, it can perform segmented loading, enabling seamless switching, loading control and data saving even if the mp4 format does not support streaming. It also integrates on-demand and live streaming support for FLV, HLS and dash formats.

    [External link image transfer failed. The source site may have an anti-leeching mechanism. It is recommended to save the image and upload it directly (img-qYlF2Hgv-1691314856660) (C:\Users\Admin\Desktop\csdn\Player-Xigua Video.png) ]

    **Github:**https://github.com/bytedance/xgplayer

  5. MediaElementPlayer

    MediaElementPlayer is an HTML5 player that supports MP4, WebM and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and other players with a common HTML5 MediaElement API, enabling consistent UI across all browsers.

    [The external link image transfer failed. The source site may have an anti-leeching mechanism. It is recommended to save the image and upload it directly (img-nSmqcVak-1691314856660) (C:\Users\Admin\Desktop\csdn\Player-MediaElementPlayer.png)]

    **Github:**https://github.com/mediaelement/mediaelement

  6. DPlayer

    DPlayer is a cute HTML5 barrage video player that can easily build videos and barrages.

    DPlayer supports:

    • Media streaming format:

      • HLS
      • FLV
      • MPEG DASH
      • WebTorrent
      • Other custom streaming formats
    • Media format:

      • MP4 H.264
      • WebM
      • Ogg Theora Vorbis
    • Function:

      • Barrage

      • screenshot

      • shortcut key

      • Sharpness switch

      • thumbnail

      • subtitle

        [The external link image transfer failed. The source site may have an anti-leeching mechanism. It is recommended to save the image and upload it directly (img-OkqDzSZ4-1691314856661) (C:\Users\Admin\Desktop\csdn\Player-DPlayer.png)]

        GIthub: https://github.com/DIYgod/DPlayer

  7. Mui Player

    MuiPlayer is an HTML5 video playback plug-in. It is configured with exquisite and operable playback controls by default, involving common playback scenarios, such as full-screen playback, playback fast forward, loop playback, volume adjustment, video decoding and other functions. The player is designed to be compatible with running on PC and Mobile terminals, and provides two types of extension plug-ins: "mobile terminal" and "PC terminal", so you can also use it in Webview on Android and Ios.

    MuiPlayer has the following features:

    • Multi-format support : Supports playback of multiple media formats such as mp4, m3u8, flv, etc., solving most compatibility issues and adapting to playback on PC and mobile phones.

    • Rich configurable API : MuiPlayer has rich parameters to customize player instances, and video playback in customized scenes can be completed through easy configuration.

    • Simple design style : The player design style is relaxed and simple, and the theme style of the player can be customized. It also has a set of beautiful functional control designs on PC and mobile phones.

      [The external link image transfer failed. The source site may have an anti-leeching mechanism. It is recommended to save the image and upload it directly (img-gbnFC4mU-1691314856661) (C:\Users\Admin\Desktop\csdn\Player-MuiPlayer.png)]

      **Github:**https://github.com/muiplayer/hello-muiplayer

  8. ArtPlayer.js

    ArtPlayer.js is an easy-to-use and feature-rich HTML5 video player, and most of the player's functional controls support customization, which makes it easy to connect with business logic. In addition, it directly supports .vtt, , .assand .srtsubtitle formats. Integration with other dependencies (such as flv.js, hls.js, , dash.jsetc.) is also very simple. The code is highly decoupled, with clear structure and logic, making it easy to track errors and add new features.

    [The external link image transfer failed. The source site may have an anti-leeching mechanism. It is recommended to save the image and upload it directly (img-TkZXg8BS-1691314856662) (C:\Users\Admin\Desktop\csdn\Player-ArtPlayer.png)]

    **Github:**https://github.com/zhw2590582/ArtPlayer/

  9. ReactPlayer

    ReactPlayer is a React component for playing various URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia, Mixcloud, DailyMotion, and Kaltura.

    [The external link image transfer failed. The source site may have an anti-leeching mechanism. It is recommended to save the image and upload it directly (img-8gvsWkdB-1691314856662) (C:\Users\Admin\Desktop\csdn\Player-ReactPlayer.png)]

ch、SoundCloud、Streamable、Vimeo、Wistia、Mixcloud、DailyMotion 和 Kaltura。

[External link pictures are being transferred...(img-8gvsWkdB-1691314856662)]

**Github:**https://github.com/cookpete/react-player 

Guess you like

Origin blog.csdn.net/dfc_dfc/article/details/132133374