rexxara / html-canvas-video-player

Play inline videos on iPhone with HTML canvas player.

Home Page:https://muffinman.io/html-canvas-video-player/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Depreciation notice

This was intended for auto-playing videos on iOS, but as of iOS 10, there is native supported option playsinline, read more here: https://webkit.org/blog/6784/new-video-policies-for-ios/ (Android works for ages now).

So this project is not actively maintained anymore. Use native HTML video instead of it.

If anyone wants to take over the maintenance, feel free to open an issue, and I'll add you as contributor.

HTML canvas video player

Easy way to play videos inline on iPhones

Simple plain JavaScript class for playing videos on canvas. IE9+ and modern browsers, but it was intended for iPhone only.

Please let me know if you are using this player, I would like to make a small showcase, thanks!

Thanks to everyone who issued pull requests.

Documentation and demo.

Changelog

  • Few minor tweaks (thanks to pull requests)
  • Added audio support and moved timeline to the main JS file
  • Initial release

About

Play inline videos on iPhone with HTML canvas player.

https://muffinman.io/html-canvas-video-player/

License:MIT License


Languages

Language:JavaScript 87.6%Language:HTML 12.4%