Agent Fooey Agent Fooey - 1 year ago 138
Javascript Question

No buttons on control bar - mediaelement.js

I have uploaded all of the MediaElement files, in the original directories, but in the Demos the videos and audio play fine but the Play, Volume and Full screen buttons are not visible on the control bar.

Any ideas what's wrong?



Answer Source

I also ran into the same problem. Make sure you have added the correct MIME types for SVG images on your server. If they are not there, or if they are mis-configured, your browser will not display them.

I handled this through .htaccess:

AddType image/svg+xml svg
AddType image/svg+xml svgz

If you still can't get the SVG images to appear, you can always change the background images in the CSS to use the .png versions of the control bar and play icons.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download