Hello, I have a website with a post system and the problem is this: the user can put a YouTube iframe for example in any resolution:
<iframe width="560" height="315" src="https://www.youtube.com/embed/CKjPutIlBCA"frameborder="0" allowfullscreen=""></iframe>
I want to put a width and height limit, the problem is that the user sends the code and the system interprets the way he writes, he wanted the system to detect the iframe and do not let the user post, or otherwise release the iframe and resize automatically, help me I do not know how I do it.