Opened 3 years ago
Last modified 3 years ago
#53934 new defect (bug)
Vimeo embed working in admin and not on post when using private link
Reported by: | Trouffman | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.8 |
Component: | Editor | Keywords: | |
Focuses: | ui | Cc: |
Description
Hi,
Issue :
Vimeo Embed link does not appear in the post (not even in the source code of the blog post) when using private link.
Current Behavior :
When copy/pasting a "private video link" from Vimeo into the WordPress Post editor (default one) the embed is done automatically, but does not display / work on the post once published.
Expected behavior :
Copy/paste the Vimeo link to wordpress, emebed is done autoamtically, when publishing video is visible ont he blog page.
How to reproduce :
- Get a Vimeo "private link" to a video
- Paste the Private link to a new blog post
- (WP will Auto embed the vimeo videpo player)
- publish post
- Post does not contain the video.
- If you edit the same blog post, the video is in there.
How to solve (workaround)
Embed the vimeo player as an "embed" link using the "player.vimeo.com/video/VIDEOID".
What is causing the problem ?
From my experience & debugging : This behavior is mostly with Vimeo "private link".
Wordpress will automatically embed even is you copy the private link and it will work in the admin (and if you are connected on your vimeo account). But this will not show up on the page/blog post once published.
Embed expect the following : player.vimeo.com/video/VIDEOID
The private link is : vimeo.com/VIDEOID/RANDOMUNIQUEIDHERE
The vimeo page via private link is providing the info for oembed (json & xml) in its source.
(first time submitting a bug report here. Edit if required.)
This is still the case.
It looks like the rewritign of the player URL doe not take into account the "key" (extra h=[privatekey]) to allow the private embedding.
When the video is set to be "public" this works without a glitch.