I have used EpiServer YouTube Content Provider
I am getting this error in the browser console after I have added the YouTube gadget from the CMS edit mode. And CMS edit is not usable as it shows blank content.
The script from “http://localhost/login/Shell/11.14.0/ClientResources/epi-cms.component.Media.js” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type. Loading failed for the <script> with source “http://localhost/login/Shell/11.14.0/ClientResources/epi-cms.component.Media.js”.
Here is the full error which is displayed on the browser console. (As you can see: The edit mode is blank; nothing is displayed other than a white screen. However, we could access the admin page. It shows all the content. But not the CMS edit mode)
It seems like this line is causing the issue- https://github.com/episerver/YouTubeContentProvider/blob/83ccea620891b15077f6b70d19f1a8152ee823a2/EPiServer.Sample.YouTubeProvider/UI/YouTubeComponent.cs#L13
Any thoughts on how to fix?
I am having,
EPiServer.CommonFramework version=9.0.1
EPiServer.CMS.Core version=11.11.0
EPiServer.CMS.UI version=11.14.0
EPiServer.CMS.UI.Core version=11.14.0
EPiServer.Shell version=11.2.0.0
EPiServer.Community version=9.0.0