@pixelfed By rotate the Story, I mean rotate the media urls so the federated media urls are expired but the author can still view them.

This also means every Story would need to be stored after expiration if we kept it, or just a screenshot, but even with a screenshot if the beginning of the video is black, you wouldn't have enough context.

This requires some careful consideration, some people post a lot of Stories and the storage space could add up if mostly video

7
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Oblomov

@dansup @pixelfed I assume deletions map to the AcivityPub Tombstone object. Would it be possible for the server to return the Tombston to every user (local or federated) except the author?

0
1y
Cameron

@dansup @pixelfed The screenshot idea sounds good. To work around the blank picture issue, you could employ similar logic as sites & applications that offer video thumbnail suggestions by scanning the video. I'm sure there's a library out there that can assist, but as I don't use PHP any more I can't name one sorry. Another option is allowing the user to select the story "preview" time code

As an aside, screenshot vs. retain video for author could be a setting configurable by the instance admin

0
1y
Lea de Groot 🇦🇺

@dansup @pixelfed what if you require og:title style meta data on story entry, and display that to the writer after expiry (im assuming the point is so they know which entry the favs etc are for…)

0
1y

@dansup
Store key metadata like username, date, story ID, and text caption in a small database table.So that provides context without taking up much space.
Take a screenshot of the first frame of video when story is posted. Optimize and compress image to reduce size. Store screenshots in object storage like S3.For text stories, extract and store first 2 lines of text or 140 characters in the metadata table.

0
1y

@dansup Develop a simple preview rendering component that retrieves metadata and screenshot from storage and displays it nicely.- Use video thumbnailing tools to generate a preview image for videos. Something like the first 5-10 seconds. Allow preview image dimensions/quality to be adjusted based on storage limitations. Maybe Lazy loading when displaying previews. Client-side caching and a CDN to improve preview load times. Also, replace exact timestamps with relative times.

0
1y
Eric Vitiello

@dansup @pixelfed Why delete the story?

0
1y
Cassandra

@dansup @pixelfed
It makes sense that the identifier be a pic since you are a pic app, but it doesn't have to be. You can ask users to create their own text identifier when they post the story.

0
1y
Replies