when i give variables in the src attribute like this
<iframe width="560" height="315" src={urlHead+url} title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>instead of coding like this src attribute
<iframe width="560" height="315" src="https://www.youtube.com/embed/qFJeN9V1ZsI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>i have my youtube links in splitted way . i want to use them in my src attribute but it not working properly.it displays this
An error occurred. Please try again later. (Playback ID: wCrWdUVnceGSB5lI)Learn More