mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
refactor: move dom position
This commit is contained in:
parent
1e5e87ca38
commit
90a313af8d
2 changed files with 7 additions and 7 deletions
|
|
@ -610,12 +610,6 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
onClick={onVideoClick}
|
||||
onDoubleClick={onVideoDoubleClick}
|
||||
/>
|
||||
{
|
||||
(video.state.buffering || !video.state.loaded) && !error ?
|
||||
<BufferingLoader className={classnames(styles['layer'], styles['buffering-layer'])} logo={player?.metaItem?.content?.logo} />
|
||||
:
|
||||
null
|
||||
}
|
||||
{
|
||||
!video.state.loaded ?
|
||||
<div className={classnames(styles['layer'], styles['background-layer'])}>
|
||||
|
|
@ -624,6 +618,12 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
:
|
||||
null
|
||||
}
|
||||
{
|
||||
(video.state.buffering || !video.state.loaded) && !error ?
|
||||
<BufferingLoader className={classnames(styles['layer'], styles['buffering-layer'])} logo={player?.metaItem?.content?.logo} />
|
||||
:
|
||||
null
|
||||
}
|
||||
{
|
||||
error !== null ?
|
||||
<Error
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ html:not(.active-slider-within) {
|
|||
width: 100vw;
|
||||
height: 100vh;
|
||||
object-fit: cover;
|
||||
opacity: 0.7;
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue