-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Visual Issue when resizing in Safari #397
Comments
@bchah Hi! I'll check it out soon! |
Hi @SangwonOh this is still reproducible in all versions of Safari. Have you had a chance to look at it? |
@bchah Hi. Finally I checked this issue! 😂 First of all, the player you see on the page is not an ovenplayer. A player that uses the basic When playing 4:3 ratio streams under the same conditions, the problem was not reproduced. When the video player is resized, the browser can try to request and handle whatever resolution the input device can provide. This process will take some time and may cause this problem. Now in my situation I can't simulate a 4:3 webcam. So please check two points.
|
Hi @SangwonOh thank you for having a look. What is your test environment where you are not seeing the issue with WebRTC playback? Sorry I may have confused things by demonstrating with an input device, but this is highly reproducible with WebRTC playback. I recorded this just now on the OvenPlayer demo page and we can see that the issue occurs whenever the player changes size: ResizeJan18.mp4 |
@bchah Thanks for retesting!! 👍 This issue only occurs on Safari 17 on macOS Sonoma. I think there is a bug related to object fit in Safari 17. Other communities are struggling with the same problem. I tried a few glitches, but it doesn't work. I think it would be better to wait for Apple to update. |
@SangwonOh I did some further testing and it is definitely an issue with Safari 17, but it is not exclusive to macOS Sonoma. I was able to reproduce it on any version of Safari 17 including iOS and iPadOS. Safari 16 and 15 both are fine (I brought out some old Macs to test). I read about the object-fit problem in Safari 17 and some people have found solutions, either by using static values, or using JS instead of CSS to set certain parameters. However I noticed that the "object-fit" CSS property does not appear in the OvenPlayer code 🤔 Can you help me discover where in your code this is handled? I played with resize-sensor.js but that may not be it. |
Yes. This problem occurs in Safari 17. HTML video elements use object-fit: contain by default. And the video element of OvenPlayer uses the default value. I will try the methods you mentioned.
If you have any more references, I would appreciate it if you could provide them. |
Hello @SangwonOh! I am back with more Apple Safari problems for you 😆
In OvenPlayer 0.10.31 and 0.10.32 there is a problem when the player window is resized in Safari browser. It appears to refresh like in the attached video where I reproduced the same problem from my application but on the OvenPlayer demo page:
OvenPlayer.Resize.mp4
The text was updated successfully, but these errors were encountered: