0

I've a .yaml file that inside there is a code that allow to load a .mp4 video.

html: "<video autoplay preload=\"none\" muted loop>\n  <source src=\"/wp-
content/img/646440130.mp4\" type=\"video/mp4\"></video>"

I'd like to replace it with a YouTube code video.

for example with this :

<iframe width="1920" height="1080" src="https://www.youtube.com/embed/dT2owtxkU8k" frameborder="0" allowfullscreen></iframe>

i try like this :

html: "<iframe width=\"1920\" height=\"1080\" 
src=\"/https://www.youtube.com/embed/dT2owtxkU8k\" frameborder=\"0\" 
allowfullscreen></iframe>"

Anyone know the code to add it with right syntax ?

thanks

emiliano
  • 189
  • 2
  • 16

0 Answers0