Welcome, Guest
Username: Password: Remember me

TOPIC: colour changer button and video autoplay

colour changer button and video autoplay 1 year 4 months ago #4863

  • zita
  • zita's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 4
HI,

could anyone tell me which file contains the colour changer button's properties, this is the button at the footer of the play mode of your module.
also could someone tell me which file(s) i need to adjust and how if i'd like my mp4 videos to autoplay?

thanks
The administrator has disabled public write access.

colour changer button and video autoplay 1 year 4 months ago #4864

  • Tom Reijnders
  • Tom Reijnders's Avatar
  • Offline
  • Administrator
  • Posts: 807
  • Thank you received: 154
We need a bit more information on what you want to achieve:

Regarding the colour change button: what are you trying to achieve
- Change the visual aspects?
- Change the functionality and what are you trying to do?

Regarding the mp4's:

- Most pagetypes have an optional parameter autoplay, so where is the mp4 places that you want to autoplay?
The administrator has disabled public write access.

colour changer button and video autoplay 1 year 4 months ago #4865

  • zita
  • zita's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 4
hi Tom,

thanks a million for the reply. for the colour changer button: i would like to disable it and remove it from the footer.

i added my own mp4 video to one my lessons, using media-->video function, but i don't see the autoplay function. Is there another way to add my video? (this video is not available online such as youtube). or is there a way to adjust the source code to autoplay these mp4 videos?

thanks
The administrator has disabled public write access.

colour changer button and video autoplay 1 year 4 months ago #4879

  • zita
  • zita's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 4
Hello,
would anyone be able to help me please?

thanks
Zita
The administrator has disabled public write access.

colour changer button and video autoplay 1 year 4 months ago #4880

  • Ron Mitchell
  • Ron Mitchell's Avatar
  • Offline
  • Administrator
  • Posts: 500
  • Thank you received: 120
At the moment there isn't an auto play option on the media > video page.

Try adding the script optional property and then something like the following:
$(document).ready(function () {
 setTimeout('eventClickTrigger()', 1000);
    });
    function eventClickTrigger() {
        $('.mejs-playpause-button').trigger('click');
    }

If you're using an older version and don't see an optional script property then wrap the above in script tags.

HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk
xerteacademy.com
learningapps.co.uk
The administrator has disabled public write access.
Moderators: Alistair McNaught
Time to create page: 0.259 seconds
Powered by Kunena Forum