Rusty Hodge [SomaFM] on Nostr: On touch-capable devices we don't launch the (new) web player in a popup window but ...
On touch-capable devices we don't launch the (new) web player in a popup window but rather a tab... but then realized that there are a lot of non-tablet devices we were detecting by mistake by relying solely on navigator.maxTouchPoints
I recall we put in that logic because otherwise iPads would bring up a new tab each time the popup player was launched?
Published at
2024-11-25 19:37:00Event JSON
{
"id": "5fb2af71dec051f76af6c0ddfec64c2984dd546be7955e14e637a1ed3bde6509",
"pubkey": "a033b664cb2a6052c3fa4b4f51fb4c0bd37e68380c480926743b34e7ab22acf9",
"created_at": 1732563420,
"kind": 1,
"tags": [
[
"proxy",
"https://defcon.social/users/SomaFMrusty/statuses/113545276322080785",
"activitypub"
]
],
"content": "On touch-capable devices we don't launch the (new) web player in a popup window but rather a tab... but then realized that there are a lot of non-tablet devices we were detecting by mistake by relying solely on navigator.maxTouchPoints\n\nI recall we put in that logic because otherwise iPads would bring up a new tab each time the popup player was launched?",
"sig": "52b722303f36f32cbbb4940ad7485a3b7aafe52c409d99267df238e292340071d91f423a0f112ccc57b848a8395668151c9cbf8b1505d8d8513b4ba13e746074"
}