hidden player video controls with scripting
August 20, 2019 12:00 AM
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
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