I have a piece of simpe PHP code I wrote.
How can I attach it to a new button on the HTMLArea toolbar?
All my code does is lists the videos on a PHPMotion server and gets the embed code. I want it to insert this embed code to the cursor positon (in HTML mode of course).
Any help appreciated. Moodle newbie - some PHP experience. Thanks.