most importantly; move away from standard youtube embeds, try wp youtube lyte maybe (mine) or video lazy load (not mine)?
hope this helps,
frank
Hi Frank, Thanks for your reply. This plugin will not help regarding this issue? If I place youtube js link this http://prntscr.com/kms6zq ?
I will try with your WP YouTube Lyte plugin. What I have to do after active this plugin?
Kind Regards,
Shahidul
This plugin will not help regarding this issue? If I place youtube js link this http://prntscr.com/kms6zq ?
no, AsyncJS can only act on JS that is directly referenced in your HTML, which is is not the case for JS that is loaded in an iframe (as youtube embeds are).
What I have to do after active this plugin?
install, activate, add YouTube API key, purge page caches (if any) and test I guess π
have fun!
frank
OK, thanks.
I have install Lyte plugin, activated and added YouTube API key and insert youtube video in the page by shortcode but it’s looking like this http://prntscr.com/kmscuf π
pagebuilder I guess, try adding it as Lyte widget instead?
Thanks for your response and help. The page has been created with cherry shortcode. It’s page content area how it can be possible to add as widget?
I have no idea what cherry shortcode is and how it works I’m afraid, so can’t go into specifics here, sorry.
The only thing I can do is explain there are roughly 3 ways in which you can add LYTE’s;
* adding a youtube link (either normal youtube link or the “httpv”-variant), e.g. httpv://youtu.be/jLOnUWJTCG0
, which only works if the link is in standard WordPress content (i.e. filterable by the the_content
filter)
* adding the LYTE shortcode e.g. [lyte id="jLOnUWJTCG0" /]
* adding the LYTE widget (in sidebars or in a block in a pagebuilder)
hope this clarifies,
frank
Hi Frank, You are really responsive and helpful. Al last the shortcode has worked!
great Shahidul34! π
you’re welcome, feel free to leave a review of AsyncJS and support here! π