Answer the question
In order to leave comments, you need to log in
How to add id to iframe?
Hello. Site on wordpress. I insert a video through a link, like:
https://youtu.be/xLgZutlQYRs
appears in the iframe entry
At the beginning of the article there is a link:
Tell me how to add id='video' to the iframe or how to wrap the iframe in a div with id='video' using js
<a href="#video">Посмотреть видео</a>
Answer the question
In order to leave comments, you need to log in
<iframe id='video'></iframe>
<iframe id='video'><a href="#video">Посмотреть видео</a></iframe>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question