- This topic has 3 replies, 2 voices, and was last updated 8 years, 4 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › WP Lightbox Ultimate: How to add "enablejsapi=1" to youtube parameter?
Hi
I have added the following shortcode to this page:
[http://family-news.cochlear.com/en-uk/summer-love-for-your-ci-system/]
[wp_lightbox_prettyPhoto_anchor_text_video link=”https://www.youtube.com/watch?v=-x2Rpix8Bgc&rel=0&ref=0&enablejsapi=1″ text=”Take a quick refresher on how to care for your system” description=”Everyday care for your Nucleus 6 Sound Processor”]
Unfortunately the “enablejsapi=1” parameter is ignored… Any tips on how to solve this issue?
Thanks
Cheers
Ulrich
Hi, This parameter is not supported in our prettyPhoto shortcode. Why are you trying enable this API anyway? We do have another YouTube shortcode if you are looking for some advanced iframe parameters.
http://lightbox.tipsandtricks-hq.com/advanced-youtube-embed-demo/
I need it to use Google Tagmanager for getting access to the Google Analytics events in videos (Play, Pause, etc.)…
That may not work in this case anyway since the video is loaded dynamically in lightbox. Can you just do the click event tracking?