43 posts
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has referred 50+ members
  • Has collected 50+ items on Envato Market
+2 more


After a lot of searching I’ve found here some changes which should be done in order that Dailymotion videos should work with Prettyphoto.

I’ve done these changes and it’s working… but not the first time after I refresh the page.

I mean that if I have this rel=”prettyPhoto[videos]” and here I have 3 videos from youtube, vimeo and dailymotion, it’s working only if I don’t hit the first time the dailymotion video. So if I hit the vimeo video and then going to next video…it’s working. But if I refresh the page and hit the dailymotion video first… it’s not working.

I’m sure this is a minor change because it doesn’t recognize the path for the first time or something I don’t know…

A live example is here.

And, yes I found Casar Davorin’s script but dailymotion doesn’t work, even if he says is working.

Could somebody help me please?

Thanks in advice.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes