Skip to content
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

feat: add an option to render a thumbnail when hovering the progress bar #8542

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

juloStud
Copy link

@juloStud juloStud commented Jan 3, 2024

Description

add "thumbnailPreview" option to the control bar to render a thumbnail when hovering the progress bar

Specific Changes proposed

thumbnailPreview is a boolean. If set to false or not set, the thumbnail won't be rendered below the progress bar. If set to yes, it will be.

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Change has been verified in an actual browser (Chrome, Firefox, IE)
    • Unit Tests updated or fixed
    • Docs/guides updated
    • Example created : thumbnail-preview.html.example
  • Reviewed by Two Core Contributors

Addition of a frame preview function for the progress bar of the video player on mouseover. The frame displayed corresponds to the frame of the video at the progress bar position where the cursor is.
use Dom utils instead of document to manipulate page content
…thumbnailPreview option to controlbar

renames frame tooltip file into thumbnail tooltip file
add thumbnailPreview option to controlbar. If set to true, this controlbar option allows to render thumbnail preview when mouseovering the video progressbar
Copy link

welcome bot commented Jan 3, 2024

💖 Thanks for opening this pull request! 💖

Things that will help get your PR across the finish line:

  • Run npm run lint -- --errors locally to catch formatting errors earlier.
  • Include tests when adding/changing behavior.
  • Include screenshots and animated GIFs whenever possible.

We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant