Hi all

Congratulations for this great module :-)

How to take care of "autoplay"?

Thanks
ArchGalileu

Comments

Anonymous’s picture

Version: 7.x-1.0-beta3 » 7.x-1.0

Hi fellows

Can't understand how to "autoplay"

I love the simplicity of this module,

i am a musician, violinist

i would love to solve this :-)

Thank you all

www.gasparsantos.eu
www.quartetodouro.eu

mfer’s picture

Category: support » feature

Autoplay is part of the spec. While it doesn't look to be documented on the MediaElement site the code on github (flash anyway) looks to support it.

I'll take a look into this as a feature request.

cartagena’s picture

subscribing

Anonymous’s picture

Hi mfer

i like very much mediaelement

but :-)

should be nice that: when i have more than 1 "media" file in the same page, i have to press stop before play the next

What i want to say is that in http://drupal.org/project/soundmanager2 the audio stops when i "press play" in another "media file"

Should be nice to have it :-)

Best regards
ArchGalileu

Max_Headroom’s picture

Version: 7.x-1.0 » 7.x-1.2
Status: Active » Patch (to be ported)
StatusFileSize
new2.04 KB

Hi
Please test this patch. It adds an Autoplay checkbox to the settings forms. If checked, the media will autoplay.
edit: bug in patch, please use next one

Max_Headroom’s picture

StatusFileSize
new2.05 KB

Bug in previous patch, use this one instead.

Max_Headroom’s picture

StatusFileSize
new3.47 KB

PHP5.3 notice cleanups

rangal’s picture

heyyy im glad you are getting this done!

Im wondering too how to get auto play im really new. Max, what do i do once ive downloaded it? do i copy it into the mediaelement folder?

And also how do i get more that one upload on each page?

Cheers mate

Max_Headroom’s picture

Hi
This is a patch to the module. Please see here how to apply patches: http://drupal.org/patch/apply
or you can get somebody to do it for you.

This is not a big patch, so if you are brave, see the section on applying patches manually.

I did not work on making the module to work with more than one upload.

drewish’s picture

Status: Patch (to be ported) » Needs work

I noticed that tabs are being used for indenting. You should look at using empty().

deggertsen’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Status: Needs work » Needs review
StatusFileSize
new3.53 KB

I wasn't able to apply the patch above so I fixed it up and made a git diff patch on the 7.x.1.x branch. I fixed it so that tabs are not being used for indenting as well.

Functionality works as expected. I think it's ready to commit. Good work @Max_Headroom.

Max_Headroom’s picture

Thanks deggertsen
I'll have a look why my IDE (Netbeans) is doing tabs instead of spaces in patches. As it is set to do spaces for tabs in code (as per coding spec).

spgd01’s picture

#11 works for me. Any update on a commit?

russellb’s picture

Issue summary: View changes
pedrosp’s picture

Hey there, new patch (file drop in, in fact) for the latest dev in another thread.
https://www.drupal.org/node/1810314#comment-9196017 Autoplay and/or loop.

maximpodorov’s picture

I updated the patch in #1810314: Path that adds "autoplay" and "loop" functionality, so it can be preferrable.

chris matthews’s picture

jnettik’s picture

Status: Needs review » Closed (duplicate)