Skip to content

Commit

Permalink
v2.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrishnan8594 committed Jun 9, 2022
1 parent 9692b25 commit d490e26
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions dist/player.es.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! @vimeo/player v2.16.4 | (c) 2022 Vimeo | MIT License | https://github.com/vimeo/player.js */
/*! @vimeo/player v2.17.0 | (c) 2022 Vimeo | MIT License | https://github.com/vimeo/player.js */
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
Expand Down Expand Up @@ -87,7 +87,7 @@ function isVimeoUrl(url) {
* @return {boolean}
*/

function isVimeoEmbedWithHashParam(url) {
function isVimeoEmbed(url) {
var expr = /^https:\/\/player\.vimeo\.com\/video\/\d+/;
return expr.test(url);
}
Expand Down Expand Up @@ -1061,7 +1061,7 @@ function initAppendVideoMetadata() {

var isValidMessageSource = iframe.contentWindow === event.source;

if (isVimeoEmbedWithHashParam(iframe.src) && isValidMessageSource) {
if (isVimeoEmbed(iframe.src) && isValidMessageSource) {
var player = new Player(iframe);
player.callMethod('appendVideoMetadata', window.location.href);
}
Expand Down
6 changes: 3 additions & 3 deletions dist/player.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/player.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/player.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/player.min.js.map

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,6 +1,6 @@
{
"name": "@vimeo/player",
"version": "2.16.4",
"version": "2.17.0",
"description": "Interact with and control an embedded Vimeo Player.",
"license": "MIT",
"author": "Vimeo <https://vimeo.com>",
Expand Down

0 comments on commit d490e26

Please sign in to comment.