Here’s are alternative ways to do it:
1) Via Google Drive
We use the “Embed item” function which provide the codes for us to paste in the text mode.
2) Via PowerPoint Online:
Here, with the code provided by One Drive, we shall paste the code in the text mode.
Can you see the difference?