I have created an external tool as an LTI app and integrated our tool with canvas as an editor button in Rich content editor.When the user clicks on the external tool button, then the application will open as a window and user will be able to search a video and click on embed button for the video to inserted in the rich content editor. Its functionality is same as Youtube LTI. When the user clicks on embed button, I am generating an iframe html script.
I am unble to figure out how to pass that code to canvas using API. I want to put a video of that external tool into the canvas rich content editor through API calling. I am not sure how to do that?. Please help me with the issue.