-
Notifications
You must be signed in to change notification settings - Fork 58
Can't select any SWF file on Safari on iPad OS 17 (iOS bug?) #176
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
Comments
What's your User Agent? Unfortunately, even though it's bad practice, the presence or lack of the "accept" is determined by user-agent sniffing. See ruffle-rs/ruffle#5025 |
"With iPadOS, Apple has started to position the iPad as a productivity device much like a traditional laptop or desktop. As part of that change, the Safari web browser on iPadOS defaults to sending a User-Agent string that appears to be from a macOS device instead of an iOS or an iPadOS device.": https://help.duo.com/s/article/5187?language=en_US |
I think we need this check: https://stackoverflow.com/a/62979491 |
|
What about |
|
Ok, this should be fixed once I fix the TS errors on ruffle-rs/ruffle#14017 and it gets merged. |
Confirmed. |
Clicking "Select File" opens up the system file select sheet, as expected. However all SWF files are greyed out and thus not selectable. Through some empirical test, it looks like to me that Safari is not allowing input elements
type="file"
with attributeaccept=".swf,.spl"
. I've also triedapplication/x-shockwave-flash
and it’s not accepted either. However if I select "Request mobile site" in the Safari UI, then I can select any file, not just SWF and SPL, which is exactly what happens on iOS, where mobile version is the default. Can you confirm?The text was updated successfully, but these errors were encountered: