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

Gutenberg: audio player does not work in block #46

Closed
helen opened this issue Oct 23, 2018 · 2 comments
Closed

Gutenberg: audio player does not work in block #46

helen opened this issue Oct 23, 2018 · 2 comments
Assignees
Labels
type:bug Something isn't working.
Milestone

Comments

@helen
Copy link
Contributor

helen commented Oct 23, 2018

In the podcasting block, the player can be interacted with but does not actually seem to load or play the file, whether external URL or from the media library. The core audio block player can't even be interacted with, at least in my setup. This probably needs some more testing across browsers, etc.

@helen helen added this to the 1.1.0 milestone Oct 23, 2018
@helen
Copy link
Contributor Author

helen commented Oct 24, 2018

Hmmm :( WordPress/gutenberg#9252

@ryanwelcher ryanwelcher added the type:bug Something isn't working. label Oct 29, 2018
@ryanwelcher
Copy link
Contributor

@helen - I've been testing this and I believe this is a bug in the plugin rather than an issue with GB. I was able to get it to play in the admin using the following steps:

  1. Create a new post with a block
  2. Select an item from the media library
  3. Publish
  4. Edit the block and press the Use URL button
  5. Publish and refresh the page.

I'm digging into the why, but I think the src props is not getting set until we click the useURL button.

The screenshot belows show the state after adding a .mp3 from the Media Library
missing prop

This one is after I followed the steps above
after-steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

2 participants