Opened 11 years ago
Last modified 9 years ago
#34296 reopened defect (bug)
Autoplay for more than one self-hosted video fails
| Reported by: | jonnyvaughan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Media | Version: | 4.3.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Hi,
When adding more than one self-hosted video to a page (using the [video] shortcode or media browser to insert), if you set more than one to autoplay, then none of them autoplay.
This might be a mediaelementjs problem.
Stock 4.3.1 install with TwentyFifteen:
http://test.10degrees.uk/one-video-autoplay/ - one video set to autplay, works fine.
http://test.10degrees.uk/two-videos-autoplay/ - both videos set to autoplay, neither plays.
These are both mp4 files.
Jonny
Change History (4)
#2
@
11 years ago
Thanks - have raised it upstream: https://github.com/johndyer/mediaelement/issues/1619
#3
@
9 years ago
- Resolution invalid
- Status closed → reopened
I reopened this ticket because I still have a smiliar/same problem.
At the current version (4.74 -and some below) self hosted videos arn't even autoplaying when
- there is more than one on a site
- even when only on of them is turned to autoplay.
It seems that upstreaming didn't fix anything. Still, I thought it is also a wordpress problem when my autoplay shortcode attributes are ignored. Maybe it's just a bug based on the mediaelement behavior/error.
Here is a test site showing the problem:
http://blubb.enif.uberspace.de/wordpress/
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for your report and the demo pages!
I just tested this with a single, non-WordPress HTML page and two videos.
When using native
<video>tags without MediaElement.js, autoplay works fine for both videos at the same time.With ME, there's no autoplay at all.
So this definitely isn't WordPress-only behaviour and should be reported upstream.