Webpages without Javascript are generally pretty static and boring. Javascript is that dynamic client addition to webpage functionality, but perhaps you only think of it as that statically written part of the webpage unable to be reloaded into effect after that initial webpage load. Well, that is not taking into account Javascript such as โฆ
<script>
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
</script>
โฆ taken from the excellent YouTube IFrame Player API we really like to use around here to embed and control YouTube videos embedded into an HTML iframe element.
In todayโs small extension of that we load nine such HTML iframe embedded YouTube videos into a 3ร3 grid. We resisted the previous Brady Bunch usage of such an arrangement (perhaps youโll be sad to hear?!) in favour of showing you a โcollageโ of video snippets from one of my favourite films ever, Mr Smith Goes to Washington.
We hope the HTML and Javascript dynamic_jshtmlโs code will be food for thought, that you can test for yourself at this live
run link.
If this was interesting you may be interested in this too.