[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.145.35.234: ~ $
if("undefined"!=typeof learndash_video_data){void 0===learndash_video_data.video_debug&&(learndash_video_data.video_debug="1"),"1"===learndash_video_data.video_debug&&console.log("DEBUG: learndash_video_data[%o]",learndash_video_data),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach);var ld_video_players={},ld_video_state=!1,ld_video_watch_interval=2500,ld_watchPlayers_interval_id=!1;if("youtube"==learndash_video_data.videos_found_provider){function onYouTubeIframeAPIReady(){document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe').length&&("1"===learndash_video_data.video_debug&&console.log("YOUTUBE: calling LearnDash_disable_assets(true)"),LearnDash_disable_assets(!0),LearnDash_watchPlayers(),document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] video').forEach((function(e,a){"1"===learndash_video_data.video_debug&&console.log("YOUTUBE: index[%o] element[%o]",a,e);var d="ld-video-player-"+a,o=e.getAttribute("id");void 0!==o&&null!=o&&""!=o||(o=d,e.setAttribute("id",o)),e.setAttribute("data-learndash-video",d),ld_video_players[d]={},ld_video_players[d].player_key=d,ld_video_players[d].player_type=learndash_video_data.videos_found_provider,ld_video_players[d].player_id=o,ld_video_players[d].player_wrapper=e.closest(".ld-video"),void 0!==ld_video_players[d].player_wrapper?ld_video_players[d].player_cookie_key=ld_video_players[d].player_wrapper.getAttribute("data-video-cookie-key"):ld_video_players[d].player_cookie_key="",ld_video_players[d].player_cookie_values=LearnDash_Video_Progress_initSettings(ld_video_players[d]),ld_video_players[d].player=new YT.Player(o,{events:{onReady:LearnDash_YT_onPlayerReady,onStateChange:LearnDash_YT_onPlayerStateChange}})})))}function LearnDash_YT_onPlayerReady(e){"1"===learndash_video_data.video_debug&&console.log("YOUTUBE: in LearnDash_YT_onPlayerReady: event.target[%o]",e.target);var a=LearnDash_get_player_from_target(e.target);if("1"===learndash_video_data.video_track_time){var d=LearnDash_Video_Progress_getSetting(a,"video_time");void 0===d&&(d=0),"1"===learndash_video_data.video_debug&&console.log("YOUTUBE: in LearnDash_YT_onPlayerReady: start user_video_time: [%o]",d)}if(1==learndash_video_data.videos_auto_start)"1"===learndash_video_data.video_debug&&console.log("YOUTUBE: in LearnDash_YT_onPlayerReady: autostart enabled: calling playVideo()"),e.target.mute(),e.target.playVideo();else{"1"===learndash_video_data.video_debug&&console.log("YOUTUBE: in LearnDash_YT_onPlayerReady: calling pauseVideo()");var o=a.player.playerInfo.videoData.video_id;e.target.cueVideoById({videoId:o,startSeconds:d})}}function LearnDash_YT_onPlayerStateChange(e){var a=LearnDash_get_player_from_target(e.target),d=e.target.getPlayerState();d==YT.PlayerState.UNSTARTED||(d==YT.PlayerState.ENDED?("1"===learndash_video_data.video_debug&&console.log("YOUTUBE: Video has ended[%o]",d),"1"===learndash_video_data.video_debug&&console.log("YOUTUBE: setting 'video_state' to 'complete'"),LearnDash_Video_Progress_setSetting(a,"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("YOUTUBE: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()):d==YT.PlayerState.PLAYING?("1"===learndash_video_data.video_debug&&console.log("YOUTUBE: Video is playing"),LearnDash_Video_Progress_setSetting(a,"video_state","play")):d==YT.PlayerState.PAUSED?("1"===learndash_video_data.video_debug&&console.log("YOUTUBE: Video is paused"),LearnDash_Video_Progress_setSetting(a,"video_state","pause")):d==YT.PlayerState.BUFFERING||YT.PlayerState.CUED)}}else"vimeo"==learndash_video_data.videos_found_provider?jQuery((function(){"1"===learndash_video_data.video_debug&&console.log("VIMEO: init"),"undefined"==typeof Vimeo?"1"===learndash_video_data.video_debug&&console.log("VIMEO: Error: Vimeo element not found. This is need for the video API."):"1"===learndash_video_data.video_debug&&console.log("VIMEO: Vimeo element found"),document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] video').length&&("1"===learndash_video_data.video_debug&&console.log("VIMEO: calling LearnDash_disable_assets(true)"),LearnDash_disable_assets(!0),LearnDash_watchPlayers(),document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] video').forEach((function(e,a){var d="ld-video-player-"+a,o=e.getAttribute("id");void 0!==o&&""!=o||(o=d,e.setAttribute("id",o)),e.setAttribute("data-learndash-video",d),ld_video_players[d]={},ld_video_players[d].player_key=d,ld_video_players[d].player_type=learndash_video_data.videos_found_provider,ld_video_players[d].player_id=o,ld_video_players[d].player_wrapper=e.closest(".ld-video"),void 0!==ld_video_players[d].player_wrapper?ld_video_players[d].player_cookie_key=ld_video_players[d].player_wrapper.getAttribute("data-video-cookie-key"):ld_video_players[d].player_cookie_key="",ld_video_players[d].player_cookie_values=LearnDash_Video_Progress_initSettings(ld_video_players[d]),ld_video_players[d].player=new Vimeo.Player(e),void 0!==ld_video_players[d]&&("1"===learndash_video_data.video_debug&&console.log("VIMEO: player[%o]",ld_video_players[d]),ld_video_players[d].player.ready().then((function(){if("1"===learndash_video_data.video_debug&&(console.log("VIMEO: ready video!"),console.log("VIMEO: element_key[%o] ld_video_players[%o]",d,ld_video_players)),"1"===learndash_video_data.video_track_time){var e=LearnDash_Video_Progress_getSetting(ld_video_players[d],"video_time");void 0===e&&(e=0),"1"===learndash_video_data.video_debug&&console.log("VIMEO: start user_minutes: [%o]",e),ld_video_players[d].player.setCurrentTime(e)}1==learndash_video_data.videos_auto_start&&("1"===learndash_video_data.video_debug&&(console.log("VIMEO: auto_start enabled."),console.log("VIMEO: calling video play()")),ld_video_players[d].player.play())})),ld_video_players[d].player.on("play",(function(e){"1"===learndash_video_data.video_debug&&console.log("VIMEO: playing the video.")})),ld_video_players[d].player.on("pause",(function(e){"1"===learndash_video_data.video_debug&&console.log("VIMEO: paused the video.")})),ld_video_players[d].player.on("ended",(function(e){"1"===learndash_video_data.video_debug&&console.log("YOUTUBE: setting 'video_state' to 'complete'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("VIMEO: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()})))})))})):"wistia"==learndash_video_data.videos_found_provider?jQuery((function(){"1"===learndash_video_data.video_debug&&console.log("WISTIA: init"),document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] video').length&&("1"===learndash_video_data.video_debug&&console.log("WISTIA: calling LearnDash_disable_assets(true)"),LearnDash_disable_assets(!0),LearnDash_watchPlayers(),window._wq=window._wq||[],document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] video').forEach((function(e,a){var d="ld-video-player-"+a,o=e.getAttribute("data-learndash-video-wistia-id");void 0!==o&&""!=o||(o=d,e.setAttribute("id",o)),e.setAttribute("data-learndash-video",d),ld_video_players[d]={},ld_video_players[d].player_key=d,ld_video_players[d].player_type=learndash_video_data.videos_found_provider,ld_video_players[d].player_id=o,ld_video_players[d].player_wrapper=e.closest(".ld-video"),void 0!==ld_video_players[d].player_wrapper?ld_video_players[d].player_cookie_key=ld_video_players[d].player_wrapper.getAttribute("data-video-cookie-key"):ld_video_players[d].player_cookie_key="",ld_video_players[d].player_cookie_values=LearnDash_Video_Progress_initSettings(ld_video_players[d]),_wq.push({id:o,onReady:function(e){if(ld_video_players[d].player=e,"1"===learndash_video_data.video_debug&&console.log("WISTIA: in onReady video[%o]",e),ld_video_players[d].player.on("play",(function(){"1"===learndash_video_data.video_debug&&console.log("WISTIA: video started event"),"1"===learndash_video_data.video_debug&&console.log("WISTIA: setting 'video_state' to 'play'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","play")})),ld_video_players[d].player.on("pause",(function(){"1"===learndash_video_data.video_debug&&console.log("WISTIA: video paused event"),"1"===learndash_video_data.video_debug&&console.log("WISTIA: setting 'video_state' to 'pause'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","pause")})),ld_video_players[d].player.on("end",(function(){return"1"===learndash_video_data.video_debug&&console.log("WISTIA: video ended event"),"1"===learndash_video_data.video_debug&&console.log("WISTIA: setting 'video_state' to 'complete'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("WISTIA: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd(),e.unbind})),"1"===learndash_video_data.video_track_time){var a=LearnDash_Video_Progress_getSetting(ld_video_players[d],"video_time");void 0===a&&(a=0),"1"===learndash_video_data.video_debug&&console.log("WISTIA: start user_minutes: [%o]",a),e.time(a)}1==learndash_video_data.videos_auto_start&&("1"===learndash_video_data.video_debug&&console.log("WISTIA: auto-start enabled: calling video.play()"),e.play(),"1"===learndash_video_data.video_debug&&console.log("WISTIA: setting 'video_state' to 'play'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","play"))}})})))})):"vooplayer"==learndash_video_data.videos_found_provider?jQuery((function(){document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] video').length&&("1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: calling LearnDash_disable_assets(true)"),LearnDash_disable_assets(!0),LearnDash_watchPlayers(),document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] video').forEach((function(e,a){var d="ld-video-player-"+a,o=e.getAttribute("id");void 0!==o&&""!=o||(o=d,e.setAttribute("id",o)),e.setAttribute("data-learndash-video",d),ld_video_players[d]={},ld_video_players[d].player_key=d,ld_video_players[d].player_type=learndash_video_data.videos_found_provider,ld_video_players[d].player_id=o,ld_video_players[d].player_wrapper=e.closest(".ld-video"),void 0!==ld_video_players[d].player_wrapper?ld_video_players[d].player_cookie_key=ld_video_players[d].player_wrapper.getAttribute("data-video-cookie-key"):ld_video_players[d].player_cookie_key="",ld_video_players[d].player_cookie_values=LearnDash_Video_Progress_initSettings(ld_video_players[d]),ld_video_players[d].player=e;var _=e.getAttribute("data-playerid");if("1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: vooPlayerID[%o]",_),void 0!==_){function i(){"1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: setting 'video_state' to 'complete'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()}function l(){"1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: onPlay"),"1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: setting 'video_state' to 'play'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","play")}function r(){"1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: onPause"),"1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: setting 'video_state' to 'pause'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","pause")}ld_video_players[d].vooPlayerID=_,document.addEventListener("vooPlayerReady",(function(e){"1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: vooPlayerReady [%o]",e);if(void 0!==e.detail.video&&e.detail.video.length>0){if("1"===learndash_video_data.video_track_time){let a=LearnDash_Video_Progress_getSetting(ld_video_players[d],"video_time");void 0===a&&(a=0),"1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: start user_minutes: [%o]",a);let o=[];o.push(a),vooAPI(e.detail.video,"currentTime",o)}1==learndash_video_data.videos_auto_start&&("1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: auto-start enabled"),vooAPI(e.detail.video,"play")),1==learndash_video_data.videos_show_controls?("1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: videos_show_controls enabled"),vooAPI(e.detail.video,"showControls")):("1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: videos_show_controls disabled"),vooAPI(e.detail.video,"hideControls")),vooAPI(e.detail.video,"onEnded",null,i),vooAPI(e.detail.video,"onPlay",null,l),vooAPI(e.detail.video,"onPause",null,r)}}),!1)}})))})):"local"==learndash_video_data.videos_found_provider?jQuery((function(){"1"===learndash_video_data.video_debug&&console.log("LOCAL: init"),document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] video').length&&("1"===learndash_video_data.video_debug&&console.log("LOCAL: calling LearnDash_disable_assets(true)"),LearnDash_disable_assets(!0),LearnDash_watchPlayers(),document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] video').forEach((function(e,a){var d="ld-video-player-"+a,o=e.getAttribute("id");if(void 0!==o&&""!=o||(o=d,e.setAttribute("id",o)),e.setAttribute("data-learndash-video",d),ld_video_players[d]={},ld_video_players[d].player_key=d,ld_video_players[d].player_type=learndash_video_data.videos_found_provider,ld_video_players[d].player_id=o,ld_video_players[d].player_wrapper=e.closest(".ld-video"),void 0!==ld_video_players[d].player_wrapper?ld_video_players[d].player_cookie_key=ld_video_players[d].player_wrapper.getAttribute("data-video-cookie-key"):ld_video_players[d].player_cookie_key="",ld_video_players[d].player_cookie_values=LearnDash_Video_Progress_initSettings(ld_video_players[d]),ld_video_players[d].player=e,"1"===learndash_video_data.video_track_time){var _=LearnDash_Video_Progress_getSetting(ld_video_players[d],"video_time");void 0===_&&(_=0),"1"===learndash_video_data.video_debug&&console.log("LOCAL: start user_minutes: [%o]",_),ld_video_players[d].player.currentTime=_}"1"===learndash_video_data.videos_auto_start&&("1"===learndash_video_data.video_debug&&console.log("LOCAL: playing video"),ld_video_players[d].player.muted=!0,ld_video_players[d].player.play(),"1"===learndash_video_data.video_debug&&console.log("LOCAL: setting 'video_state' to 'play'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","play")),ld_video_players[d].player.onended=function(e){"1"===learndash_video_data.video_debug&&console.log("LOCAL: video ended"),"1"===learndash_video_data.video_debug&&console.log("LOCAL: setting 'video_state' to 'complete'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("LOCAL: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()}})))})):"bunny"===learndash_video_data.videos_found_provider&&jQuery((function(){"1"===learndash_video_data.video_debug&&console.log("Bunny: init"),document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] video').length&&("1"===learndash_video_data.video_debug&&console.log("Bunny: calling LearnDash_disable_assets(true)"),LearnDash_disable_assets(!0),LearnDash_watchPlayers(),document.querySelectorAll('.ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] iframe, .ld-video[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"] video').forEach((function(e,a){var d="ld-video-player-"+a,o=e.getAttribute("id");if(void 0!==o&&""!==o||(o=d,e.setAttribute("id",o)),e.setAttribute("data-learndash-video",d),ld_video_players[d]={},ld_video_players[d].player_key=d,ld_video_players[d].player_type=learndash_video_data.videos_found_provider,ld_video_players[d].player_id=o,ld_video_players[d].player_wrapper=e.closest(".ld-video"),void 0!==ld_video_players[d].player_wrapper?ld_video_players[d].player_cookie_key=ld_video_players[d].player_wrapper.getAttribute("data-video-cookie-key"):ld_video_players[d].player_cookie_key="",ld_video_players[d].player_cookie_values=LearnDash_Video_Progress_initSettings(ld_video_players[d]),ld_video_players[d].player=e,"1"===learndash_video_data.video_track_time){var _=LearnDash_Video_Progress_getSetting(ld_video_players[d],"video_time");void 0===_&&(_=0),"1"===learndash_video_data.video_debug&&console.log("Bunny: start user_minutes: [%o]",_),ld_video_players[d].player.currentTime=_}"1"===learndash_video_data.videos_auto_start&&("1"===learndash_video_data.video_debug&&console.log("Bunny: playing video"),ld_video_players[d].player.muted=!0,ld_video_players[d].player.play(),"1"===learndash_video_data.video_debug&&console.log("Bunny: setting 'video_state' to 'play'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","play")),ld_video_players[d].player.onended=function(e){"1"===learndash_video_data.video_debug&&console.log("Bunny: video ended"),"1"===learndash_video_data.video_debug&&console.log("Bunny: setting 'video_state' to 'complete'"),LearnDash_Video_Progress_setSetting(ld_video_players[d],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("Bunny: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()}})))}))}function LearnDash_watchPlayers(){ld_watchPlayers_interval_id=setInterval((function(){if(ld_video_state=document.hasFocus()?"focus":"blur",0!==Object.keys(ld_video_players).length)for(var e in ld_video_players)if(ld_video_players.hasOwnProperty(e)&&(ld_video_player=ld_video_players[e],void 0!==ld_video_player.player)){if("youtube"===ld_video_player.player_type){void 0!==(r=ld_video_player.player.getDuration())&&("1"===learndash_video_data.video_debug&&console.log("YOUTUBE: video duration: [%o]",r),LearnDash_Video_Progress_setSetting(ld_video_player,"video_duration",r));var a=ld_video_player.player.getCurrentTime();"1"===learndash_video_data.video_debug&&console.log("YOUTUBE: seconds[%o]",a),LearnDash_Video_Progress_setSetting(ld_video_player,"video_time",a)}else if("vimeo"===ld_video_player.player_type)ld_video_player.player.getPaused().then((function(e){"1"===learndash_video_data.video_debug&&console.log("VIMEO: video_paused_state[%o]",e),LearnDash_Video_Progress_setSetting(ld_video_player,"video_state",1==e?"pause":"play")})),ld_video_player.player.getDuration().then((function(e){"1"===learndash_video_data.video_debug&&console.log("VIMEO: video_duration[%o]",e),LearnDash_Video_Progress_setSetting(ld_video_player,"video_duration",e)})),ld_video_player.player.getCurrentTime().then((function(e){"1"===learndash_video_data.video_debug&&console.log("VIMEO: seconds[%o]",e),LearnDash_Video_Progress_setSetting(ld_video_player,"video_time",e)}));else if("wistia"===ld_video_player.player_type){void 0!==(r=ld_video_player.player.duration())&&("1"===learndash_video_data.video_debug&&console.log("WISTIA: video duration: [%o]",r),LearnDash_Video_Progress_setSetting(ld_video_player,"video_duration",r));var d=ld_video_player.player.time();"1"===learndash_video_data.video_debug&&console.log("WISTIA: video user_time: [%o]",d),LearnDash_Video_Progress_setSetting(ld_video_player,"video_time",d)}else if("vooplayer"===ld_video_player.player_type){if("undefined"!==ld_video_player.vooPlayerID){function o(e){"1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: video user_time: [%o]",e.returnValue),LearnDash_Video_Progress_setSetting(ld_video_player,"video_time",e.returnValue)}vooAPI(ld_video_player.vooPlayerID,"getCurrentTime",[],o)}}else if("local"===ld_video_player.player_type){var _=ld_video_player.player.ended;if("1"===learndash_video_data.video_debug&&console.log("LOCAL: has_ended: [%o]",_),ld_video_player.player.ended)var i="complete";else if(ld_video_player.player.paused)i="pause";else i="play";"1"===learndash_video_data.video_debug&&console.log("LOCAL: video_state: [%o]",i),LearnDash_Video_Progress_setSetting(ld_video_player,"video_state",i),void 0!==(r=ld_video_player.player.duration)&&("1"===learndash_video_data.video_debug&&console.log("LOCAL: video duration: [%o]",r),LearnDash_Video_Progress_setSetting(ld_video_player,"video_duration",r));var l=ld_video_player.player.currentTime;"1"===learndash_video_data.video_debug&&console.log("LOCAL: user_video_time: [%o]",l),LearnDash_Video_Progress_setSetting(ld_video_player,"video_time",l)}else if("bunny"===ld_video_player.player_type){var r;_=ld_video_player.player.ended;if("1"===learndash_video_data.video_debug&&console.log("Bunny: has_ended: [%o]",_),ld_video_player.player.ended)i="complete";else if(ld_video_player.player.paused)i="pause";else i="play";"1"===learndash_video_data.video_debug&&console.log("Bunny: video_state: [%o]",i),LearnDash_Video_Progress_setSetting(ld_video_player,"video_state",i),void 0!==(r=ld_video_player.player.duration)&&("1"===learndash_video_data.video_debug&&console.log("Bunny: video duration: [%o]",r),LearnDash_Video_Progress_setSetting(ld_video_player,"video_duration",r));l=ld_video_player.player.currentTime;"1"===learndash_video_data.video_debug&&console.log("Bunny: user_video_time: [%o]",l),LearnDash_Video_Progress_setSetting(ld_video_player,"video_time",l)}"1"===learndash_video_data.video_focus_pause&&("youtube"==ld_video_player.player_type?"focus"===ld_video_state?"1"!==learndash_video_data.videos_show_controls&&"1"===learndash_video_data.videos_auto_start&&("1"!==learndash_video_data.video_debug&&console.log("YOUTUBE: Focus: calling playVideo()"),ld_video_player.player.playVideo()):"blur"===ld_video_state&&("1"===learndash_video_data.video_debug&&console.log("YOUTUBE: Blur: calling pauseVideo()"),ld_video_player.player.pauseVideo()):"vimeo"===ld_video_player.player_type?"focus"===ld_video_state?1!=learndash_video_data.videos_show_controls&&("1"===learndash_video_data.video_debug&&console.log("VIMEO: Focus: calling playVideo()"),ld_video_player.player.play()):"blur"===ld_video_state&&("1"===learndash_video_data.video_debug&&console.log("VIMEO: Blur: calling pauseVideo()"),ld_video_player.player.pause()):"wistia"===ld_video_player.player_type?"focus"===ld_video_state?learndash_video_data.videos_show_controls:"blur"===ld_video_state&&("1"===learndash_video_data.video_debug&&console.log("WISTIA: Blur: calling pause()"),ld_video_player.player.pause()):"vooplayer"===ld_video_player.player_type?"undefined"!==ld_video_player.vooPlayerID&&("focus"===ld_video_state?1!=learndash_video_data.videos_show_controls&&("1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: Blur: calling play()"),vooAPI(ld_video_player.vooPlayerID,"play")):"blur"===ld_video_state&&("1"===learndash_video_data.video_debug&&console.log("VOOPLAYER: Blur: calling pause()"),vooAPI(ld_video_player.vooPlayerID,"pause"))):"local"===ld_video_player.player_type?"focus"===ld_video_state?1!=learndash_video_data.videos_show_controls&&("1"===learndash_video_data.video_debug&&console.log("LOCAL: Focus: calling playVideo()"),ld_video_player.player.play()):"blur"===ld_video_state&&("1"===learndash_video_data.video_debug&&console.log("LOCAL: Blur: calling pauseVideo()"),ld_video_player.player.pause()):"bunny"===ld_video_player.player_type&&("focus"===ld_video_state?1!=learndash_video_data.videos_show_controls&&("1"===learndash_video_data.video_debug&&console.log("Bunny: Focus: calling playVideo()"),ld_video_player.player.play()):"blur"===ld_video_state&&("1"===learndash_video_data.video_debug&&console.log("Bunny: Blur: calling pauseVideo()"),ld_video_player.player.pause())))}}),ld_video_watch_interval)}function LearnDash_watchPlayersEnd(){void 0!==ld_watchPlayers_interval_id&&("1"===learndash_video_data.video_debug&&console.log("Stop Watching Players: interval ID: [%o]",ld_watchPlayers_interval_id),clearInterval(ld_watchPlayers_interval_id))}function LearnDash_disable_assets(e){if(jQuery("form.sfwd-mark-complete input.learndash_mark_complete_button").length&&(1==learndash_video_data.videos_hide_complete_button?jQuery("form.sfwd-mark-complete input.learndash_mark_complete_button").hide():jQuery("form.sfwd-mark-complete input.learndash_mark_complete_button").attr("disabled",e),1==learndash_video_data.videos_auto_complete&&0==e)){var a=parseInt(learndash_video_data.videos_auto_complete_delay);if(a>0){if(""!=learndash_video_data.videos_auto_complete_delay_message)var d=jQuery(learndash_video_data.videos_auto_complete_delay_message).insertAfter("form.sfwd-mark-complete input.learndash_mark_complete_button");var o=a;timer_id=setInterval((function(){--o<1?(clearInterval(timer_id),jQuery("form.sfwd-mark-complete")[0].submit()):void 0!==d&&jQuery("span",d).html(o)}),1e3)}else jQuery("form.sfwd-mark-complete")[0].submit()}"BEFORE"==learndash_video_data.videos_shown&&(1==e?(jQuery("#learndash_lesson_topics_list").hide(),jQuery("#learndash_quizzes").hide()):(jQuery("#learndash_lesson_topics_list").slideDown(),jQuery("#learndash_quizzes").slideDown())),jQuery(document).trigger("learndash_video_disable_assets",[e])}function LearnDash_Video_Progress_getCookie(e,a){if(""!=e)return cookie_values=Cookies.get(e,{expires:learndash_video_data.video_track_expires,domain:learndash_video_data.video_track_domain}),"undefined"==typeof cookie_values?void 0!==a&&(cookie_values=a):""!==cookie_values&&(cookie_values=JSON.parse(cookie_values)),cookie_values}function LearnDash_Video_Progress_setCookie(e,a){""!=e&&void 0!==a&&("1"===learndash_video_data.video_debug&&console.log("LearnDash_Video_Progress_setCookie: cookie_name[%o] cookie_values[%o]",e,a),Cookies.set(e,JSON.stringify(a),{expires:Number(learndash_video_data.video_track_expires),domain:learndash_video_data.video_track_domain,path:learndash_video_data.video_track_path}))}function LearnDash_Video_Progress_deleteCookie(e){""!=e&&Cookies.remove(e)}function LearnDash_Video_Progress_initSettings(e){if(void 0!==e&&void 0!==e.player_cookie_key&&""!==e.player_cookie_key){cookie_values=LearnDash_Video_Progress_getCookie(e.player_cookie_key,{});var a=!1;return void 0===cookie_values.video_time&&(cookie_values.video_time=0,a=!0),void 0===cookie_values.video_state&&(cookie_values.video_state="",a=!0),1==a&&LearnDash_Video_Progress_setCookie(e.player_cookie_key,cookie_values),cookie_values}}function LearnDash_Video_Progress_setSetting(e,a,d){if(void 0!==e&&void 0!==e.player_cookie_key&&""!==e.player_cookie_key){cookie_values=LearnDash_Video_Progress_getCookie(e.player_cookie_key,{});var o=!1;"video_time"!=a&&"video_duration"!=a||(d=parseInt(d)),"video_state"===a&&"complete"===cookie_values[a]?console.log("DEBUG: Video is already complete"):cookie_values[a]!==d&&(cookie_values[a]=d,o=!0),void 0!==cookie_values[a]&&cookie_values[a]===d||(cookie_values[a]=d,o=!0),1==o&&LearnDash_Video_Progress_setCookie(e.player_cookie_key,cookie_values)}}function LearnDash_Video_Progress_getSetting(e,a){if(void 0!==e&&void 0!==e.player_cookie_key&&""!==e.player_cookie_key&&(cookie_values=LearnDash_Video_Progress_getCookie(e.player_cookie_key,{}),void 0!==cookie_values[a]))return cookie_values[a]}function LearnDash_get_player_from_target(e){if(void 0!==e&&0!==Object.keys(ld_video_players).length)for(var a in ld_video_players)if(ld_video_players.hasOwnProperty(a)&&(ld_video_player=ld_video_players[a],ld_video_player.player===e))return ld_video_player}

Filemanager

Name Type Size Permission Actions
builder Folder 0755
setup-wizard Folder 0755
design-wizard.js File 16.24 KB 0644
design-wizard.min.js File 16.12 KB 0644
help.js File 3.54 KB 0644
help.min.js File 3.43 KB 0644
jquery.dropdown.js File 5.19 KB 0644
jquery.dropdown.min.js File 2.76 KB 0644
learndash-admin-binary-selector.js File 28.02 KB 0644
learndash-admin-binary-selector.min.js File 14.19 KB 0644
learndash-admin-menu.js File 1.02 KB 0644
learndash-admin-menu.min.js File 652 B 0644
learndash-admin-overview-page.js File 8.03 KB 0644
learndash-admin-overview-page.min.js File 5.3 KB 0644
learndash-admin-pointers.js File 3.09 KB 0644
learndash-admin-pointers.min.js File 983 B 0644
learndash-admin-settings-bulk-edit.js File 719 B 0644
learndash-admin-settings-bulk-edit.min.js File 409 B 0644
learndash-admin-settings-data-reports.js File 2.75 KB 0644
learndash-admin-settings-data-reports.min.js File 1.56 KB 0644
learndash-admin-settings-data-upgrades.js File 7.59 KB 0644
learndash-admin-settings-data-upgrades.min.js File 4.28 KB 0644
learndash-admin-settings-page-translations.js File 864 B 0644
learndash-admin-settings-page-translations.min.js File 610 B 0644
learndash-admin-settings-page.js File 67.94 KB 0644
learndash-admin-settings-page.min.js File 35.47 KB 0644
learndash-admin-shortcodes-tinymce.js File 650 B 0644
learndash-admin-shortcodes-tinymce.min.js File 405 B 0644
learndash-admin-shortcodes.js File 7.91 KB 0644
learndash-admin-shortcodes.min.js File 4.36 KB 0644
learndash-builder.js File 53.82 KB 0644
learndash-builder.min.js File 28 KB 0644
learndash-course-wizard.js File 5.57 KB 0644
learndash-course-wizard.min.js File 3.14 KB 0644
learndash-password-strength-meter.js File 5.33 KB 0644
learndash-password-strength-meter.min.js File 3.04 KB 0644
learndash-payments.js File 1.04 KB 0644
learndash-payments.min.js File 706 B 0644
learndash_video_script.js File 53.41 KB 0644
learndash_video_script.min.js File 28.91 KB 0644
setup.js File 2.69 KB 0644
setup.min.js File 2.61 KB 0644
sfwd-admin-groups.js File 1.47 KB 0644
sfwd-admin-groups.min.js File 1014 B 0644
sfwd-admin-user-profile.js File 1.87 KB 0644
sfwd-admin-user-profile.min.js File 1.14 KB 0644
sfwd_module.js File 77.44 KB 0644
sfwd_module.min.js File 42.73 KB 0644