Skip to content

Commit

Permalink
Add YouTube playlist support
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyapps committed Jul 31, 2012
1 parent 76f4cf2 commit acb8157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/helpers/jquery.fancybox-media.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
F.helpers.media = {
defaults : {
youtube : {
matcher : /(youtube\.com|youtu\.be)\/(v\/|u\/|embed\/|watch\?v=)?([^#\&\?]*).*/i,
matcher : /(youtube\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed)?([\w-]{11}|\?listType=(.*)&list=(.*)).*/i,
params : {
autoplay : 1,
autohide : 1,
Expand Down

0 comments on commit acb8157

Please sign in to comment.