Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poster doesn't show on Safari #2792

Open
indexofrefraction opened this issue Apr 25, 2024 · 0 comments
Open

Poster doesn't show on Safari #2792

indexofrefraction opened this issue Apr 25, 2024 · 0 comments

Comments

@indexofrefraction
Copy link

indexofrefraction commented Apr 25, 2024

While the poster shows perfectly on Firefox and Edge (MacOS)
It does NOT show on Safari (17.4.1),
there is a flicker and then the 1st frame is shown instead.

<video class="cell-video" title="Test" 
    data-ratio="4:3" 
    data-download="Test720.mp4" 
    data-poster="Test720.jpg" 
    data-src="Test720.mp4,Test720.webm" 
    data-type="video/mp4,video/webm" 
    data-size="360,360" 
    data-fit="fill">
</video>

this is not optimal for videos which don't have a good 1st frame
(eg black frame) and you want a meaningful preview.

.plyr__poster { z-index: 3; }
.plyr__control  { z-index: 4; }

these css changes first seemed to fix the problem,
but then you can't cue after start

@indexofrefraction indexofrefraction changed the title Poster doesn't show on Safari 17.4.1 Poster doesn't show on Safari Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant