Skip to content

Commit 6cf2ecb

Browse files
committed
video extension now uses YouTube iframe api script - should fix #191, #263, #333, #454, #501 and #525
1 parent 182ab0b commit 6cf2ecb

File tree

3 files changed

+186
-117
lines changed

3 files changed

+186
-117
lines changed

Diff for: js/jquery.anythingslider.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -908,8 +908,8 @@
908908

909909
// Video
910910
resumeOnVideoEnd : true, // If true & the slideshow is active & a supported video is playing, it will pause the autoplay until the video is complete
911-
resumeOnVisible : true, // If true the video will resume playing (if previously paused, except for YouTube iframe - known issue); if false, the video remains paused.
912-
addWmodeToObject : "opaque", // If your slider has an embedded object, the script will automatically add a wmode parameter with this setting
911+
resumeOnVisible : true, // If true the video will resume playing, if previously paused; if false, the video remains paused.
912+
addWmodeToObject : "opaque", // If your slider has a video supported by the extension, the script will automatically add a wmode parameter with this setting
913913
isVideoPlaying : function(base){ return false; } // return true if video is playing or false if not - used by video extension
914914

915915
};

0 commit comments

Comments
 (0)