code100x/cms

bug: On hover, few videos starts play, while others do not, (mainly in 0-1 cohort-2)

Closed this issue ยท 3 comments

Describe the bug

๐Ÿšจ Only for desktop view ๐Ÿšจ

When hovering over video files in certain folders (through the folder structure, not the sidebar), the videos play automatically. However, when you hover over video files in other folders, they do not play automatically.

To Reproduce

Steps to reproduce the behavior:

  1. As front-end sims to working fine, there can be a possibility of a bug while getting the 'contentId' on hover (not quite sure)

Expected behavior

Either all videos should play automatically, or none should.

Screenshots or GIFs

Week 1 Folder Videos (where videos play automatically on Hover)
image

Week 15 Folder videos (where videos do not play automatically on Hover)
image

**Info **

  • Brave browser

The issue u r facing is might be due to unsupported formats, the auto-play on hover only supports MP4 as of now...
Checkout some recent PRs... you'll get more context about what I'm trying to say

yup a few open PRs fixing this

@hxdy-1 , That makes sense, as the code looks good to me As of now.