MyBB Community Forums
[Pushed] Video code with non-supported provider breaks editing using SCEditor. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html)
+---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html)
+----- Forum: Pushed (https://community.mybb.com/forum-183.html)
+----- Thread: [Pushed] Video code with non-supported provider breaks editing using SCEditor. (/thread-224654.html)



Video code with non-supported provider breaks editing using SCEditor. - noyle - 2019-09-17

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.


RE: Video code with non-supported provider breaks editing using SCEditor. - Ben - 2020-04-27

[video=dailymotio]http://test.com[/video]


RE: Video code with non-supported provider breaks editing using SCEditor. - Ben - 2020-04-27

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