Im trying to show a trailer from a youtube video this is  what I've done:



SourceURL: 

SyntaxEditor Code Snippet

"<iframe width=""560"" height=""315"" src='https://www.youtube.com/embed/SE_FnuD9zJc'  frameborder=""0"" allow=""accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"" allowfullscreen></iframe>"



This shows an error:

















Solution

The iframe widget that you are using has input parameter to add the URL, width, height and title of the iframe. You should take this text:

"<iframe width=""560"" height=""315"" src='https://www.youtube.com/embed/SE_FnuD9zJc'  frameborder=""0"" allow=""accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"" allowfullscreen></iframe>"

and separare each part for the inputs of the widget.

The other solution is to copy all that code and add it inside an expression with the "Escape Content" set to "No". And place the expression in the place were you have the iframe widget at the moment


Solution