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

Feature: Autoplay on Hover supported M3U8 and MPD Videos #709

Closed
wants to merge 4 commits into from

Conversation

Rajgupta36
Copy link
Contributor

@Rajgupta36 Rajgupta36 commented May 26, 2024

Fix Video Autoplay for Multiple Formats

Changes

  1. Added data in seed file for m3u8 and mpd samples

  2. Supported multiple formats: The codebase has been updated to support multiple video formats, including m3u8 and mpd, in addition to the previously supported formats.

  3. Added debouncing on autoplay: This ensures that the autoplay action is not triggered unnecessarily during user interactions, such as hovering over the video player.

  4. No extra dependencies added

checklist

  • Verified that the autoplay functionality works correctly for m3u8 and mpd video formats.
  • Ensured that the debouncing implementation does not interfere with the autoplay behavior when intended.
  • Checked that the existing functionality for other video formats is not affected by the changes.

Related issue

@Rajgupta36
Copy link
Contributor Author

Rajgupta36 commented May 26, 2024

hiii @hkirat sir .
As per your mention in the previous pull request that it contained a lot of dependencies, I have used VideoJS which already exists in the repo. I have also implemented a sample for M3U8 and MPD video formats, and debouncing.
Please review the code. Thank you for your feedback

@Rajgupta36 Rajgupta36 force-pushed the main branch 4 times, most recently from 08132ef to b83945b Compare May 28, 2024 07:28
@Rajgupta36 Rajgupta36 force-pushed the main branch 2 times, most recently from 1a071a7 to b83945b Compare June 15, 2024 19:26
@devsargam devsargam closed this Sep 24, 2024
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.

feature: Video Autoplay on Hover
2 participants