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

ckEditor.js plugin oEmbed - giving error while converting Youtube short-url to long-url #1174

Closed
tarunprakash11 opened this issue Sep 18, 2020 · 2 comments

Comments

@tarunprakash11
Copy link

tarunprakash11 commented Sep 18, 2020

Bug Report

Current Behavior
We am overlaying Journal component and using ckEditor in that. There is a media embed plugin where we can put youtube url and it adds the video onto the blog. But the issue arises when we use Youtube-shortUrl and the jQuery call happens to convert it to longURL over http protocol. And that API call is being blocked on our website as it serves only https.
Also, it works fine when we use YT long-url.

Blogs_embed_video_issue2_new

Expected behavior/code
Expected that is should convert YT shortUrl to longUrl over https call and embed the video onto blog
Environment

  • AEM version 6.4.2.0

Looks like there is code change required in /libs/clientlibs/ckeditor/resources/ckeditor/plugins/oembed/libs/jquery.oembed.min.js
youtube embed issue on blogs site 15sept_new

Adobe consultant directed to raise this as a bug here. Thanks in advance.

@msagolj
Copy link
Contributor

msagolj commented Sep 21, 2020

@tarunprakash11 this is the wrong project you are reporting the issue to :) This is core components and has nothing to do with communities. Not sure what other open source project you should report your issue to or if there is one. Otherwise you might want create an AEM ticket at:

https://helpx.adobe.com/contact/enterprise-support.ec.html

@msagolj msagolj closed this as completed Sep 21, 2020
@tarunprakash11
Copy link
Author

Its an issue with oembed.js where we are extending version of embed core components which is not working for youtube shortlinks. This change in this ticket is suggested by Adobe support team and they asked me to raise the issue under 'aem-core-wcm-components'.
Can anyone provide inputs on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants