Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use Video.JS as an audio player?

Tags:

video.js

Can I use Video JS as an audio player if I did the following:

  • changed the <video> tags to <audio>
  • Removed the video area (where the video is shown)

Would more than that be required? I love the player and would like a matched style as the rest of my website (with the websites video players that use VideoJS).

like image 328
Airman Avatar asked Aug 01 '13 19:08

Airman


2 Answers

VideoJS has rolled out an update to support audio playback.

Video.js 4.9 - Now audio can join the party!

like image 94
Maxime Rainville Avatar answered Oct 20 '22 10:10

Maxime Rainville


VideoJS currently does not support audio, but there is an open issue on GitHub.

In the meantime you could have a look at videojs-playlist, which is a plugin for Video.js

like image 25
philipproplesch Avatar answered Oct 20 '22 11:10

philipproplesch