Repository navigation
Replies: 3 comments
|
I would like to add the following point: Style the loading screen / hide itI am using the mux player in a vue/nuxt environment. My client wants to have some background videos on his website on a white body. With the black loading screen, it created unpleasant black boxes at the beginning. Found nothing in the docs about styling the loading screen. |
|
@dKaipfKMS okay, a couple things here:
For background looping videos since you don't need the controls, you would probably be better off with
I don't think the loading indicator can be hidden right now. If you hide it, what would you expect to see while the video loads?
Yes, you can style mux-player {
width: 100%;
aspect-ratio: 16 / 9 // use the aspect-ratio of your video
}The exact CSS you need will depend on the containing page. If you spin up a CodeSandbox or similar for us to look at we can provide some guidance.
What do you mean here "by the player initializing". A code sample here would be helpful. The poster image should show when the page loads. For example here |
|
Moving this to discussion because they are grouped general questions. |
Uh oh!
There was an error while loading. Please reload this page.
All reactions