SherryH / language-player

An app that can play video and pause repeat on sentence
0 stars 0 forks source link

Create a HTML5 video playing youtube video #2

Closed SherryH closed 1 year ago

SherryH commented 1 year ago
  1. can't play mkv file. Next time when downloading youtube videos, load audio only.
  2. cant just put youtube src into the html video tag to play it
  3. Looking at React Player, there is a way around and I will need to look into the Youtube API.

TODO:

SherryH commented 1 year ago

Q: When looking at React-Player, react-youtube, youtube-player, they are all using YouTube Iframe API.

Q: How to use Youtube Iframe API?

SherryH commented 1 year ago

From Jemi:

Work on a foundamental HTML5 video player first. Make it playing a simple short mp4 file to start with.

To do async calls: