PageSourceSearch

https://themolokaidispatch.com/wp-content/cache/min/1/wp-content/p…/js/haiku-player.js?ver=1789225002

js themolokaidispatch.com collected 2026-09-24 21:13:08 UTC 2,923 bytes, 8 lines download raw bytes

1(function($){$.fn.textPlayers=function(){var player=$('div.haiku-text-player');player.each(function(){var $this,id,container,play,pause,stop,loopPlayer,mp3File,ogaFile,selectors;$this=$(this);id=this.id.match(/haiku-text-player(\d+)/)[1];container=$this.next('.haiku-container-'+id);play=container.find('#haiku-play-'+id);pause=container.find('#haiku-pause-'+id);stop=container.find('#haiku-stop-'+id);loopPlayer=!1;if(container.is('.haiku-loop'))
2loopPlayer=!0;selectors={play:'#haiku-play-'+id,pause:'#haiku-pause-'+id,stop:'#haiku-stop-'+id,duration:'#haiku-duration-'+id,currentTime:'#haiku-current-time-'+id,noSolution:'.haiku-no-solution'};mp3File=play.attr('href');if(play.attr('data-haikuoga')){ogaFile=play.attr('data-haikuoga');$this.jPlayer({ready:function(){$(this).jPlayer('setMedia',{mp3:mp3File,oga:ogaFile})},swfPath:haiku_jplayerswf_path,supplied:'mp3, oga',solution:'html, flash',cssSelectorAncestor:'.haiku-container-'+id,cssSelector:selectors,loop:loopPlayer})}else{$this.jPlayer({ready:function(){$(this).jPlayer('setMedia',{mp3:mp3File})},swfPath:haiku_jplayerswf_path,supplied:'mp3',solution:'html, flash',cssSelectorAncestor:'.haiku-container-'+id,cssSelector:selectors,loop:loopPlayer})}})}
3$.fn.graphPlayers=function(){var player=$('div.haiku-graphical-player')
4player.each(function(){var $this,id,container,play,pause,stop,mp3File,ogaFile,selectors,loopPlayer;$this=$(this);id=this.id.match(/haiku-graphical-player-(\d+)/)[1];container=$this.next('.haiku-container-'+id);parent=$(this).parent(player);play=container.find('#haiku-play-'+id);pause=container.find('#haiku-pause-'+id);stop=container.find('#haiku-stop-'+id);loopPlayer=!1;if(container.is('.haiku-loop'))
5loopPlayer=!0;selectors={play:'#haiku-play-'+id,pause:'#haiku-pause-'+id,stop:'#haiku-stop-'+id,seekBar:'#haiku-seek-bar-'+id,playBar:'#haiku-play-bar-'+id,duration:'#haiku-duration-'+id,currentTime:'#haiku-current-time-'+id,noSolution:'.haiku-no-solution'};mp3File=play.attr('href');if(play.attr('data-haikuoga')){ogaFile=play.attr('data-haikuoga')
6$this.jPlayer({ready:function(){$(this).jPlayer('setMedia',{mp3:mp3File,oga:ogaFile})},swfPath:haiku_jplayerswf_path,supplied:'mp3, oga',solution:'html, flash',cssSelectorAncestor:'.haiku-container-'+id,cssSelector:selectors,loop:loopPlayer})}else{$this.jPlayer({ready:function(){$(this).jPlayer('setMedia',{mp3:mp3File})},swfPath:haiku_jplayerswf_path,supplied:'mp3',solution:'html, flash',cssSelectorAncestor:'.haiku-container-'+id,cssSelector:selectors,loop:loopPlayer})}
7pause.hide().css('padding-right','0');play.click(function(){$(this).hide();pause.fadeIn(100);parent.jPlayer('play');return!1});pause.click(function(){$(this).hide();play.fadeIn(100).attr('title','Resume');parent.jPlayer('pause');return!1});stop.click(function(){pause.hide();play.fadeIn(100);parent.jPlayer('stop');return!1})})}
8$(window).load(function(){$.fn.textPlayers();$.fn.graphPlayers()})})(jQuery)

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.