mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
new buffer implementation
This commit is contained in:
parent
ef03292eb2
commit
1662abea20
2 changed files with 16 additions and 4 deletions
|
|
@ -7,7 +7,19 @@
|
|||
|
||||
.buffering-loader {
|
||||
flex: none;
|
||||
width: 10rem;
|
||||
height: 10rem;
|
||||
max-width: 15rem;
|
||||
max-height: 15rem;
|
||||
animation: fadeInOut 2s infinite;
|
||||
display: block;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@keyframes fadeInOut {
|
||||
0% { opacity: 0.2; }
|
||||
50% { opacity: 1; }
|
||||
100% { opacity: 0.2; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -631,7 +631,7 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
/>
|
||||
{
|
||||
videoState.buffering ?
|
||||
<BufferingLoader className={styles['layer']} />
|
||||
<BufferingLoader className={styles['layer']} logo={player?.metaItem?.content?.logo} />
|
||||
:
|
||||
null
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue