We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When embedding a video from Vimeo using [embed] shortcode, the following happens:
[embed]
<iframe> has no src attribute.
<iframe>
Vimeo's Javascript can't read the src attribute.
This specific video is hidden during the page load which might be causing the issue.
Managed to fix this with a workaround by using <iframe> with data-no-lazy="1" instead of [embed].
data-no-lazy="1"
Original code: [embed width=1000 height=562]https://player.vimeo.com/video/xxxxxxxxx[/embed]
[embed width=1000 height=562]https://player.vimeo.com/video/xxxxxxxxx[/embed]
cc @lkraav
The text was updated successfully, but these errors were encountered:
It's probably not specific to Vimeo, but because the iframe is initially hidden, so it's not detected by the lazyload script.
Which browser(s) did you test on?
Sorry, something went wrong.
AFAICT it's the same on all browsers. EDIT how could it not be?
@silversillu couple of minor updates have been deployed. Can you check if anything has improved with this?
@lkraav fixed! iframes have the src attribute available on page load now.
remyperona
No branches or pull requests
When embedding a video from Vimeo using
[embed]
shortcode, the following happens:<iframe>
has no src attribute.Vimeo's Javascript can't read the src attribute.
This specific video is hidden during the page load which might be causing the issue.
Managed to fix this with a workaround by using
<iframe>
withdata-no-lazy="1"
instead of[embed]
.Original code:
[embed width=1000 height=562]https://player.vimeo.com/video/xxxxxxxxx[/embed]
cc @lkraav
The text was updated successfully, but these errors were encountered: