GithubHelp home page GithubHelp logo

Comments (13)

jimmywarting avatar jimmywarting commented on May 24, 2024

Why not add it to the media bar at the bottom?

from mediaelement-plugins.

lebanggit avatar lebanggit commented on May 24, 2024

All Feature icons on media bar.... Very tangled

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 24, 2024

@lebanggit This event exists already, but it must be attached to the media's container element:

new MediaElementPlayer('player1', {
     // Your configuration
    success: function (media) {
        media.closest('.mejs__container').addEventListener('controlsshown', function() {
               // Your code when control bar is being displayed...
        });

        media.closest('.mejs__container').addEventListener('controlshidden', function() {
               // Your code when control bar is being hidden...
        });
    }
});

Let me know if it works for you

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 24, 2024
buildXXXX: function (player, controls, layer, media) {
       player.container.addEventListener('controlsshown', function() {
              // your code...
       });
}

Let me know if that works for you. Also, Please star us at https://github.com/mediaelement/mediaelement and https://github.com/mediaelement/mediaelement-plugins to continue improving the package and giving it more popularity; also tell your friends/coworkers/etc. to support the project, if you don't mind.It would be greatly appreciated it

from mediaelement-plugins.

lebanggit avatar lebanggit commented on May 24, 2024

Great!!! Success. But this button just working after media playing....

@rafa8626 : You should add a top bar controls container like media controls.

It contain share, download, report button..... and title of video

from mediaelement-plugins.

lebanggit avatar lebanggit commented on May 24, 2024

mejs__overlay mejs__layer mejs__overlay-play

Is top layer and width 100%, height 100%.

When media stop, all control behind not woking.

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 24, 2024

You might want to include the alwaysShowControls: true configuration; see if that works for you

from mediaelement-plugins.

lebanggit avatar lebanggit commented on May 24, 2024

Not working..

Maybe set height of mejs__overlay-play

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 24, 2024

If you can share the URL so I can take a look I'd appreciate it

from mediaelement-plugins.

lebanggit avatar lebanggit commented on May 24, 2024

http://demo.lebang.vn/embed.html

Focus the Download button

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 24, 2024

Just set mejs__top_controls class z-index to 5, and that should do it
screen shot 2017-05-08 at 12 45 24 pm

from mediaelement-plugins.

lebanggit avatar lebanggit commented on May 24, 2024

Wow..... great.... resolved

from mediaelement-plugins.

rafa8626 avatar rafa8626 commented on May 24, 2024

Glad to know that.


Please star us at https://github.com/mediaelement/mediaelement and https://github.com/mediaelement/mediaelement-plugins to continue improving the package and giving it more popularity; also tell your friends/coworkers/etc. to support the project, if you don't mind.It would be greatly appreciated it

from mediaelement-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.