https://github.com/shiyiya/oplayer
:zap: Another HTM5 video player.
https://github.com/shiyiya/oplayer
dash-player hls hls-live-streaming hls-player html5-player html5-video-player mp4 oplayer player react-player video video-player
Last synced: 7 months ago
JSON representation
:zap: Another HTM5 video player.
- Host: GitHub
- URL: https://github.com/shiyiya/oplayer
- Owner: shiyiya
- License: mit
- Created: 2022-05-14T13:30:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-07T13:04:37.000Z (9 months ago)
- Last Synced: 2024-10-14T04:02:30.036Z (9 months ago)
- Topics: dash-player, hls, hls-live-streaming, hls-player, html5-player, html5-video-player, mp4, oplayer, player, react-player, video, video-player
- Language: TypeScript
- Homepage: https://oplayer.vercel.app
- Size: 64.3 MB
- Stars: 148
- Watchers: 5
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# OPlayer
⚡ Oh! Another HTML5 video player. Do More, Keep it simple.
[📕 Documentation](https://oplayer.vercel.app) | [🧡 Donate](#support) | [💜 Contributing](./CONTRIBUTING.md) | [✨Discord](https://discord.gg/hzjxYyPbKh) | [🎈 Demo](https://oplayer.vercel.app/oplayer.html?playlist=%5B%7B%22title%22%3A%22Disney's%20Oceans%20-%20MP4%22%2C%22src%22%3A%22https%3A%2F%2Fvjs.zencdn.net%2Fv%2Foceans.mp4%22%2C%22poster%22%3A%22https%3A%2F%2Fvjs.zencdn.net%2Fv%2Foceans.png%22%2C%22duration%22%3A%2200%3A46%22%7D%2C%7B%22title%22%3A%22Big%20Buck%20Bunny%20-%20HLS%22%2C%22src%22%3A%22https%3A%2F%2Ftest-streams.mux.dev%2Fx36xhzz%2Fx36xhzz.m3u8%22%2C%22poster%22%3A%22https%3A%2F%2Fd2zihajmogu5jn.cloudfront.net%2Fbig-buck-bunny%2Fbbb.png%22%2C%22duration%22%3A%2210%3A34%22%7D%2C%7B%22title%22%3A%22Big%20Buck%20Bunny%20-%20DASH%22%2C%22src%22%3A%22https%3A%2F%2Fdash.akamaized.net%2Fakamai%2Fbbb_30fps%2Fbbb_30fps.mpd%22%2C%22poster%22%3A%22https%3A%2F%2Fd2zihajmogu5jn.cloudfront.net%2Fbig-buck-bunny%2Fbbb.png%22%2C%22duration%22%3A%2210%3A34%22%7D%2C%7B%22title%22%3A%22Torrent%22%2C%22src%22%3A%22https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fsintel.torrent%22%2C%22poster%22%3A%22%22%2C%22duration%22%3A%2214%3A48%22%7D%5D&p=1)
[](https://www.npmjs.com/package/@oplayer/core)
[](https://www.npmjs.com/package/@oplayer/core)
[](https://www.jsdelivr.com/package/npm/@oplayer/core)
## Feature
- **Streaming** - support for [hls.js](https://oplayer.vercel.app/docs/hls), [flv,mpegts](https://oplayer.vercel.app/docs/mpegts), [dash.js](https://oplayer.vercel.app/docs/dash), [webtorrent](https://oplayer.vercel.app/docs/torrent) and any other custom streaming playback
- **Fullscreen** - supports native fullscreen with fallback to "full window" modes
- **Shortcuts** - supports keyboard shortcuts
- **Picture-in-Picture** - supports picture-in-picture mode
- **Multiple captions** - support for multiple caption tracks(SRT, WEBVTT)
- **i18n support** - support for internationalization of controls
- **Preview thumbnails** - support for displaying preview thumbnails (spirit or [vtt](https://oplayer.vercel.app/docs/plugins/vtt-thumbnails))
- **No frameworks** - written in "vanilla" JavaScript, no dependencies required
- **[Chromecast](https://oplayer.vercel.app/docs/plugins/chromecast)** - cast video to your device
- **[AirPlay](https://oplayer.vercel.app/docs/plugins/airplay)** - cast video to apple device
- **[Playlist](https://oplayer.vercel.app/docs/plugins/playlist)** - supports playlist list ui
- **[Danmaku](https://oplayer.vercel.app/danmaku)** - biu biu biu ~
- **[Wordpress Plugin](https://github.com/shiyiya/wordpress-plugin-oplayer)** - play video easy in wordpress
- **... and much more!**## Who use OPlayer?
- **Feel free to submit yours in [Let me know!](https://github.com/shiyiya/oplayer/discussions/116)**
- [UPV](https://onime.netlify.app) - free anime no ads## Support
If you think this is super cool, or useful, and want to donate a little, then you are also super cool!
- [Paypal](https://www.paypal.com/paypalme/ShiYiYa)
- [QQ](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=lZb5hM-3CL_UBknmASPHsNuPDgvFObvQ&authKey=h2A2BFkynQX3HhbIxHhMZiSt%2Fp87gljDQ5Q%2FFVwsYdZ%2B7FP7n%2BWdR8WZ1Z0fX3Ss&noverify=0&group_code=861379856)
- [WeChat Pay](https://cdn.jsdelivr.net/gh/shiyiya/shiyiya.github.io@master/source/wechat_donate.png)- 
## Jetbrains
This project is helped by [Jetbrains](https://www.jetbrains.com/) with their open source program.
More information [here](https://jb.gg/OpenSourceSupport)