aino/galleria — pull request #325 by NickolayT (2014-03-03 05:55:28+00:00)
Title: Patch 1

If I use some videos (example: http://www.youtube.com/watch?feature=player_detailpage&v=n1fS63AbQks) it can't work. Why do you use /https?:\/\/(?:[a-zA_Z]{2,3}.)?(?:youtube.com\/watch\?)((?:[\w\d-_\=]+&(?:amp;)?)v(?:<[A-Z]+>)?=([0-9a-zA-Z-_]+))/i. I suggest to use /https?:\/\/(?:[a-zA_Z]{2,3}.)?(?:youtube.com\/watch\?)((?:[\w\d-_\=]+&(?:amp;)?)v(?:<[A-Z]+>)?=([0-9a-zA-Z-_]+))/i. I replace & by &.