3 ms·
Are there APIs for Apple Pay and PIP that would let Firefox integrate those features if they desire, or are those APIs locked down for Apple only?
by berberous 10y ago
Are there APIs for Apple Pay and PIP that would let Firefox integrate those features if they desire, or are those APIs locked down for Apple only?
- Longhanks 10y agoApple Pay: From https://developer.apple.com/videos/play/wwdc2016/703/?time=908 https://developer.apple.com/videos/play/wwdc2016/703/?time=9...: "You take an Apple Pay server URL, and this URL is provided from Safari. You send this URL to your web server, which then requests the merchant session." -> Seems like Safari only :/ PiP: From https://developer.apple.com/macos/ https://developer.apple.com/macos/: "And if you use a custom video player, it’s easy to add a Picture in Picture control using the JavaScript presentation mode API." -> Seems like it's possible for 3rd party browsers to implement it!
- pducks32 10y agoThey have said that Apple Pay for the web would converge with window.Payment but atm they do not feel the spec is acceptable enough.
- berberous 10y agoNot familiar with Apple APIs. Is that supposed to mean that they plan to eventually open up the API so that other browsers could implement it, or no?
- pducks32 10y agoNo so the window.Payment[1] isn't in the right place yet—according to Apple—to be ready for their use. You can read more in [2]. So eventually ApplePay.js would (I presume based on their language) disappear to some extent and all browsers could use the Payments API and Apple wouldn't need their own custom solution. [1] https://www.w3.org/TR/payment-request/ https://www.w3.org/TR/payment-request/ [2] https://lists.w3.org/Archives/Public/public-payments-wg/2016Jun/0013.html https://lists.w3.org/Archives/Public/public-payments-wg/2016...
- mhurron 10y agoI'm wondering myself if/how they're going to do that. There are a lot of iPhone users that use Windows.