Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Fancybox Pop – YouTube video on iPhone & iPad #3054
    edgarj
    Participant

    It works..! Thanks Ally.

    Here’s the javascript and link – in the hope that it will help anyone else with a similar issue.

    $(“#fancybox-video”).click(function() {
    $.fancybox({
    ‘padding’ : 0,
    ‘autoScale’ : false,
    ‘transitionIn’ : ‘none’,
    ‘transitionOut’ : ‘none’,
    ‘title’ : this.title,
    ‘width’ : 680,
    ‘height’ : 495,
    ‘href’ : this.href.replace(new RegExp(“watch\\?v=”, “i”), ‘v/’),
    ‘type’ : ‘iframe’
    });

    return false;
    });

    Link

Viewing 1 post (of 1 total)
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy