Alex Rivera | Logout

Mediaelement.js - Would like to Remove ALL Controls - Only Display Video

Asked 2011-11-07T21:43:19.050
10

I am trying to replace my swf header in my webpage with mp4. I like MediaElement.js but I can't remove the controls. I don't want to hide the controls, I want to remove them completely... and just display the looping video.

Any suggestions would be greatly appreciated.

Edit
Report

1 Answer

1

Remove the "controls" attribute out of the video tag completely.

<video id="my-video" preload="auto" width="860" height="650">

Generally in the video tag, any attribute that you want to set to false, should be removed completely instead of setting it to "false" or "".

answered 2012-02-01T21:53:20.380

Your Answer