Comments (2)
That should work now as a quick hack, thank you very much for the info!
(By the way, perhaps in the future: it could be simpler to do so through some configuration settings)
from ovenplayer.
@ysliew Hi. We can change the icon with CSS like below:
i.op-con.op-warning::before {
background-image: url(your/image/path.png);
}
However, the player needs to be updated to set icons for each error type.
Now the .op-warning class is used for all errors. If you add different classes for each error code in the code below, you can display different icons for each type.
Ex) Add the error code class and change icon
i.op-con.op-warning.100::before {
background-image: url(your/image/path.png);
}
Error codes are defined below.
OvenPlayer/src/js/api/constants.js
Line 152 in 548e18c
from ovenplayer.
Related Issues (20)
- Error Initializing HLS but only in Chrome--and the demo site works HOT 3
- PIP mode (Picture in Picture) HOT 2
- Visual Issue when resizing in Safari HOT 7
- Full screen not working in iOS 17 Safari with WebRTC HOT 9
- Can't unmute - Android Chromium HOT 1
- Vue 3 doesnt work Error initializing HLS. HOT 1
- OvenPlayer as an ES6 module ERROR HLS HOT 1
- Auto-refresh seems to generate a memory leak HOT 1
- Unable to ear sound on windows browser HOT 3
- Vue 3 oven player instans update volume and full screen replays video and start again llhls HOT 4
- Keep player as close as possible to live mode HOT 1
- websocket connection issue HOT 1
- Unable to select Multiple audio tracks in webrtc HOT 1
- Some of the media could not be downloaded due to a network error HOT 3
- How can I implement the hls.recoverMediaError() method? HOT 1
- Unreliable WebRTC playback in Safari iOS HOT 4
- Adaptive Stream and "Auto" decision HOT 3
- How to detect when the stream becomes available? HOT 2
- Dynamically change HLS parameters HOT 1
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 ovenplayer.