Open chinese-soup opened 3 years ago
Also sorry for the irrelevant changes in the Info.plist file, QtCreator did that for some reason, I'll fix if neccessary. The relevant change in Info.plist is:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>vlc</string>
</array>
Hello.
This is a very simple PoC enabling opening webm in the iOS VLC application when it's installed and therefore enabling at least somewhat of a good user experience with webms sent to the user on IRC if he's willing to use VLC on his device.
Link to VLC for Mobile: https://apps.apple.com/us/app/vlc-for-mobile/id650377962
Pros: This adds option "Attempt to open webms in VLC" to the Settings dialog only when the platform is iOS, otherwise the setting is set to false and not rendered in the Settings dialog.
When this setting is enabled:
Before & after behavior can be seen on this video: https://user-images.githubusercontent.com/5108747/106830915-4477f200-668f-11eb-860d-5db94275aac7.mp4
Cons:
Suggestions, discussion, opinions welcome :) BTW: If iOS 14 somehow "fixes" this and you can somehow associate .webms in Safari to directly open in an app, then this may be useless and I apologize, but on iOS 13.7 that I'm running the only option after opening in Safari (or any other browser) is to "Download" and open in VLC manually or "Share" to VLC which downloads it and opens it in VLC instead of streaming it.