Changeset 6100ce9 in Klonkt for src/services/ActivityPubService.js
- Timestamp:
- 07/29/2026 12:12:38 PM (6 weeks ago)
- Branches:
- main
- Children:
- d56d471
- Parents:
- 08ab8ad
- File:
-
- 1 edited
-
src/services/ActivityPubService.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/services/ActivityPubService.js
r08ab8ad r6100ce9 3099 3099 // player for PeerTube. Without one the card stays a thumbnail. 3100 3100 const player = playback ? playerUrlFor(e.url) : null; 3101 return player ? { ...e, 'shaer:playerUrl': player } : e; 3101 if (player) return { ...e, 'shaer:playerUrl': player }; 3102 // The gate is shut and there IS something behind it. Saying so costs 3103 // nothing (the card already shows a video thumbnail) and saves the child 3104 // from tapping a card that will never answer: the app can explain instead 3105 // of doing nothing. It stays a statement of fact, never a way in. 3106 return playerUrlFor(e.url) ? { ...e, 'shaer:playable': true } : e; 3102 3107 } catch { return undefined; } 3103 3108 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)