WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
[resolved] How to add some thing below the video? (4 posts)

  1. kiavash
    Member
    Posted 1 year ago #

    I want to add some html and php codes under the youtube video
    how is that possible
    thanks ;)

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    For text or basic HTML you could use the title attribute of your links.

    But advanced stuff or PHP? You'll need to switch to inline mode or even iframe mode and create stand-alone pages to do that.

  3. kiavash
    Member
    Posted 1 year ago #

    how can i swith to iframe?
    and
    is it possible to still have the youtube functionality ?

  4. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    @kiavash, to view youtube videos in iframe mode you'll need to disable the auto-detection option for youtube links (you can leave short-url detection on) or completely disable the youtube option. Plus, enable and configure the iframe option. Next, you need to change all your youtube links manually:

    Go to the Youtube page and choose the "share" option. Then choose the iframe embed option and take the "src" location that is given there. Then return to your own site and use that location URL for the link instead of the URL to the youtube page. Also, give that link the class "fancybox-iframe"...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic