I am fairly new in this. I have the following iframe
<iframe width="560" height="315" src="<%=video1[1]%>" frameborder="0" allowfullscreen></iframe>
What I am trying to do is have it play video1[1]
, but show the image that is in video1[2]
.
I tried doing is:
<iframe width="560" height="315" href="<%=video1[2]%>" src="<%=video1[1]%>" frameborder="0" allowfullscreen></iframe>
but that doesn't work.
Is there a simple way of doing it?