Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block audit: Video #8299

Closed
2 of 5 tasks
sarahmonster opened this issue Jul 30, 2018 · 4 comments
Closed
2 of 5 tasks

Block audit: Video #8299

sarahmonster opened this issue Jul 30, 2018 · 4 comments
Assignees
Labels
[Block] Video Affects the Video Block [Feature] Blocks Overall functionality of blocks [Type] Task Issues or PRs that have been broken down into an individual action to take

Comments

@sarahmonster
Copy link
Member

sarahmonster commented Jul 30, 2018

Block audit

Note: We'll be doing these audits in waves and editing this as we work through the blocks, so this text will be updated and fleshed out as we progress. See the full picture here.

Overview

screenshot 2018-07-30 15 30 37

Name: Video
Description: Embed a video file and a simple video player.
Category: Common blocks
CSS class: wp-block-video in frontend or editor
Can be converted to: file

States

Empty:
screenshot 2018-07-30 15 30 31

Selected:
screenshot 2018-07-30 15 39 26
screenshot 2018-07-30 15 39 56

Unselected:
screenshot 2018-07-30 15 40 05

Placeholder:
screenshot 2018-07-30 15 30 20

Error:
screenshot 2018-07-30 15 36 28

screenshot 2018-07-30 16 03 14

Primary (toolbar) settings

Align: left, centre, right, edit
For captions: bold, italic, strikethrough, link

Secondary (sidebar) settings

Audio Settings: Autoplay, Loop, Preload
Advanced: Additional CSS Class

Frontend appearance

Gutenberg starter theme:

screen shot 2018-07-31 at 1 57 49 pm

Atomic Blocks

screen shot 2018-07-31 at 1 53 14 pm

twentyseventeen:

screen shot 2018-07-31 at 2 29 05 pm

twentyten:

screen shot 2018-07-31 at 2 27 59 pm

Documentation

No devdocs in https://github.com/WordPress/gutenberg/tree/master/core-blocks/image

Suggestion for user-facing docs:

Performance on mobile

Accessibility

Bugs/errors

Individual issues will be opened for these soon

Suggestions

Individual issues will be opened for these soon

@sarahmonster sarahmonster self-assigned this Jul 30, 2018
@sarahmonster sarahmonster added [Type] Task Issues or PRs that have been broken down into an individual action to take [Feature] Blocks Overall functionality of blocks labels Jul 30, 2018
@Soean
Copy link
Member

Soean commented Jul 30, 2018

  1. The supported formats depends on the browser (see https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats#Browser_compatibility),
  2. The error state is also made by the browser. We can check if the browser supports the video format and show a custom error. Modernizr example
  3. YouTube/Video should convert to an embed block, see Video Block doesn't work when inserting YouTube URL #6824

@sarahmonster
Copy link
Member Author

sarahmonster commented Jul 30, 2018

Lovely, thanks for the additional context @Soean! I was thinking that error message looked a lot like Firefox's... definitely felt out of place here. If we could add custom error message to be consistent across all browsers, I think that'd definitely be an improved user experience. (And if we could pull the allowed video formats as well, that'd be ✨ )

@paaljoachim
Copy link
Contributor

paaljoachim commented Aug 31, 2018

(I am hoping it is ok that I add the following to this issue.)

Here is how Advanced Gutenberg plugin shows video settings:

screen shot 2018-08-31 at 22 06 24

@Soean Soean added the [Block] Video Affects the Video Block label Oct 31, 2018
@sarahmonster
Copy link
Member Author

All issues here have been filed as individual issues, so I'm going to go ahead and close out this tracking bug. Feel free to comment on if I missed anything, or open new issues as needed! 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Video Affects the Video Block [Feature] Blocks Overall functionality of blocks [Type] Task Issues or PRs that have been broken down into an individual action to take
Projects
None yet
Development

No branches or pull requests

3 participants