Author: pbrocks
Need SPF
Cheers, Paul
Paul Barthmaier WordPress Developer +1.215.326.9063 pbrocks.com
On Sat, May 9, 2020 at 9:15 AM <file@pbrocks.work> wrote:
> > -TDlWFF*-yvS > >
JavaScript Explained – Gitbook
Learn how to embed YouTube videos responsively and without increasing the page load time. The embeds are light and mobile friendly and the YouTube player is loaded only when the user initiates the …
Source: A Better Method for Embedding YouTube Videos on your Website
Add another empty parameter src=””. This replaces the src we just changed to data-src Your should look something like this now: THE JAVASCRIPT The we set up by itself won’t load the video correctly. We’ll use some JavaScript to get it to load correctly. function init() { var vidDefer = document.getElementsByTagName(‘iframe’); for (var i=0;
Source: Defer Parsing of JavaScript With YouTube Videos – Scott DeLuzio
Source: Monosnap