Closed (fixed)
Project:
MediaElement
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2012 at 19:06 UTC
Updated:
7 Nov 2019 at 22:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pedrospThis patch doesn't apply anymore on the last dev, however looking at the code, this is still possible to achieve.
Some changes were already present, and the main difference was that modifications happened no more on the main module but on the field.inc .
Use the attached and unzipped mediaelement.field.inc as a drop in replacement, and on the display mode you should now parameter auto play and loop.
Sorry no patch skills yet, contributing anyway though.
Comment #2
juc1 commented@ pedrosp yes that works for me = awesome, thanks.
Comment #3
maximpodorov commentedThe patch is adapted to the current dev.
Comment #4
juc1 commented@ maximpodorov could you perhaps request commit permissions? It looks like the last commits from the current maintainers were three years ago...
Comment #5
mrpeanut commentedPatch from #3 works for me. Is there any way to set the autoplay to only autoplay when the item is visible via CSS? I am using this in conjunction with Views Slideshow, and it's starting when the page loads, not when the individual slide loads (i.e. when the individual slide is visible).
Comment #6
chris matthews commentedThe patch in #3 no longer applies to 7.x-1.x-dev so setting back to needs work for now.
Comment #7
dave kopecekIgnore, re-uploaded fix in #8
Comment #8
dave kopecekRerolled #3 against Dev - December 12, 2018 -- Commit 2fb042f
Comment #10
jnettikThank you for the patch! This works as expected and was committed. It's worth mentioning that browsers are changing the conditions on when things will be allowed to auto play, so the checkbox adds the attribute and works in the right conditions. But not always per browser design:
https://developers.google.com/web/updates/2017/09/autoplay-policy-changes