mirror of
https://github.com/acid-info/logos-press-engine.git
synced 2025-02-23 22:58:08 +00:00
feat: simplecast placeholder image
This commit is contained in:
parent
e183316c7d
commit
63872828a2
@ -198,7 +198,7 @@ const EpisodePlayer = ({
|
||||
<ResponsiveImage data={coverImage} />
|
||||
</PlaceholderImage>
|
||||
)}
|
||||
{isSimplecast && (
|
||||
{!loading && isSimplecast && (
|
||||
<SimplecastPlayer
|
||||
playing={keepGlobalPlay ? false : state.value.playing}
|
||||
playedSeconds={keepGlobalPlay ? 0 : state.value.playedSeconds}
|
||||
@ -265,6 +265,7 @@ const PlaceholderImage = styled.div`
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
aspect-ratio: 16/9;
|
||||
`
|
||||
|
||||
export default EpisodePlayer
|
||||
|
@ -96,12 +96,6 @@ const SimplecastPlayer = ({
|
||||
const Container = styled.div`
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-top: 56%;
|
||||
background: red;
|
||||
|
||||
> * {
|
||||
position: absolute;
|
||||
}
|
||||
`
|
||||
|
||||
const ImageContainer = styled.div`
|
||||
|
Loading…
x
Reference in New Issue
Block a user