cheeaun / phanpy

A minimalistic opinionated Mastodon web client
https://phanpy.social
MIT License
1.03k stars 97 forks source link

Improve videos playback experience #507

Closed Alex0007 closed 5 months ago

Alex0007 commented 5 months ago

Is your feature request related to a problem? Please describe.

Default Mastodon UI requires only 1 click for video to be started with sound.

Phanpy UI requires 2 (or even 3) clicks for the same thing:

  1. Click on the video – modal opens, video started without sound
  2. Click on the sound icon
  3. (Optional) rewind video to the beginning to hear the missed sound

Describe the solution you'd like I wish Phanpy to have same video playback flow as Mastodon

Additional context In Mastodon UI videos are not preloaded, so traffic is not wasted until video is started

<video 
preload="none" 
role="button" 
src="https://files.mastodon.social/media_attachments/files/112/282/620/914/170/241/original/02a1e4569b858a61.mp4" 
poster="https://files.mastodon.social/media_attachments/files/112/282/620/914/170/241/small/02a1e4569b858a61.png" 
tabindex="0" aria-label="" title="" lang="en" style="width: 100%;"></video>
Alex0007 commented 5 months ago

Haha so it was a bug report after all

7376cb1