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

Audio / Video Content Block #7

Open
diegoliv opened this issue Feb 15, 2014 · 2 comments
Open

Audio / Video Content Block #7

diegoliv opened this issue Feb 15, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@diegoliv
Copy link
Collaborator

These Content Blocks have a similar behavior: the user can select a audio / video file from the media library, or can insert an url to fetch the media file (using oEmbed).

@diegoliv diegoliv added this to the 1.0.3 milestone Feb 15, 2014
diegoliv added a commit that referenced this issue Feb 16, 2014
@diegoliv diegoliv reopened this Feb 16, 2014
@diegoliv diegoliv reopened this Feb 16, 2014
@diegoliv
Copy link
Collaborator Author

The current state of the audio / video blocks, when none media is attatched:

wp-audio-video

And, when an external url is fetched, the player is displayed:

wp-video-fetch

@diegoliv
Copy link
Collaborator Author

After some discussion at the #wordpress-ui IRC, the fetch feature for Audio / Video Content Blocks is a little bit different. Now, when the user inserst an url in a Video Content Blocks and clicks fetch, the video is fetched, but instead of insert the oEmbed markup right after this, now it inserts a placeholder screenshot (for youtube and vimeo, for now), with a "preview" button, like this:

wp-video-placeholder

When the user clicks on the "preview" button, the oEmbed markup replaces the placeholder. This gives the user the choice of load the video player to preview or not.

Same thing for the Audio Content Block. When the user fetches a url, a placeholder is inserted:

wp-audio-placeholder

And, when the user clicks at the placeholder, the oEmbed markup is inserted. Like this, for example:

wp-audio-fetch

Of course, we need a LOT of work at the UI of this Content Blocks, and some features (like drag 'n drop upload or select from library) isn't ready. Let's keep working on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants