-
-
Save Spellhammer/f79575d1f50590ebce619a2a38f8b18f to your computer and use it in GitHub Desktop.
rebuilt-et-video-tabs.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery('.et_tab_button').click( function() { | |
var video = document.querySelector('.et_tab_video'); | |
jQuery('.et_tab_video source').attr('src', jQuery(this).data('video')); | |
video.load(); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment