hidden player video controls with scripting

Hi,

I inherited a course that uses some scripting to play a video. The video plays without showing the play/pause button. I would like to change the script to show the controls but I don't know if this is the script that controls that?

Here's the script:

Thanks,

Peter

attachMediaPlayer("videoDiv","media/osj_launch.mp4",980,640,"no");undefined

Discussion (2)

Hi Peter,

In attachMediaPlayer you can try changing "no" to "yes". You may just get lucky ;)

Otherwise, take a look here:

https://www.mediaelementjs.com

undefined

The player controls are in a DIV with the class "mejs-controls".

$(“.mejs-controls”).css(“visibility”,”hidden”);

is code to make them invisible. You can delete it or change "hidden" to "visible".

Discussions have been disabled for this post