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.
- Sold between 100 000 and 250 000 dollars
- Author was Featured
- Author had a Free File of the Month
- Exclusive Author
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Has been a member for 4-5 years
- Referred between 10 and 49 users
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