You’ll want to use a plugin to get the iframe to stay in wordpress. There’s a few good plugins that sprung up to fix this, and most are pretty straightforward in how to get the iframe to work.
I’ve been having this issue ever since updating, adding it to the code worked for a little bit, but it kept getting mysteriously deleted whenever the page it was on was edited.
Good luck!