Find elegant way to display video in the media gallery when you need it.
_Do not alter or remove anything below. The following sections will be managed by moderators only._
Here is a basic PoC of autoplaying on hover and insert page.
@pbakaus @samitron7
RE:
If you hover over a video, play the video and display the button
Should the video be muted when played or not?
Will the video also autoplay when navigating via keyboard?
@jauyong very good question. I'll discuss with Sam..I'm leaning towards playing it with sound (as that is the most realistic), but this could get annoying very quickly. We might need to have a global "mute" button for the global editor UI.
As discovered in https://github.com/google/web-stories-wp/issues/434#issuecomment-593891764 , WP does store the duration of videos in post meta. So this can displayed without issue.
Most helpful comment
@jauyong very good question. I'll discuss with Sam..I'm leaning towards playing it with sound (as that is the most realistic), but this could get annoying very quickly. We might need to have a global "mute" button for the global editor UI.