Supporting each other

Community forums

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

TOPIC:

colour changer button and video autoplay 6 years 11 months ago #4863

  • zitabertha@yahoo.com
  • zitabertha@yahoo.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 Inloggen or Create an account to join the conversation.

colour changer button and video autoplay 6 years 11 months ago #4864

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
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 Inloggen or Create an account to join the conversation.

colour changer button and video autoplay 6 years 11 months ago #4865

  • zitabertha@yahoo.com
  • zitabertha@yahoo.com's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 Inloggen or Create an account to join the conversation.

colour changer button and video autoplay 6 years 11 months ago #4879

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

thanks
Zita

Please Inloggen or Create an account to join the conversation.

colour changer button and video autoplay 6 years 11 months ago #4880

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 852
  • Thank you received: 261
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
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Please Inloggen or Create an account to join the conversation.

  • Page:
  • 1
Moderators: alimcnronm
Time to create page: 0.052 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search