• Resolved GuitarKat

    (@guitarkat)


    Hi guys,

    WordPress version 4.3.5…

    Love your shortcode for videos and for a pretty nice lightbox. It’s excellent.

    I’m just wondering though, if there is any future development in terms of having an easy way to integrate the YouTube iframe API with this so the iframe can callback to the iframe API javascript easily or ideas of how to get this to work because the iframe in the lightbox is having issues triggering outside of the div for some reason or another. 🙂

    I could be doing this wrong, but if you have any ideas of how to make this work, I would be super happy.

    Thanks for your help and consideration!

    https://wordpress.org/plugins/wp-video-lightbox/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, check the following PDF file. Let me know if this helps you.

    Regards

    Thread Starter GuitarKat

    (@guitarkat)

    Hi!

    This doesn’t quite help me, as I think it’s how your lightbox works itself v. the YouTube iframe API, unfortunately. I know how to invoke the iframe inside the lightbox, so this doesn’t quite work.

    Thanks for getting back to me so quickly. Super support.

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for your nice words, unfortunately at present the plugin does not have the option you are looking for. I have submitted a message to the plugin developers to investigate further your request.

    Regards

    Thread Starter GuitarKat

    (@guitarkat)

    Thanks! It sounds like it may be a limitation of the iframe API library as well and there’s this gap about the DOM and it having to be on the page (as opposed to be added later because of how the library works).

    I will mark this resolved for now. Thanks for passing this forward to your plugin devs.

    Plugin Author wptipsntricks

    (@wptipsntricks)

    @guitarkat, Video Lightbox doesn’t use the YouTube iframe API. It simply embeds the iframe embed code (provided by YouTube) in lightbox.

    Thread Starter GuitarKat

    (@guitarkat)

    @wptipsntricks

    I get that part. 🙂 It was easy to implement. Thanks!

    The issue I am having is integrating YouTube iframe API for tracking with your iframes created in the lightboxes from your plugin. It does not trigger the code for tracking that I’m trying to implement, unless I’m missing something in implementation somewhere. It is likely because the div gets added to the DOM when the link is triggered to have the iframe in the lightbox. Therefore, the YouTube iframe API doesn’t know it is there to interact with it.

    To be quite honest, the library API has a lot of complaints when people try writing for it due to its inflexibility and limitations is what I am finding.

    Thanks for your response! Much appreciated. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘YouTube iframe API’ is closed to new replies.