logseq
logseq copied to clipboard
youtube short embeds don't look and function well
What happened?
I wanted to embed a youtube short in a block, so i used the same {{video}} code as one does for regular videos.
However, unlike regular videos, it doesn't work quite right:
- a bunch of other page content and videos appear
- no way to control the playback (no pause, unpause, seek, or volume controls)
- if you scroll down, then back up, the video doesn't render at all (but sound still plays)
Reproduce the Bug
Put this in a block:
{{video https://www.youtube.com/shorts/FYAdAI1NE28}}
Expected Behavior
similar experience as a regular youtube video
Screenshots
first view:
after scrolling down in the video panel, then back up:

Desktop Platform Information
Arch Linux 64 bit 5.18.16-arch1-1, App, 0.7.9
Mobile Platform Information
No response
Additional Context
No response
Thanks for report. It's not addressed before. PR is welcome.