How to play only the audio of a Youtube video using HTML 5?

前端 未结 9 608
花落未央
花落未央 2020-12-02 11:17

Is it possible to play only the audio from a YouTube video using HTML 5 and Javascript?

9条回答
  •  春和景丽
    2020-12-02 11:55

    Adding to the mentions of jwplayer and possible TOS violations, I would like to to link to the following repository on github: YouTube Audio Player Generation Library, that allows to generate the following output:

    Library has the support for the playlists and PHP autorendering given the video URL and the configuration options.

提交回复
热议问题