WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
which class to open up fancybox with Youtube link (4 posts)

  1. innovasistemas
    Member
    Posted 2 years ago #

    I am editing html directly on page html editor;
    what class do I have to add to the links to open up fancybox with a Youtube link

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

  2. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    Hi, if you are working on raw HTML files, you need more that just a class. You need to include all the FancyBox script files and you are no longer in the warm and cozy realm of comfort of any WordPress plugin ;)

    You can get the files you need and read all basics about how to integrate the naked version of FancyBox in your static site pages on http://fancybox.net/ or get a licence for version 2 on http://fancyapps.com/fancybox/

  3. Alexandre Vazzolla
    Member
    Posted 2 years ago #

    Ok ,
    I think I will read more and stay on the safe side
    Thank you very much

  4. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    I am editing html directly on page html editor;

    Or did I misunderstand that statement? Are you saying you are using the so called Rich Text Editor (RTE or the View tab) or otherwise known as TinyMCE inside WordPress?

    If so, then you need to either enable auto-detection for Youtube links in the FancyBox settings (this is the easiest option) ... or ... switch to the HTML tab to manually add the class fancybox-youtube to the link. The RTE does not allow you to add a class to a normal link.

    Only thumbnails that are linked can be given a class. In that case, click the thumbnail and then the Edit icon that appears over it. Then in the new window, go to Advanced and find the Link section. Add the class fancybox-youtube in the class field there.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.