I modified my prettyphoto.js by changing this function. It doesn't have cases for avi and mp4 by default so it assumes the files are images. Change it like this and it should work.
Hi, Ive tried to put any type of video content(flv, mov, swf) using prettyphoto and none of them will work. Ive changed my js file to what you said bmeier and it is still not working.
Here is a sample line from a working site I made (it looks very similar to yours):
The word in the square brackets following prettyphoto in the rel area ("group2" in my case) does not determine how to play the file type. It simply tells prettyphoto that every item with that exact text is in the same slideshow. I would make sure your video is visible at the url you are attempting to include in the href.
@cuckoo
You may run in to problems if you use the code you included (return 'flv';) If you look at the $.prettyPhoto.open function there is no case for handling 'flv', if there are errors try doing:
return 'flash';
Er, so I applied the above patch, but my mp4's and m4v's don't play. If I remove rel="prettyPhoto" then the videos play, just not prettily. Clearly something else is wrong. But what?