sidonaldson
sidonaldson

Reputation: 25314

Mediaelement.js the flash player won't hide the play button

I have set the features to be empty which works fine except in the flash player. It still shows the big play button. Any ideas? I realise I can manually hide this but I'd rather find the proper solution

$('video').mediaelementplayer({ 
    features: [],       
    success: function (me) {                    
        me.play();           
    }
});

Upvotes: 0

Views: 843

Answers (1)

Ron M
Ron M

Reputation: 138

I just added a style over-ride to my page after loading the CSS.

<style>
   .mejs-overlay-button {display:none;}
</style>

Upvotes: 1

Related Questions