Any suggestion about YouTube stack without preloading of the “base.js (1.3Mb)”?
DooBox’s VideoPlus can do it, but after clicking on the poster image it open video by specific way: sliding modal window from the left.
But all I need is to play video at the same place and size of the poster image (screenshot with arrow over it) without other special effects.
But all of this stacks load base.js every time (how i can see at demo-pages of they)
And I can’t put YT’s-embed, because first of it do is also loading base.js. How i can see, all RW stacks i know, is simple wrappers around YT’s-embed code, and this mean all of them loading base.js.
I mean i need something like this: stack with poster image, but with ability to start connect to YT only after (and IF ) user click on poster image, not before. This must avoid of loading 1.3MB not needed code every time page load.
You can customise the code snippet provided there which might solve your problem.
If it doesn’t work I can try to create a corresponding stack for you.
Thank You, i’ll try. But i think this type of stack will be popular, because importance of “speed rank” of SEO.
If we talk about “commercial” stack, IMHO it must have:
placeholder for poster image,
placeholder for overlay image of “play” button
some counts of predrawed “play” button images
ability to add overlay Title
ability to use YT/Vimeo/??? ID, not a full link with https://