Comments (1)
It would be nice to add an inline SVG and use it as source of iconSprite
...
<svg style="display:none" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<symbol id="icon-play" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg"><path d="M16.5 8.5c.3.1.4.5.2.8-.1.1-.1.2-.2.2l-11.4 7c-.5.3-.8.1-.8-.5V2c0-.5.4-.8.8-.5l11.4 7z"/></symbol>
<symbol id="icon-pause" viewBox="0 0 14 16" xmlns="http://www.w3.org/2000/svg"><path d="M1,0H3.2a.94.94,0,0,1,1,1V15a.94.94,0,0,1-1,1H1a.94.94,0,0,1-1-1V1A1,1,0,0,1,1,0Zm9.8,0H13a.94.94,0,0,1,1,1V15a.94.94,0,0,1-1,1H10.8a.94.94,0,0,1-1-1V1A1,1,0,0,1,10.8,0Z"/></symbol>
</svg>
...
<script>
document.getElementById("mep_0-icon-play").innerHTML='<use href="#icon-play"></use>'
document.getElementById("mep_0-icon-pause").innerHTML='<use href="#icon-pause"></use>'
...
</script>
from mediaelement.
Related Issues (20)
- Duplicate Controls in React, requires update in usage.md HOT 1
- Accessibility screenreader time format
- Why pause before jumping to another offset?
- Only on Android HLS playback sometimes seems to freeze video while playing audio HOT 1
- speed plugin not showing in safari (v 16.6)
- Popout button
- Subtitle position on the video player HOT 5
- Missing ALT attribute on rendered IMG tag
- Native Controls in Safari do not respond in fullscreen
- Subtitle options are not shown when in focus
- The currently set volume is not announced
- Bug with update 7.0.1 -> 7.0.2 - mediaElement is undefined
- Unable to import
- How do I hide the Controls until the video is played?
- missing copyright holders in MIT license
- _constants.IS_IOS not working
- Add Support for Managed Media Source Extensions in MediaElement.js to Enhance Compatibility with iOS 17.1+
- Playback begins unexpectedly when seeking during pause state on Android Edge browser
- youtube player: poster does not disappear when video is playing
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.