UG] Embed code is generated with errors on the new KMC

I have found a bug with the embed code generator on the new KMC (kmcng) studio.

When you create the embeded code and turn on SSL support, the scheme for the source of the code get appended and the http is not replaced as follows:


You need to manually delete the http:// part for the embed code to work properly.