-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat: Add Book Talks carousel to the homepage with new data fetching … #11624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat: Add Book Talks carousel to the homepage with new data fetching … #11624
Conversation
for more information, see https://pre-commit.ci
mekarpeles
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working on this!
Since these images are more horizontal (wide) than vertical (tall), we likely want to show fewer (e.g. just 3).
We also will want to show the title and the date (as otherwise it's unclear what the video is).
Furthermore, we'll want to move the css out of inline styles and into the correct files in `static/css
…, and interstitial video support.
for more information, see https://pre-commit.ci
Screen.Recording.mov |
|
This is getting there! Nice work. It may be a little work, but rather than an external link, what we may want to do is have the watch button open up the archive.org item like we do for the preview as an iframe. This would allow patrons to stay on Open Library. We could also switch the URL slightly to go to /embed instead of /details e.g. instead of https://archive.org/details/history-disrupted we'd go to https://archive.org/embed/history-disrupted |
…ing the server-side redirect and video-related interstitial content.
for more information, see https://pre-commit.ci
Screen.Recording.mov |
|
Archive.org's embed shows a thumbnail with a play button first, then after clicking it loads and shows the actual player with another play button. Added an autoplay=1 parameter to the embed URL to make it start automatically when the modal opens. |
|
Nice work! I'll put this on testing. |
Closes #11617
Feature Requested
Add new "Book Talks" carousel to homepage using archive.org API.
Screenshot
Changes