I don’t know why but prettyphoto does not work for me. It don’t play videos from youtube or vimeo. If the video is from youtube then it is open but never starts, but if the video is from vimeo it reload the page every second and nothing shows up.
Anybody has the same problem or is only me?
On demo site is the same problem. http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
Any help will be appreciated.
YouTube works for me, Vimeo does not, just like ou described.
There is an error in console when you try to run vimeo:
Uncaught TypeError: Cannot read property ‘2’ of null
Wherever its coming from hopefully it gets fixed soon.
var regExp = /http(s?):\/\/(www\.)?vimeo.com\/(\d+)/;to:
var regExp = /http(s?):\/\/(www\.)?player.vimeo.com\/video\/(\d+)/;
Hope this helps Akhil