Skip to content

How to custom LoadingSpinner, it support to config? #8350

Closed Answered by amtins
JonasWater asked this question in Q&A
Discussion options

You must be logged in to vote

Or if you want a custom component:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Video.js - LoadingSpinner</title>

    <link
      rel="stylesheet"
      href="https://unpkg.com/video.js@next/dist/video-js.css"
    />

    <style>
      .vjs-loading-spinner {
        border: none;
        width: unset;
        height: unset;
        animation: none;
      }

      .vjs-seeking .vjs-loading-spinner::before,
      .vjs-seeking .vjs-loading-spinner::after,
      .vjs-waiting .vjs-loading-spinner::before,
      .vjs-waiting .vjs-loading-spinner::after {
        display: none;
    …

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by amtins
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
needs: triage This issue needs to be reviewed
3 participants
Converted from issue

This discussion was converted from issue #8347 on July 08, 2023 19:19.