Hi thanks for this it works like a charm. I have a small problem where I cant play embedded video in full screen mode. Any idea how I can work around this?
Thanks again
Oh I have figured it out. In the createIframe function, I added iframe.setAttribute("allowfullscreen", "1");
Works perfectly
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi thanks for this it works like a charm. I have a small problem where I cant play embedded video in full screen mode. Any idea how I can work around this?
Thanks again
Oh I have figured it out.
In the createIframe function, I added iframe.setAttribute("allowfullscreen", "1");
Works perfectly