I tried to implement a tiny script on my website (joomla 3) which swaps an image on klick with an iFrame in my case a vimeo-video. I found a good example for this on jsfiddle: https://jsfiddle.net/8dyom878/
In the first place I added the script in the head of my Website. In the second step I changed “$” to “jQuery” and got rid of the error in the console, but still no working result.
Maybe one of you can helpt me with that out, I would appreciate this
a lot! Thanks in Advanced!
(Please be kind, I`m not a programmer and have little to no experience in java-script)