cache-cues-ps1fLLit.js
11 months ago
cache-cues-ps1fLLit.js.map
11 months ago
fittext-D3xDjTej.js
11 months ago
fittext-D3xDjTej.js.map
11 months ago
hls-B2G3yhBJ.js
3 weeks ago
hls-B2G3yhBJ.js.map
3 weeks ago
index-Dlg6qIxM.js
11 months ago
index-Dlg6qIxM.js.map
11 months ago
index.cjs.js
3 years ago
index.cjs.js.map
11 months ago
learndash-kB9Gvjq5.js
3 weeks ago
learndash-kB9Gvjq5.js.map
3 weeks ago
lifter-CW8zJnxZ.js
11 months ago
lifter-CW8zJnxZ.js.map
11 months ago
loader.cjs.js
2 months ago
loader.cjs.js.map
11 months ago
presto-action-bar-ui.presto-youtube-subscribe-button.entry.cjs.js.map
11 months ago
presto-action-bar-ui_2.cjs.entry.js
11 months ago
presto-action-bar-ui_2.cjs.entry.js.map
11 months ago
presto-action-bar_17.cjs.entry.js
3 weeks ago
presto-action-bar_17.cjs.entry.js.map
3 weeks ago
presto-cta-overlay-ui.cjs.entry.js
11 months ago
presto-cta-overlay-ui.cjs.entry.js.map
11 months ago
presto-cta-overlay-ui.entry.cjs.js.map
11 months ago
presto-email-overlay-ui.presto-player-spinner.entry.cjs.js.map
1 month ago
presto-email-overlay-ui_2.cjs.entry.js
1 month ago
presto-email-overlay-ui_2.cjs.entry.js.map
1 month ago
presto-player-button.cjs.entry.js
11 months ago
presto-player-button.cjs.entry.js.map
11 months ago
presto-player-button.entry.cjs.js.map
11 months ago
presto-player-skeleton.cjs.entry.js
11 months ago
presto-player-skeleton.cjs.entry.js.map
11 months ago
presto-player-skeleton.entry.cjs.js.map
11 months ago
presto-player.presto-playlist-item.presto-playlist-overlay.presto-playlist-ui-DZB9nVhC.js
3 weeks ago
presto-player.presto-playlist-item.presto-playlist-overlay.presto-playlist-ui-DZB9nVhC.js.map
3 weeks ago
presto-player.presto-playlist-item.presto-playlist-overlay.presto-playlist-ui.entry.cjs.js.map
11 months ago
presto-player_4.cjs.entry.js
3 weeks ago
presto-player_4.cjs.entry.js.map
11 months ago
presto-playlist.cjs.entry.js
11 months ago
presto-playlist.cjs.entry.js.map
11 months ago
presto-playlist.entry.cjs.js.map
11 months ago
presto-search-bar-ui.cjs.entry.js
11 months ago
presto-search-bar-ui.cjs.entry.js.map
11 months ago
presto-search-bar-ui.entry.cjs.js.map
11 months ago
presto-timestamp.cjs.entry.js
11 months ago
presto-timestamp.cjs.entry.js.map
11 months ago
presto-timestamp.entry.cjs.js.map
11 months ago
presto-video-curtain-ui.cjs.entry.js
11 months ago
presto-video-curtain-ui.cjs.entry.js.map
11 months ago
presto-video-curtain-ui.entry.cjs.js.map
11 months ago
presto-video.cjs.entry.js
4 months ago
presto-video.cjs.entry.js.map
4 months ago
presto-video.entry.cjs.js.map
4 months ago
resize-observer-oUMwi5o1.js
11 months ago
resize-observer-oUMwi5o1.js.map
11 months ago
tutor-B5km8iOU.js
11 months ago
tutor-B5km8iOU.js.map
11 months ago
util-DccLYcrM.js
11 months ago
util-DccLYcrM.js.map
11 months ago
web-components.cjs.js
2 months ago
web-components.cjs.js.map
11 months ago
learndash-kB9Gvjq5.js
1 lines
| 1 | "use strict";var prestoPlayer_prestoPlaylistItem_prestoPlaylistOverlay_prestoPlaylistUi_entry=require("./presto-player.presto-playlist-item.presto-playlist-overlay.presto-playlist-ui-DZB9nVhC.js");require("./index-Dlg6qIxM.js"),require("./util-DccLYcrM.js"),require("./cache-cues-ps1fLLit.js");var learndash=e=>{"undefined"!=typeof learndash_video_data&&"presto"===learndash_video_data?.videos_found_provider&&(prestoPlayer_prestoPlaylistItem_prestoPlaylistOverlay_prestoPlaylistUi_entry.resumeProgress(e,!0),window.learndash_video_data.videos_auto_complete="on"===prestoPlayer?.learndash?.lesson_video_auto_complete,window.learndash_video_data.videos_hide_complete_button="AFTER"===learndash_video_data?.videos_shown&&"on"===prestoPlayer?.learndash?.lesson_video_hide_complete_button,window.learndash_video_data.videos_auto_complete_delay=prestoPlayer?.learndash?.lesson_video_auto_complete_delay,window.learndash_video_data.videos_auto_complete_delay_message=prestoPlayer?.learndash?.videos_auto_complete_delay_message,window.learndash_video_data.video_track_path="/",jQuery(function(){"1"===learndash_video_data.video_debug&&console.log("PRESTO: init"),document.querySelectorAll('presto-player[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"]').length&&("1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(true)"),LearnDash_disable_assets(!0),LearnDash_watchPlayers(),document.querySelectorAll('presto-player[data-video-progression="true"][data-video-provider="'+learndash_video_data.videos_found_provider+'"]').forEach(function(e,a){console.log({element:e});var o="presto-player__wrapper-player-"+a,s=e.getAttribute("id");void 0!==s&&""!=s||(s=o,e.setAttribute("id",s)),ld_video_players[o]={},ld_video_players[o].player_key=o,ld_video_players[o].player_type=learndash_video_data.videos_found_provider,ld_video_players[o].player_id=s,ld_video_players[o].player_wrapper=e.closest("presto-player"),void 0!==ld_video_players[o].player_wrapper?ld_video_players[o].player_cookie_key=ld_video_players[o].player_wrapper.getAttribute("data-video-cookie-key"):ld_video_players[o].player_cookie_key="",ld_video_players[o].player_cookie_values=LearnDash_Video_Progress_initSettings(ld_video_players[o]),"complete"===LearnDash_Video_Progress_getSetting(ld_video_players[o],"video_state")?(LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()):(wp.hooks.addAction("presto.playerTimeUpdate","presto-player",e=>{"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is playing"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_duration",e.duration),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),e.duration&&e.duration===e.currentTime&&(LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd())}),wp.hooks.addAction("presto.playerPlaying","presto-player",e=>{"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is playing"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_duration",e.duration),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","play")}),wp.hooks.addAction("presto.playerPause","presto-player",e=>{"1"===learndash_video_data.video_debug&&console.log("PRESTO: Video is paused"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),console.log(e.duration),console.log(e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","pause")}),wp.hooks.addAction("presto.playerEnded","presto-player",e=>{"1"===learndash_video_data.video_debug&&console.log("PRESTO: video ended"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: setting 'video_state' to 'complete'"),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_time",e.currentTime),LearnDash_Video_Progress_setSetting(ld_video_players[o],"video_state","complete"),"1"===learndash_video_data.video_debug&&console.log("PRESTO: calling LearnDash_disable_assets(false)"),LearnDash_disable_assets(!1),LearnDash_watchPlayersEnd()}))}))}))};exports.default=learndash; |