Skip to content

Commit bb8d87e

Browse files
committed
- Fixed bug: removed the addition of api=1 in vimeo videos alvarotrigo#2288
1 parent 226a855 commit bb8d87e

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

jquery.fullPage.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* fullPage 2.8.6
2+
* fullPage 2.8.7
33
* https://github.com/alvarotrigo/fullPage.js
44
* @license MIT licensed
55
*
@@ -725,7 +725,6 @@
725725
}
726726

727727
enableYoutubeAPI();
728-
enableVidemoAPI();
729728

730729
if(options.fadingEffect && FP.fadingEffect){
731730
FP.fadingEffect.apply();
@@ -919,15 +918,6 @@
919918
});
920919
}
921920

922-
/*
923-
* Enables the Vimeo videos API so we can control their flow if necessary.
924-
*/
925-
function enableVidemoAPI(){
926-
container.find('iframe[src*="player.vimeo.com/"]').each(function(){
927-
addURLParam($(this), 'api=1');
928-
});
929-
}
930-
931921
/**
932922
* Adds a new parameter and its value to the `src` of a given element
933923
*/

0 commit comments

Comments
 (0)