fix bugs and add video upload to tinymce