Web-stories-wp: Video in Media Library

Created on 5 Dec 2019  路  4Comments  路  Source: google/web-stories-wp

Feature description

Find elegant way to display video in the media gallery when you need it.

Epic: Media upload and management

_Do not alter or remove anything below. The following sections will be managed by moderators only._

Acceptance criteria

  1. Show poster image
  2. List Duration
  3. Play icon (is just autoplay on hover)
  4. Autoplay on hover (muted?) See #26

Implementation brief

QA testing instructions

Demo

Changelog entry

Media In Feature Map

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.

All 4 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

swissspidy picture swissspidy  路  4Comments

obetomuniz picture obetomuniz  路  3Comments

wassgha picture wassgha  路  3Comments

swissspidy picture swissspidy  路  3Comments

swissspidy picture swissspidy  路  3Comments