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

Commit

Permalink
Updated to v3.5.1
Browse files Browse the repository at this point in the history
- Fix HTML5 video posters
  • Loading branch information
fancyapps committed Sep 30, 2018
1 parent 42d6aab commit 8f199f5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions dist/jquery.fancybox.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ==================================================
// fancyBox v3.5.0
// fancyBox v3.5.1
//
// Licensed GPLv3 for open source use
// or fancyBox Commercial License for commercial use
Expand Down Expand Up @@ -1724,7 +1724,7 @@
slide.opts.video.tpl
.replace(/\{\{src\}\}/gi, slide.src)
.replace("{{format}}", slide.opts.videoFormat || slide.opts.video.format || "")
.replace("{{poster}}", slide.opts.thumb || "")
.replace("{{poster}}", slide.thumb || "")
);

break;
Expand Down Expand Up @@ -3029,7 +3029,7 @@
});

$.fancybox = {
version: "3.5.0",
version: "3.5.1",
defaults: defaults,

// Get current instance and execute a command.
Expand Down
6 changes: 3 additions & 3 deletions dist/jquery.fancybox.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@fancyapps/fancybox",
"description": "Touch enabled, responsive and fully customizable jQuery lightbox script",
"version": "3.5.0",
"version": "3.5.1",
"homepage": "https://fancyapps.com/fancybox/3/",
"main": "dist/jquery.fancybox.js",
"style": "dist/jquery.fancybox.css",
Expand Down
2 changes: 1 addition & 1 deletion src/js/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,7 @@
slide.opts.video.tpl
.replace(/\{\{src\}\}/gi, slide.src)
.replace("{{format}}", slide.opts.videoFormat || slide.opts.video.format || "")
.replace("{{poster}}", slide.opts.thumb || "")
.replace("{{poster}}", slide.thumb || "")
);

break;
Expand Down

0 comments on commit 8f199f5

Please sign in to comment.