I was following this git repo for extending the Embed core component. Extension of the Embed component is possible by providing any of the following:
The custom oEmbed configuration, I tried adding a new config in Core Components oEmbed client with the following values.
When I try to enter a URL like https://vimeo.com/76979871 I get a message that this URL is not supported and a 404 response in the network tab for that request.
The request URL: http://localhost:4502/content/project_name/_jcr_content/root/container/container/embed.urlProcessor.json?url=https://vimeo.com/7697987
Did I miss something here, could someone help!
Also how can use the custom URL processor for vimeo?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Theo_Pendle
That was one thing for sure when I checked now. The other thing was the URL scheme, I changed the scheme from https://vimeo.com/* to https://vimeo.com/.* . I'm quite not sure the significance of this dot.
Thanks
Views
Replies
Total Likes
Hi, I'm happy you found the issue
A great site for testing regex expressions is regex101.com
Also: I from a security perspective I recommend being as restrictive as possible to make sure people can't abuse the URL scheme. I don't recommend using the dot wildcard since that would let people link to http://vimeo.com/whatever-they-want for example
Views
Replies
Total Likes