api working for videos ?
  • Hi,

    I'm wondering if the open call also works for videos on youtube ? For images its working for me but not for videos....

    Any suggestions ?


  • It's probably the YouTube link you've chosen. In the upper-right of corner of YouTube is a box with 2 sets of code. One is URL and the other is Embed. Use the code for "URL".

    Here's a working example:


    function PrettyPhotoDelegate(where, title, comment) {

    $, title, comment);

    // $.prettyPhoto.changePage('next');
    // $.prettyPhoto.changePage('previous');
    // $.prettyPhoto.close();

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter