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
I think the matter is rather simple explained and taking into account the terms of use of community.elgg.org the consequences seem clear, too.
The plugins were released here pretending they are licensed under GPLv2 while they are in fact licensed under GPLv3. Some of the plugins that were published here are originally not even licensed under any GPL license but using a commercial or some other restricted license. (As regarding changing a license: you are allowed to change the license "GPLv2 or later" to GPLv3 without asking the copyright holder but you are not allowed in any case to change GPLv3 back to GPLv2. But you are never ever allowed to change any non-GPL commercial license to GPLv2 for sure).
After pointing this violation out to the user who uploaded these plugins he decided to disguise this by uploading new versions with altered license files and modified manifest.xml files - even leaving in the autosaved original manifest.xml files in at least one case.
Apart from the violation of copyright it surely is bad style if nothing else to release plugins that were not abandoned by the original developer (IZAP). These plugins were not even altered in any way apart from fiddling with the copyright info. Well, if it were not for the issue with the license this would actually not be forbidden by the terms of use of the community site...
But the terms are quite clear:
Regarding allowed licenses for uploaded plugins:
"Plugins must be released under a GPL2-compatible license."
And regarding violation of copyright in the Basic Use terms:
"11. You must not, in the use of community.elgg.org, violate any laws in your jurisdiction (including but not limited to copyright laws)."
Violation of these terms results in:
"Violation of any of these agreements will result in the termination of your community.elgg.org account."
Indeed, additionally I noticed you have set up a donations page that you had linked from the plugins page. Now that's unethical.
@Matt Beckett : Copy that.
Thank you.
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.