PluginProbe ʕ •ᴥ•ʔ
Presto Player / 4.3.3
Presto Player v4.3.3
4.4.1 4.4.0 4.3.3 4.3.2 4.3.1 4.3.0 4.2.4 4.2.3 4.2.2 4.2.0 4.2.1 trunk 1.10.0 1.10.1 1.10.2 1.11.0 1.12.0 1.13.0 1.14.0 1.14.1 1.5.10 1.5.11 1.5.12 1.5.13 1.5.14 1.5.15 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.10 1.6.11 1.6.12 1.6.13 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.9.0 1.9.1 1.9.10 1.9.11 1.9.12 1.9.13 1.9.14 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.2.0 2.2.1 2.2.2 2.2.3 2.2.3-beta1 2.3.0 2.3.1 2.3.2 2.3.3 3.0.0 3.0.0-beta1 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.1.0 3.1.1 3.1.2 3.1.3 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4
presto-player / dist / components / web-components / p-CBpNs6kW.js
presto-player / dist / components / web-components Last commit date
index.esm.js 5 years ago index.esm.js.map 11 months ago loader.esm.js.map 11 months ago p-03ed8a9f.entry.js 1 month ago p-03ed8a9f.entry.js.map 1 month ago p-0c2a6cd3.entry.js 11 months ago p-0c2a6cd3.entry.js.map 11 months ago p-193f0db1.entry.js 11 months ago p-193f0db1.entry.js.map 11 months ago p-22488b76.entry.js 11 months ago p-22488b76.entry.js.map 11 months ago p-345e2989.entry.js 11 months ago p-345e2989.entry.js.map 11 months ago p-4f0eb72c.entry.js 11 months ago p-4f0eb72c.entry.js.map 11 months ago p-51bb816f.entry.js 3 weeks ago p-51bb816f.entry.js.map 3 weeks ago p-8c965b5b.entry.js 11 months ago p-8c965b5b.entry.js.map 11 months ago p-8e99834a.entry.js 11 months ago p-8e99834a.entry.js.map 11 months ago p-BxRAfMA5.js 11 months ago p-BxRAfMA5.js.map 11 months ago p-CBpNs6kW.js 3 weeks ago p-CBpNs6kW.js.map 3 weeks ago p-CYPUaCrp.js 3 weeks ago p-CYPUaCrp.js.map 3 weeks ago p-D7Snkyuc.js 3 weeks ago p-D7Snkyuc.js.map 3 weeks ago p-D8o-F2Bu.js 11 months ago p-D8o-F2Bu.js.map 11 months ago p-DcYtxwW6.js 11 months ago p-DcYtxwW6.js.map 11 months ago p-DwzUTbbs.js 11 months ago p-DwzUTbbs.js.map 11 months ago p-EuTDjLsB.js 11 months ago p-EuTDjLsB.js.map 11 months ago p-G840BFTB.js 11 months ago p-G840BFTB.js.map 11 months ago p-db54b491.entry.js 11 months ago p-db54b491.entry.js.map 11 months ago p-e104444c.entry.js 3 weeks ago p-e104444c.entry.js.map 3 weeks ago p-e6ea643f.entry.js 4 months ago p-e6ea643f.entry.js.map 4 months ago p-fH7ZDDmI.js 11 months ago p-fH7ZDDmI.js.map 11 months ago presto-action-bar-ui.presto-youtube-subscribe-button.entry.esm.js.map 11 months ago presto-cta-overlay-ui.entry.esm.js.map 11 months ago presto-email-overlay-ui.presto-player-spinner.entry.esm.js.map 1 month ago presto-player-button.entry.esm.js.map 11 months ago presto-player-skeleton.entry.esm.js.map 11 months ago presto-player.presto-playlist-item.presto-playlist-overlay.presto-playlist-ui.entry.esm.js.map 11 months ago presto-playlist.entry.esm.js.map 11 months ago presto-search-bar-ui.entry.esm.js.map 11 months ago presto-timestamp.entry.esm.js.map 11 months ago presto-video-curtain-ui.entry.esm.js.map 11 months ago presto-video.entry.esm.js.map 4 months ago web-components.css 11 months ago web-components.esm.js 3 weeks ago web-components.esm.js.map 11 months ago
p-CBpNs6kW.js
1 lines
1 import{r as e}from"./p-D7Snkyuc.js";import"./p-BxRAfMA5.js";import"./p-EuTDjLsB.js";import"./p-D8o-F2Bu.js";var a=a=>{"undefined"!=typeof learndash_video_data&&"presto"===learndash_video_data?.videos_found_provider&&(e(a,!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,d=e.getAttribute("id");void 0!==d&&""!=d||(d=o,e.setAttribute("id",d)),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=d,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()}))}))}))};export{a as default};