Hi,
I have added a 'add video' button to the editor. I am allowing members to add youtube or google video's to the forum. I am using the embed tag to do this. Also i am using editor.pasteHtml function and it inserts it fine.
The problem is that when insert.pasteHtml is called, the editor is in design view and nothing appears. Only when i switch manually to Html mode i see the code and when i switch back there is a big flash symbol.
Users will need some way on knowing the video has been inserted, I was thinking if there is a way to switch from design to html and back so that the flash may appear. Hoping some function like editor.switchhtmlmode or editor.switchdesignmode.
If there is another way to accomplish this, ideas are most welcome.
Thanks,
Amith
I have added a 'add video' button to the editor. I am allowing members to add youtube or google video's to the forum. I am using the embed tag to do this. Also i am using editor.pasteHtml function and it inserts it fine.
The problem is that when insert.pasteHtml is called, the editor is in design view and nothing appears. Only when i switch manually to Html mode i see the code and when i switch back there is a big flash symbol.
Users will need some way on knowing the video has been inserted, I was thinking if there is a way to switch from design to html and back so that the flash may appear. Hoping some function like editor.switchhtmlmode or editor.switchdesignmode.
If there is another way to accomplish this, ideas are most welcome.
Thanks,
Amith