PageSourceSearch

https://espace-safer.com/wp-content/plugins/automatorwp-pro/integr…/js/automatorwp-vimeo.min.js?ver=1.0.4

js espace-safer.com collected 2026-09-24 12:17:45 UTC 2,954 bytes, 6 lines download raw bytes

1var automatorwp_vimeo_videos={};var automatorwp_vimeo_players={};var automatorwp_vimeo_elements=document.querySelectorAll('.automatorwp-vimeo-video');for(var automatorwp_vimeo_i=0;automatorwp_vimeo_i<automatorwp_vimeo_elements.length;automatorwp_vimeo_i++){var automatorwp_vimeo_player=automatorwp_vimeo_elements[automatorwp_vimeo_i];var id=automatorwp_vimeo_player.getAttribute('data-id');var url=automatorwp_vimeo_player.getAttribute('data-url');var from_url=automatorwp_vimeo_player.getAttribute('data-from-url');automatorwp_vimeo_players[id]=new Vimeo.Player(automatorwp_vimeo_player,{id:(from_url==='yes'?url:id),height:automatorwp_vimeo_player.getAttribute('data-height'),width:automatorwp_vimeo_player.getAttribute('data-width')});automatorwp_vimeo_players[id].on('play',function(e){var id=this._originalElement.getAttribute('data-id');var trigger=this._originalElement.getAttribute('data-trigger');automatorwp_vimeo_video_change(id,trigger,e.duration,'play')});automatorwp_vimeo_players[id].on('pause',function(e){var id=this._originalElement.getAttribute('data-id');var trigger=this._originalElement.getAttribute('data-trigger');automatorwp_vimeo_video_change(id,trigger,e.duration,'pause')});automatorwp_vimeo_players[id].on('ended',function(e){var id=this._originalElement.getAttribute('data-id');var trigger=this._originalElement.getAttribute('data-trigger');automatorwp_vimeo_video_change(id,trigger,e.duration,'ended')})}
2function automatorwp_vimeo_video_change(id,trigger,duration,state){if(automatorwp_vimeo_videos[id]===undefined){automatorwp_vimeo_videos[id]={trigger:trigger,state:state,last_state:state,seconds:0,duration:Math.floor(duration),interval:undefined};automatorwp_vimeo_videos[id].interval=setInterval(function(){if(automatorwp_vimeo_videos[id].last_state==='play')
3automatorwp_vimeo_videos[id].seconds++;automatorwp_vimeo_videos[id].last_state=automatorwp_vimeo_videos[id].state},1000)}
4automatorwp_vimeo_videos[id].state=state;if(state==='play'){}else if(state==='pause'){}else if(state==='ended'){if(automatorwp_vimeo_videos[id].seconds<automatorwp_vimeo_videos[id].duration&&(automatorwp_vimeo_videos[id].seconds+automatorwp_vimeo.allowed_delay)>=automatorwp_vimeo_videos[id].duration)
5automatorwp_vimeo_videos[id].seconds+=automatorwp_vimeo.allowed_delay;automatorwp_vimeo_videos[id].last_state=automatorwp_vimeo_videos[id].state;if(automatorwp_vimeo_videos[id].seconds>=automatorwp_vimeo_videos[id].duration){jQuery.ajax({url:automatorwp_vimeo.ajaxurl,type:'POST',data:{action:'automatorwp_vimeo_track_watch_video',nonce:automatorwp_vimeo.nonce,trigger:automatorwp_vimeo_videos[id].trigger,video_id:id,seconds:automatorwp_vimeo_videos[id].seconds,duration:automatorwp_vimeo_videos[id].duration,user_id:automatorwp_vimeo.user_id,post_id:automatorwp_vimeo.post_id},success:function(response){}}).fail(function(response){})}
6clearInterval(automatorwp_vimeo_videos[id].interval);delete automatorwp_vimeo_videos[id]}}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.