Siderite / lichessTools

Browser extension that turbocharges the lichess.org site with extra functionalities
MIT License
18 stars 2 forks source link

Video support for studies #626

Open Siderite opened 1 month ago

Siderite commented 1 month ago

So the Chessmood site (and probably many others) have a video, followed by some puzzles based on that video. Since Lichess does allow YouTube videos (hopefully in study pages as well) then it would be great if we could encode "video chapters"

Siderite commented 3 weeks ago

Suggestion:

More about parameters: https://developers.google.com/youtube/player_parameters

Siderite commented 3 weeks ago

Example of a working iframe:

<iframe 
  title="Bobby Fischer's 21-move brilliancy" 
  width="100%"
  height="100%" 
  frameborder="0" 
  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" 
  allowfullscreen=""
  src="https://www.youtube.com/embed/AaV3Oun5PDE?autoplay=1&amp;state=1&amp;start=2&amp;autoplay=1&amp;autohide=0&amp;showinfo=0&amp;rel=0"
  credentialless=""
/>
Siderite commented 3 weeks ago

What about enablejsapi? Could a video be connected to specific moves at different times or something?