Thank you for your reply.
I tried it but it didn’t work.
Even though I have disabled automatic <iframe> tag generation in WordPress, when I create a YouTube link it still generates an <iframe> tag and wraps it in an <a> tag, which makes the links in my topics invalid. How can I fix this?