Open embeddable media straight into the player
This commit is contained in:
+3
-3
@@ -152,9 +152,9 @@ that deletion is irreversible. The delete button is disabled for a 5 second coun
|
||||
so a video without a cached preview renders a first-frame `<video>` in the grid, and downloaded
|
||||
videos get an ffmpeg poster cached in `thumbs/`. Clicking a tile opens a viewer: wide media
|
||||
shows the metadata banner below, vertical media shows it to the right, and videos carry a large
|
||||
play icon top-right. The play action embeds a YouTube, Vimeo, Twitch, or Streamable player, or
|
||||
plays a direct mp4/webm/m4v; when neither is possible it opens the external-site warning, since
|
||||
the page is the only way to watch. Playback and **View full** go through
|
||||
play icon top-right. An embeddable item (YouTube, Vimeo, Twitch, Streamable) opens straight into
|
||||
its player; other videos play a direct mp4/webm/m4v, and when neither is possible the play
|
||||
action opens the external-site warning, since the page is the only way to watch. Playback and **View full** go through
|
||||
` /api/media/<scrape>/<item>/stream`, which serves the local file or re-fetches the source message
|
||||
for a fresh signed URL, so expired CDN links still play. The grid prefers the cached still; a
|
||||
video without one gets its first frame through the same-origin stream endpoint, which avoids
|
||||
|
||||
Reference in New Issue
Block a user