I can't recommend the embed code option. The original developers had added this feature and I just kept it. But it's not really useable. The bundled Htmlawed plugin interferes here and removes the embed code for safety reasons. It would work with the Htmlawed plugin disabled. But please never do this on any site that's accessible from the Internet!!!
The API key for off-server videos is only needed for Youtube videos. For Dailymotion and Vimeo it should work also independently of the API key to add a video just by copy+paste of the URL of the corresponding video.
When creating the API key at Google you must NOT set any restrictions on usage of the key with respect to IP address or domain address. Try removing any restrictions you might have set on the existing key or create another one without restrictions (a "server key"). As the API is not accessible or visible to any users but only used internally, the lack of restrictions are not a problem.
The error you got could be telling you that the video(s) you are trying to add is/are indeed protected from being embedded on other sites. But as you say it fails for all videos it's more likely that the API key not not working as it should (e.g. due to restrictions on usage).
P.S. as I recently had to find out myself, Google disables API keys now if not used for 60 days. I had gotten a warning email once in the past but the last time they just set the quota to zero and then expected a very, very detailed reports about how I make use of the key, code examples etc. etc. They were not satisfied with a brief overview and as I began to suspect at this point they just want to learn about any promising business models for free. I don't think you would the API key working again even by spending countless hours to report everything down to the last detail.
Better don't try to get the API key unlocked. Just delete the key and create a new key. And maybe set a reminder to yourself to add a video at least once per months to prevent the unwanted removal of the quota of the key.
Ok i understand for the iframe exploit that can happend so i disabled this function.
The API key for off-server videos is only needed for Youtube videos. For Dailymotion and Vimeo it should work also independently of the API key to add a video just by copy+paste of the URL of the corresponding video.
Ok i understand,
Vimeo is working and daylimotion also.
None of my vidéo youtube are working, so i will check on the api key wich look without any restriction.
Lets see
edit [Resolve youtube Video] : I forgot to activate the youtube API V3 in my google dashboard for API KEY
YEAAAY !!
Thank you so much iionly and nikolai !
Thank you for this plugin who work very nicely :D
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.