metafizzy / metafizzy/flickity

"autoplay" for video html element does not work.

Open
#674 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
7.6k
Forks
593
PR merge metrics
No merged PRs in 30d

Description

Hello,

I've noticed that the "autoplay" attribute for an html video placed inside the flickity carousel cell does not work -- it does not autoplay. The video can only be played when it has "controls" set up and the play button is pressed.

Note that I did verify that the autoplay works when the video is outside the carousel section.

Any way to fix this?

Here's a sample code from a guide:

```

```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior with the sample video inside a Flickity carousel cell, then compare it with the same video outside the carousel. Trace how the carousel handles video elements and verify that the autoplay attribute works inside a cell without requiring controls or manual playback.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.