Access Drupal Media Library from within H5PEditor Iframe
Submitted by Julian Strecker on Tue, 03/14/2017 - 16:54
We have H5P working inside a Drupal7 Installation.
We currently have the task to make embedding of images from the Drupal-Media-Library possible within the the CKEditors that are used within the H5Peditor. So, what we want is to have access to the Media-Library of Drupal. For that it's neccessary to add a Button to the CKEditor with a click event that triggers opening of the MediaBrowserPlus of Drupal.
In the Frontend-Rendering of Content the media-entity-tags have to be translated back to image tags again, using the Drupal Media Library again.
Is such thing possible in any way?
0Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network
Wed, 03/15/2017 - 08:24
Ref. access to media library
Have you seen this page on how to change the editor programatically? You might be able to add your custom code that gives you access to the media library.