MyBB Community Forums

Full Version: Video code with non-supported provider breaks editing using SCEditor.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
At least for the latest 1.8.21 version & the latest dev version (older versions might have this problem as well) using SCEditor, if a post contains a video by ['video=XXX] where XXX is either unsupported or misspelled, the Full edit will probably not work at all by showing blank in editor textarea.

Unsupported or misspelled provider, eg. ['video=DoesItExist] & ['video=vemio]:
https://community.mybb.com/thread-224653.html

Misspelled provider, eg. ['video=vemio]:
https://community.mybb.com/thread-224651.html

The source mode is affected, too, maybe because the editor renders in preview mode first then switches to source mode.

PS, the ' is added for complying with another bug of counting videos in a post.
[video=dailymotio]http://test.com[/video]
Hi,

Thank you for your report. We have pushed this issue to our Github repository for further analysis where you can track our commits and progress with fixing this bug. Discussions regarding this bug may also take place there too.

Follow this link to visit the issue on Github: https://github.com/mybb/mybb/issues/3966

Thanks for contributing to MyBB!

Regards,
The MyBB Group