Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: colour changer button and video autoplay

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

  • zitabertha@yahoo.com
  • zitabertha@yahoo.com's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

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

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 869
  • Thank you received: 162
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?

Please Log in or Create an account to join the conversation.

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

  • zitabertha@yahoo.com
  • zitabertha@yahoo.com's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

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

  • zitabertha@yahoo.com
  • zitabertha@yahoo.com's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hello,
would anyone be able to help me please?

thanks
Zita

Please Log in or Create an account to join the conversation.

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

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 536
  • Thank you received: 132
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
Need direct commercial support? mitchellmedia.co.uk/contact/

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: alimcn
Time to create page: 0.055 seconds
Copyright © 2019 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search