Video autoplays even without attribute
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
The following code will autoplay the video when it shouldn't:
<a-scene>
<a-assets>
<video id="video" src="video/Video.mp4" webkit-playsinline>
</a-assets>
<a-camera position="0 7 5">
<a-cursor color="#FF0000">
</a-camera>
<a-video src="#video" width="16" height="9" position="0 0 0"></a-video>
</a-scene>
- A-Frame Version: 0.4.0
- Platform / Device: Chrome / OSX
- Reproducible Code Snippet or URL: See above
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the provided A-Frame scene in Chrome on macOS and confirm that the video plays without an autoplay attribute. Trace how the video asset and the a-video component are initialized, then verify that the same scene remains paused until explicitly played.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100