Regarding Repository plugin embedding external file chooser

Regarding Repository plugin embedding external file chooser

by pramod ubbala -
Number of replies: 0

Hi,

I developed a custom repository plugin using the concept as mentioned in the below link, where users can search for videos and audio files and embed.

https://docs.moodle.org/dev/Repository_plugins_embedding_external_file_chooser.

The Screenshot of my custom plugin.



This works as expected in Moodle version 2.8 when clicked on embed button,the file name is inserted into the editor


But when I install the same plugin in Moodle 2.3 version or 2.4 Version,instead of file name the entire link is inserted into editor and i am not expecting this.



Is there something which i need to change the code for this version or this is the expected behavior?

Please let me know if any more information is required.

Regards

Pramod


Average of ratings: -