mirror of
https://github.com/hoornet/vega.git
synced 2026-05-07 12:49:13 -07:00
Bump to v0.4.1 — media players, YouTube/Spotify cards, feed fix
Add inline video/audio players for direct media URLs, rich link cards for YouTube (with thumbnails), Vimeo, Spotify, and Tidal. Fix video clicks navigating to thread by splitting NoteContent into inline/media modes. Fix published notes not appearing on Following tab.
This commit is contained in:
@@ -216,8 +216,9 @@ export function NoteCard({ event, focused }: NoteCardProps) {
|
||||
className="cursor-pointer"
|
||||
onClick={() => openThread(event, currentView as "feed" | "profile")}
|
||||
>
|
||||
<NoteContent content={event.content} />
|
||||
<NoteContent content={event.content} inline />
|
||||
</div>
|
||||
<NoteContent content={event.content} mediaOnly />
|
||||
|
||||
{/* Actions */}
|
||||
{loggedIn && !!getNDK().signer && (
|
||||
|
||||
Reference in New Issue
Block a user