# edu-sharing Editor

Editors ::: editor_edusharing
Maintained by Christian Ernst, Steffen Hippeli
The edu-sharing editor plugin adds the option to embed all kinds of edu-sharing content to all WYSIWYG fields. The new button will open the edu-sharing search engine and let you pick an item embed. Audio and video-files will be embedded with a player. Documents will be represented by a link. You may pick which version of the content you would like to provide in the course (always the latest vs. the version you just picked).
Latest release:
39 sites
7 fans
Moodle 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8

The edu-sharing editor plugin adds the option to embed all kinds of edu-sharing content to all WYSIWYG fields. The new button will open the edu-sharing search engine and let you pick an item embed. Audio and video-files will be embedded with a player. Documents will be represented by a link. You may pick which version of the content you would like to provide in the course (always the latest vs. the version you just picked).

### Dependencies

Depends on the edu-sharing activity module. To show the embedded content the edu-sharing filter must be activated.

### Installation

Activate the edu-sharing editor plugin for tinymce and push it to the first position in the editor plugin overview list

For a full documentation with screenshots of the post installation steps for the edu-sharing plugin pakage visit the documentation pages.

### Awards

• Sat, Aug 27, 2016, 12:04 AM

Marking as needing more work to give you opportunity to re-consider the concept of the plugin, or provide a feedback why the current approach has been chosen.

• Thu, Sep 29, 2016, 10:35 PM
I talked to the developer who initialized this plugin. The main reason why this approach was chosen, is to make installation and enabling/disabling as easy as possible. But you are right, we should consider to implement this as a editor plugin. Although, it would be great if you could approve the plugin in the current state, as it is a essential tool to use edu-sharing content in moodle. We want to serve Atto editor in the near future, so i suppose that i will reimplement this plugin soon.
Kind regards
• Thu, Nov 24, 2016, 5:16 AM

Hi Steffen, and sorry for the delay in finishing the review of your plugin. There are couple of issues I spotted that should be addressed in a future version.

• The direct access to super-global variables like $_SESSION is strongly discouraged in any moodle plugin. Additionally it seems that in edusharing_texteditor::editor_edusharing_init_edusharing_ticket() there are both $_SESSION and \$SESSION used by mistake.
• It would be better in this case to explicitly declare dependency on the tinymce editor in the version.php
• As you are using your own low level curl calls to obtain the remote content, the plugin does not respect other related site's settings (such as proxy etc). It might be better (and safer) to stick to using Moodle core API for these things.

Normally I would prefer to see these things fixed before publishing the plugin here. But I am going to approve this now anyway as the plugin is a useful addition to the edusharing resource module and I believe you will improve it soon. You are cleared to land, welcome to the Plugins directory.

• Fri, Jan 26, 2018, 2:28 PM
Hello there, I just installed this plugin and now it is showing a 502 Bad Gateway server. Could this by any means be correlated? Thank you in advance!
• Fri, Jan 26, 2018, 4:24 PM
Hi, without any knowledge on your system it is hard to debug. Eventual errors occuring with soap calls in this plugin trigger user warnings and do not break program execution.
Did you already connect the plugin to any repository?
• Wed, May 2, 2018, 2:32 AM
Hi,
I just install the plugin and i have exactly the same problem like Paulo: HTTP ERROR 500. What is the solution to this? The site is working fine but when i navigate to admin it brake it.
• Wed, May 2, 2018, 2:38 PM
I assume the error is thrown in the repository. Did you connect the plugin and the repository like it is described in the documentation? Can you access the log files of the repository?
• Tue, Jul 17, 2018, 12:39 AM
after installing the plugin no puede procesar esta solicitud en este momento.
HTTP ERROR 500
• Tue, Jul 17, 2018, 12:40 AM
I'm in a big problem install the plugin on my production site and I do not have access to the site because I have this error: you can not process this request at this time.
HTTP ERROR 500
• Tue, Jul 17, 2018, 12:41 AM