Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

fixing youtube #2519

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dist/jquery.fancybox.js
Original file line number Diff line number Diff line change
Expand Up @@ -3445,7 +3445,7 @@
// Object containing properties for each media type
var defaults = {
youtube: {
matcher: /(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,
matcher: /(youtube\.com|youtu\.be)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,
params: {
autoplay: 1,
autohide: 1,
Expand All @@ -3458,7 +3458,7 @@
},
paramPlace: 8,
type: "iframe",
url: "https://www.youtube-nocookie.com/embed/$4",
url: "https://www.youtube.com/embed/$4",
thumb: "https://img.youtube.com/vi/$4/hqdefault.jpg"
},

Expand Down