';

American Heart Association

“Heart Won Victories”
Recommend
  • Facebook
  • Twitter
  • LinkedIN
  • Pinterest
Share
Tagged in
About this work...
American Heart Association (2011) Directed by Cline Davis Mann
Tracks
#disk-player-container_380 div.dap-playlist {display:block !important;}#disk-player-container_380 {border:1px solid #111111;background-repeat: no-repeat;}#disk-player-container_380 div.dap-jplayer {background-color:rgba(24,24,24,1) !important;}#disk-player-container_380 div.dap-interface {background-color:rgba(30,30,30,1) !important;border-top-color:#2D2D2D !important;}#disk-player-container_380 div.dap-playlist li {background-color:rgba(17,17,17,1) !important;border-top:1px solid #303030;}#disk-player-container_380 div.dap-playlist li:hover, #disk-player-container_380 div.dap-type-playlist div.dap-playlist li.dap-playlist-current:hover {background-color:rgba(34,34,34,1) !important;}#disk-player-container_380 div.dap-type-playlist div.dap-playlist li.dap-playlist-current {background:rgba(42,42,42,1) !important;}#disk-player-container_380 .dplayer-scrollbar .scrollbar {background:rgba(51,51,51,1) !important;}#disk-player-container_380 .dap-play, #disk-player-container_380 .dap-pause, #disk-player-container_380 .dap-previous, #disk-player-container_380 .dap-next, #disk-player-container_380 .dap-stop {background-color:rgba(0,0,0,1) !important;}#disk-player-container_380 ul.dap-toggles {background:rgba(51,51,51,1) !important;}#disk-player-container_380 div.dap-seek-bar, #disk-player-container_380 div.dap-volume-bar {background:#4A4A4A !important;}#disk-player-container_380 div.dap-interface a, #disk-player-container_380 div.dap-interface li a, #disk-player-container_380 div.dap-type-playlist div.dap-playlist a {color:#ffffff !important;}#disk-player-container_380 div.dap-interface a:hover, #disk-player-container_380 div.dap-type-playlist div.dap-playlist a:hover {color:#999999 !important;}#disk-player-container_380, #disk-player-container_380 span.dap-artist, #disk-player-container_380 span.dap-numbers {color:#999999 !important;}#disk-player-container_380 div.dap-volume-bar-value, #disk-player-container_380 div.dap-play-bar, #disk-player-container_380 .dplayer-scrollbar .thumb {background:#ffffff !important;}#disk-player-container_380 div.dap-progress {background:#999999 !important;}
(function($) { $(document).ready(function() { //add custom style //$("head").append(""); var tinyFunctionGlobal; var HideScrollbarForMobile; //global variable var myPlaylist = new jPlayerPlaylist({ jPlayer: "#jquery_jplayer_380", cssSelectorAncestor: "#jp_container_380" }, [{title:"American Heart Association",mp3:"http://www.aaronjaffe.com/wp-content/uploads/2016/02/American-Heart-Association.mp3",oga:"http://www.aaronjaffe.com/wp-content/uploads/2016/02/American-Heart-Association.mp3",},], { swfPath: "http://www.aaronjaffe.com/wp-content/plugins/disk-player/js", solution: "html, flash", //test if the swfPath is correct ( "flash, html" ) supplied: "mp3,m4a,oga", wmode: "window", smoothPlayBar: true, keyEnabled: true, preload: "none", size: { width: "80", height: "110", //80 + margin cssClass: "" }, audioFullScreen: false //Allows the audio poster to go full screen via keyboard }); // ----- get current track - //event.play $("#jquery_jplayer_380").bind($.jPlayer.event.play, function(event) { //alert(myPlaylist.current); /////////////////////////////////////////////////////////// //Nao tocar a proxima track - TESTANDO /* //var stopNextTrack = myPlaylist.current; if (myPlaylist.current != stopNextTrack) { alert(myPlaylist.current); $(this).jPlayer("stop"); stopNextTrack = myPlaylist.current; } */ /////////////////////////////////////////////////////////// var current = myPlaylist.current; /////tinyFunctionGlobal(current); if ($.isFunction(tinyFunctionGlobal)) { tinyFunctionGlobal(current); } $("#dplayer-current-track_380 .dplayer-title, #dplayer-current-track_380 .dplayer-artist").empty(); $("#dplayer-current-track_380 .dplayer-title").prepend(myPlaylist.playlist[myPlaylist.current].title); $("#dplayer-current-track_380 .dplayer-artist").prepend(myPlaylist.playlist[myPlaylist.current].artist); }); //event.ready $("#jquery_jplayer_380").bind($.jPlayer.event.ready, function(event) { $("#dplayer-current-track_380 div").empty(); $("#dplayer-current-track_380 .dplayer-title").append(myPlaylist.playlist[myPlaylist.current].title); $("#dplayer-current-track_380 .dplayer-artist").append(myPlaylist.playlist[myPlaylist.current].artist); }); // ----- scrollbar --------- $(window).load({noncache: new Date().getTime()},function() { var $tinyScrollbar var tinyScrollbarEvent; var is_mobile_js = ""; var track_height_js = "default"; var hide_scrollbar_if_mobile_js = "false"; var disable_scrollbar = "true"; setTimeout(function(){ //so abre o scrollbar se atender as condicoes abaixo if (!is_mobile_js && disable_scrollbar != "true") { $tinyScrollbar = $("#scrollbar380").tinyscrollbar( { thumbSize: 25, axis: "y", wheel:false } ); tinyScrollbarEvent = $tinyScrollbar.data("plugin_tinyscrollbar"); } else if(is_mobile_js && hide_scrollbar_if_mobile_js != "true") { $tinyScrollbar = $("#scrollbar380").tinyscrollbar( { thumbSize: 25, axis: "y", wheel:false } ); tinyScrollbarEvent = $tinyScrollbar.data("plugin_tinyscrollbar"); } tinyFunctionGlobal = function(theIndex) { //alert(theIndex) var trackCurrentHeight = 0; var tracksTotalHeight = 0; var $scrollbar = $("#scrollbar380"); var itemsTracks = $("#scrollbar380 li"); //.length $(itemsTracks).each(function(i) { if (i viewportHeight) { ////tinyScrollbarEvent.update(trackCurrentHeight + (theIndex+1) - 1); } var $thumbScrollbar = $scrollbar.find(".track-dplayer .thumb"); if ( ($thumbScrollbar.offset().top + $thumbScrollbar.height()) > ($scrollbar.offset().top + $scrollbar.height()) ) { $thumbScrollbar.css({ top: $scrollbar.height() - $thumbScrollbar.height() }); } } //se apenas 1 track var totalTracksTest = "1"; if (totalTracksTest == 1) { var liH = $("#scrollbar380 li").eq(0).height(); var liP = $("#scrollbar380 li").eq(0).css("paddingTop"); liP = parseInt(liP) * 2; $("#scrollbar380 .viewport").height( liH + liP ); } //=============== se for mais que 1 track e Track Height = Auto - NOVO /////////////////// HideScrollbarForMobile = function() { //alert( is_mobile_js ); if (is_mobile_js && track_height_js == "auto" && hide_scrollbar_if_mobile_js == "true" || disable_scrollbar == "true") { //alert( disable_scrollbar ); if (totalTracksTest > 1) { var itemHeight = 0, itemPadding = 0, itemPadding2 = 0; var itemsTracksTotal = $("#scrollbar380 li").length; for (var i=0; i < totalTracksTest; i++) { //alert( $("#scrollbar380 li").eq(i).height() ); itemHeight += $("#scrollbar380 li").eq(i).height(); itemPadding = $("#scrollbar380 li").eq(i).css("paddingTop"); itemPadding2 += parseInt(itemPadding) * 2; } //alert( itemsTracksTotal ); $("#scrollbar380 .viewport").height( itemHeight + itemPadding2 + itemsTracksTotal); ///--- $("#scrollbar380 .scrollbar").hide(); ///--- $("#scrollbar380").css({"padding-right":"0px"}); } } }//function if ($.isFunction(HideScrollbarForMobile)) { HideScrollbarForMobile(); } // ============= se for mais que 1 track e Track Height = Auto - NOVO /////////////////// }, 2500); }); // ------------------------- // ----- parent container // hide volume var isTouch = "ontouchstart" in window || "onmsgesturechange" in window ? true : false; ////if (!isTouch) { var $container = $( "#disk-player-container_380" ); $container.find(".dap-volume-max, .dap-volume-bar, .dap-mute").hide(); var $id = "380"; $(window).on("resize", function(e) { if ($.isFunction(HideScrollbarForMobile)) { HideScrollbarForMobile(); } //////$container.bind("resize", function(e) { var parentWidth = $container.parent().width(); //alert(parentWidth + " - " + $container.width()); if (parentWidth < 385) { $container.find(".dap-volume-max, .dap-volume-bar, .dap-mute").hide(); $container.find(".dap-volume-max, .dap-volume-bar, .dap-mute").css( { visibility: "hidden" } ); } else { $container.find(".dap-volume-max, .dap-volume-bar, .dap-mute").show(); $container.find(".dap-volume-max, .dap-volume-bar, .dap-mute").css( { visibility: "visible" } ); } });//resize setTimeout(function(){ $container.trigger("resize") }, 1000); $container.find("p:empty").remove(); // ------------------------- });//ready })(jQuery);
  • American Heart Association -
Update Required To play the media you will need to either update your browser to a recent version or update your Flash plugin.