Comments (13)
Why not add it to the media bar at the bottom?
from mediaelement-plugins.
All Feature icons on media bar.... Very tangled
from mediaelement-plugins.
@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.
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.
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.
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.
You might want to include the alwaysShowControls: true configuration; see if that works for you
from mediaelement-plugins.
Not working..
Maybe set height of mejs__overlay-play
from mediaelement-plugins.
If you can share the URL so I can take a look I'd appreciate it
from mediaelement-plugins.
http://demo.lebang.vn/embed.html
Focus the Download button
from mediaelement-plugins.
Just set mejs__top_controls
class z-index
to 5, and that should do it
from mediaelement-plugins.
Wow..... great.... resolved
from mediaelement-plugins.
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)
- mediaelementjs marker plugins not working with youtube link or embed HOT 1
- how do i add a subtitle in a11y plugin HOT 1
- Picture-in-Picture plugin isn't build like other plugins ? HOT 1
- Add audio track switcher HOT 1
- Picture-in-Picture don't work when Player is load m3u8 LiveBroadcast
- Quality plugin plays mp4 first by default (2nd <source>) and only switches source once. HOT 2
- Error on building Player using playlist plugin on safari
- Quality switch doesn't work with m3u8 file HOT 1
- Audio description in a11y not working for external YouTube videos
- End behavior differs depending on during-play action
- Broken Controls display
- Timeslider disappearing with individual settings
- Audio file storage
- mediaelement Web site problems HOT 1
- Help in Ads plugin to run on specific event HOT 10
- Player SBS, TaB (3D) to anaglyph or VR
- Playlist plugin fails at the end of playlist run
- Playlist fails to play next audio after first ends HOT 1
- Change color of audio player
- HLS Quality Selection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediaelement-plugins.