-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Clicking on an embedded video block should select it #11885
Comments
Tested and confirmed with WordPress 4.9.8 and Gutenberg 4.3 using Chrome 70.0.3538.77 and Firefox 63.0.1 on macOS 10.13.6 that clicking on a Vimeo embed in the editor does not result in the block being activated and so the caption and block toolbar areas do not show up as expected. I found that if I click on the very very far right side, I can get it to work in case that's helpful debugging info. (2m1s)
I did not see any of the same console errors noted though. @redknite may I ask you to note versions for your OS and the browsers you tested with for reference and which theme you are using if you're able? |
@designsimply Thanks for the quick reply! I'm on windows 7 running firefox 63.0.1 (64-bit) and Chrome Version 70.0.3538.102 (Official Build) (64-bit). Wordpress is on 4.9.8 and I'm on twentyfifteen 2.0 theme. |
Thanks! The important issue here is that when you click on an embedded video, the toolbar does not appear and I can confirm this problem. I believe the expectation is that the first click on an embedded video should select it (at which point the block toolbar should appear). I was also curious about the console errors and so I've tested again and here's what I found: I tested with Firefox 63. on Win7 and now I see the CORS message, however, it is a warning not an error—which may mean it's not significant—and I was unable to see the InvalidStateError on Windows.
I was able to see the InvalidStateError on macOS after updating the plugin from 4.4 to 4.5 and then viewing the Gutenberg > Demo:
Note: the InvalideStateError seems to be an error coming from Vimeo's player directly (I think). I see that error both in the editor view and on the front end and it doesn't seem to have any effect on whether or not I can play the video. I am not sure whether the console messages are important to the problem in this case but it is still good to explore them! |
I noticed this happens with other video embeds as well. Video: 1m58s |
This has been discussed in the past, and believed fixed. But it's clearly an issue again. I have reopened #483, which is the best place to discuss this, and I'm going to close this one in favor of that to keep the discussion there. Thank you for resurfacing the issue, let's get it fixed! |
I can edit the vimeo block fine on chrome by clicking on it, but when I'm in firefox clicking on the video block only starts and stops the video. Block section on right continues to show "no block selected" and toolbox that should appear over the box does not show up.
Additionally in my console on firefox I get theses issues noted: (I'm only using the "welcome to gutenburg" post and no changes have been made/saved.)
in chrome, when I try to view this block in html, I get this noted in my console:
The text was updated successfully, but these errors were encountered: