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

Avatar

Avatar

tarun_singh

Avatar

tarun_singh

tarun_singh

06-10-2020

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 internal 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.

 

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 the issue is in /libs/clientlibs/ckeditor/resources/ckeditor/plugins/oembed/libs/jquery.oembed.min.js

 

https://github.com/adobe/aem-core-wcm-components/issues/1174 

Accepted Solutions (0)

Answers (0)