var presentation = ["The Three Caballeros<\/word>","live-action animated musical package film<\/word>","adventure<\/word>","combining live-action and animation<\/word>","Walt Disney<\/word>","feature film<\/word>","10th anniversary<\/word>","Donald Duck<\/word>","Latin America<\/word>","The Three Caballeros<\/strong> is a 1944 American live-action animated musical package film<\/strong> produced by Walt Disney<\/strong>. The seventh Disney animated feature film<\/strong>, the film, marking the 10th anniversary<\/strong> of Donald Duck<\/strong>, plots an adventure<\/strong> through parts of Latin America<\/strong>, combining live-action and animation<\/strong>.<\/phrase>","Latin American stars<\/word>","self-contained segments<\/word>","Donald Duck<\/word>","birthday gifts<\/word>","American friends<\/word>","appear<\/word>","Aurora Miranda<\/word>","Dora Luz<\/word>","singer and dancer<\/word>","Carmen Molina<\/word>","The film is plotted as a series of self-contained segments<\/strong>, strung together by the device of Donald Duck<\/strong> opening birthday gifts<\/strong> from his Latin American friends<\/strong>. Several Latin American stars<\/strong> of the period appear<\/strong>, including singers Aurora Miranda<\/strong> and Dora Luz<\/strong>, as well as singer and dancer<\/strong> Carmen Molina<\/strong>.<\/phrase>","Jos\u00e9 Carioca<\/word>","Mexico<\/word>","Donald Duck<\/word>","old friend<\/word>","cigar-smoking parrot<\/word>","Saludos Amigos<\/word>","Brazil<\/word>","becomes friends<\/word>","pistol-packing rooster<\/word>","Panchito Pistoles<\/word>","The film stars Donald Duck<\/strong>, who in the course of the film is joined by old friend<\/strong> Jos\u00e9 Carioca<\/strong>, the cigar-smoking parrot<\/strong> from Saludos Amigos<\/strong>, who represents Brazil<\/strong>, and later becomes friends<\/strong> with a pistol-packing rooster<\/strong> named Panchito Pistoles<\/strong>, who represents Mexico<\/strong>.<\/phrase>","seven segments<\/word>","Donald Duck's birthday<\/word>","friends in Latin America<\/word>","documentary about birds<\/word>","Aves Raras<\/word>","first segment of the documentary<\/word>","penguin seeking the warm weather<\/word>","man narrating a story from his childhood<\/word>","befriends a donkey with the wings of a condor<\/word>","Donald Duck<\/word>","10th anniversary<\/word>","common theme<\/word>","three presents<\/word>","first present<\/word>","film projector<\/word>","Pablo<\/word>","Equatorial South America<\/word>","odd birds<\/word>","Latin America<\/word>","Aracuan Bird<\/word>","Uruguay<\/word>","The film, celebrating Donald Duck<\/strong>'s 10th anniversary<\/strong>, consists of seven segments<\/strong>, each connected by a common theme<\/strong>. In the film, it is Donald Duck's birthday<\/strong>, and he receives three presents<\/strong> from friends in Latin America<\/strong>. The first present<\/strong> is a film projector<\/strong>, which shows him a documentary about birds<\/strong> called \"Aves Raras<\/strong>.\" The first segment of the documentary<\/strong> tells the story of Pablo<\/strong>, a penguin seeking the warm weather<\/strong> of Equatorial South America<\/strong>. The next segment details some of the odd birds<\/strong> of Latin America<\/strong>. During this part documentary, he learns about the Aracuan Bird<\/strong>, who received his name because of his eccentric song. The documentary then shifts to the perspective of a man narrating a story from his childhood<\/strong>, where he discovers and befriends a donkey with the wings of a condor<\/strong> in Uruguay<\/strong>.<\/phrase>","next present<\/word>","book given to Donald by Jos\u00e9<\/word>","one of Brazil's 26 states<\/word>","Jos\u00e9 shrinks them both down<\/word>","enter the book<\/word>","several of the locals<\/word>","samba<\/word>","Donald ends up pining for one girl Yaya<\/word>","fails<\/word>","gets jealous of another man<\/word>","book<\/word>","Bahia<\/word>","dance<\/word>","The next present<\/strong> is a book given to Donald by Jos\u00e9<\/strong>. This book<\/strong> tells of Bahia<\/strong>, which is one of Brazil's 26 states<\/strong>. Jos\u00e9 shrinks them both down<\/strong> so that they can enter the book<\/strong>. Donald and Jos\u00e9 meet up with several of the locals<\/strong>, who dance<\/strong> a lively samba<\/strong>, and Donald ends up pining for one girl Yaya<\/strong>, the cookie seller, but fails<\/strong> and gets jealous of another man<\/strong>. After the journey, Donald and Jos\u00e9 leave the book<\/strong>.<\/phrase>","Donald realizes that he is too small to open his third present<\/word>","black magic<\/word>","return himself to the proper size<\/word>","meets Panchito<\/word>","native of Mexico<\/word>","The Three Caballeros<\/word>","short celebration<\/word>","next present<\/word>","pi\u00f1ata<\/word>","tradition behind the pi\u00f1ata<\/word>","have him attempt to break open the pi\u00f1ata<\/word>","revealing many surprises<\/word>","draws to a close<\/word>","Donald is fired away by firecrackers<\/word>","use<\/word>","present<\/word>","Upon returning, Donald realizes that he is too small to open his third present<\/strong>. Jos\u00e9 shows Donald how to use<\/strong> \"black magic<\/strong>\" to return himself to the proper size<\/strong>. After opening the present<\/strong>, he meets Panchito<\/strong>, a native of Mexico<\/strong>. The trio take the name \"The Three Caballeros<\/strong>\" and have a short celebration<\/strong>. Panchito then presents Donald's next present<\/strong>, a pi\u00f1ata<\/strong>. Panchito tells Donald of the tradition behind the pi\u00f1ata<\/strong>. Jos\u00e9 and Panchito then blindfold Donald, and have him attempt to break open the pi\u00f1ata<\/strong>, eventually revealing many surprises<\/strong>. The celebration draws to a close<\/strong> when Donald is fired away by firecrackers<\/strong> in the shape of a ferocious toy bull.<\/phrase>","The film consists of seven segments:<\/phrase>","The Cold-Blooded Penguin<\/word>","fed up<\/word>","freezing conditions of the South Pole<\/word>","decides to leave his home<\/word>","warmer climates<\/word>","capital of Peru<\/word>","capital of Ecuador<\/word>","Gal\u00e1pagos Islands<\/word>","penguin<\/word>","Pablo<\/word>","Chile<\/word>","Lima<\/word>","Quito<\/word>","The Cold-Blooded Penguin<\/strong>\nIn the segment, a penguin<\/strong> named Pablo<\/strong> is so fed up<\/strong> with the freezing conditions of the South Pole<\/strong> that he decides to leave his home<\/strong> for warmer climates<\/strong>, navigating the long coast of Chile<\/strong>, passing by Lima<\/strong> (the capital of Peru<\/strong>) and Quito<\/strong> (the capital of Ecuador<\/strong>) before landing on the Gal\u00e1pagos Islands<\/strong>.<\/phrase>","The Flying Gauchito<\/word>","adventures of a little boy<\/word>","winged donkey<\/word>","Spanish<\/word>","little donkey<\/word>","Uruguay<\/word>","Burrito<\/word>","The Flying Gauchito<\/strong>\nThis segment, involves the adventures of a little boy<\/strong> from Uruguay<\/strong> and a winged donkey<\/strong>, who goes by the name of Burrito<\/strong> (which is Spanish<\/strong> for \"little donkey<\/strong>\").<\/phrase>","Ba\u00eda<\/word>","pop-up book<\/word>","trip through the Brazilian state of Bah\u00eda<\/word>","Donald and Jos\u00e9 meet up with some of the locals<\/word>","samba<\/word>","Donald pining for one of the women<\/word>","dance<\/word>","Aurora Miranda<\/word>","Ba\u00eda<\/strong>\nThis segment involves a pop-up book<\/strong> trip through the Brazilian state of Bah\u00eda<\/strong> (spelled Ba\u00eda<\/strong> in the film), as Donald and Jos\u00e9 meet up with some of the locals<\/strong> who dance<\/strong> a samba<\/strong> and Donald pining for one of the women<\/strong>, portrayed by singer Aurora Miranda<\/strong>.<\/phrase>","group of Mexican children<\/word>","celebrated Christmas<\/word>","re-enacting<\/word>","mother of Jesus<\/word>","searching for room at the inn<\/word>","no posada<\/word>","each house<\/word>","until they came to one where they were offered shelter in a stable<\/word>","festivities<\/word>","breaking of the pi\u00f1ata<\/word>","trying to break his own pi\u00f1ata as well<\/word>","Las Posadas<\/word>","Mary<\/word>","Saint Joseph<\/word>","turn<\/word>","Donald Duck<\/word>","Las Posadas<\/strong>\nThis is the story of a group of Mexican children<\/strong> who celebrated Christmas<\/strong> by re-enacting<\/strong> the journey of Mary<\/strong>, the mother of Jesus<\/strong> and Saint Joseph<\/strong> searching for room at the inn<\/strong>. \"Posada\" meant \"inn\", or \"shelter\", and their parents told them \"no posada<\/strong>\" at each house<\/strong> until they came to one where they were offered shelter in a stable<\/strong>. This leads to festivities<\/strong> including the breaking of the pi\u00f1ata<\/strong>, which in turn<\/strong> leads to Donald Duck<\/strong> trying to break his own pi\u00f1ata as well<\/strong>.<\/phrase>","Mexico: P\u00e1tzcuaro, Veracruz and Acapulco<\/word>","Panchito gives Donald and Jos\u00e9 a tour of Mexico City<\/word>","country of Mexico<\/word>","flying sarape<\/word>","magic carpet<\/word>","Several Mexican dances and songs are learned here<\/word>","Donald is pining for some more ladies again<\/word>","gain return affections<\/word>","once more he fails every time<\/word>","ends up kissing Jos\u00e9 while blindfolded<\/word>","Mexico: P\u00e1tzcuaro, Veracruz and Acapulco<\/strong>\nPanchito gives Donald and Jos\u00e9 a tour of Mexico City<\/strong> and the country of Mexico<\/strong> on a flying sarape<\/strong>, or magic carpet<\/strong>. Several Mexican dances and songs are learned here<\/strong>. A key point to what happens later is that Donald is pining for some more ladies again<\/strong>, tries to hound down every single one he sees, and gain return affections<\/strong>, but once more he fails every time<\/strong> and ends up kissing Jos\u00e9 while blindfolded<\/strong>.<\/phrase>","You Belong to My Heart and Donald's Surreal Reverie<\/word>","Mexico City<\/word>","Donald falling in love with singer Dora Luz<\/word>","Donald manages to dance<\/word>","dance and sing<\/word>","Carmen reappears dressed in a Charro's outfit<\/word>","make cacti appear<\/word>","dancing to<\/word>","Jesusita en Chihuahua<\/word>","trademark song of the Mexican Revolution<\/word>","Love<\/word>","Carmen Molina<\/word>","Oaxaca<\/word>","Isthmus of Tehuantepec<\/word>","La Zandunga<\/word>","You Belong to My Heart and Donald's Surreal Reverie<\/strong>\nThe skies of Mexico City<\/strong> result in Donald falling in love with singer Dora Luz<\/strong>. The lyrics in the song itself play parts in the scenarios as to what is happening as well. Then several imagined kisses lead to Donald going into the \"Love<\/strong> is a drug\" scene. Donald constantly envisions sugar rush colors, flowers, and Panchito and Jos\u00e9 popping in at the worst moments, making chaos. The scene changes after Donald manages to dance<\/strong> with Carmen Molina<\/strong> from the state of Oaxaca<\/strong>, from the Isthmus of Tehuantepec<\/strong>. The two dance and sing<\/strong> the song \"La Zandunga<\/strong>\". Carmen begins by singing the song, with Donald quacking out the rest of the chorus with her. The drunkenness slows down for a second after Donald multiplied himself while dancing, but speeds up again when Carmen reappears dressed in a Charro's outfit<\/strong> and uses a horsewhip as a conductor's baton to make cacti appear<\/strong> in many different forms while dancing to<\/strong> \"Jesusita en Chihuahua<\/strong>\", a trademark song of the Mexican Revolution<\/strong>. This scene is notable for providing the masterful combination of live-action and cartoon animation, as well as animation among the cacti.<\/phrase>","The scene is interrupted<\/word>","Panchito and Jos\u00e9 suddenly spice things up<\/word>","fireworks finale with the words<\/word>","The End<\/word>","Spanish<\/word>","Fin<\/word>","colors of the flag of Mexico<\/word>","second in Portuguese<\/word>","Fim<\/word>","colors of the flag of Brazil<\/word>","finally in English<\/word>","colors of the flag of the United States<\/word>","The scene is interrupted<\/strong> when Panchito and Jos\u00e9 suddenly spice things up<\/strong> for the finale of the movie, and Donald ends up battling the same toy bull with wheels on its legs the day before from earlier. The catch is that it is again loaded with firecrackers and other explosives, following with a fireworks finale with the words<\/strong> \"The End<\/strong>\" exploding from the fireworks, first in Spanish<\/strong> (Fin<\/strong>), in the colors of the flag of Mexico<\/strong>, then the second in Portuguese<\/strong> (Fim<\/strong>), in the colors of the flag of Brazil<\/strong>, and finally in English<\/strong>, in the colors of the flag of the United States<\/strong>.<\/phrase>"]; var currentPosition = 0; var totalPositions = 0; var timePerWord = 1500; var timePerPhraseWord = 120 var readAheadPlayerTimer; var autoPlay = true; var setMinimized = false; var wordSpeedOptions = {'Slower':2000,'Moderate':1200,'Fast':800}; var phraseSpeedOptions = {'Slower':280,'Moderate':200,'Fast':80}; var defaultWordSpeedOption = 'Moderate'; var defaultPhraseSpeedOption = 'Moderate'; var logToLTI = false; $(window).load(function(){ totalPositions = presentation.length; if (totalPositions > 0){ $('body').prepend('
'); $('body').prepend('
'); $('#read_ahead_player').prepend('
'); initializeReadAheadControls(); initializeReadAheadSlider(); initializeReadAheadSpeedOptions(); currentReadAheadControls(); resumeReadAheadPlayback(); } }); $(document).keyup(function(e){ switch(e.which) { case 37: pauseReadAheadPresentation(); priorReadAheadPresentationItem(); break; case 39: pauseReadAheadPresentation(); nextReadAheadPresentationItem(); break; default: break; } }); function initializeReadAheadControls(){ var s = ''; s += ''; s += ''; s += ''; s += '
'; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += '
'; $('#read_ahead_player').append(s); } function initializeReadAheadSlider(){ var s = ''; s += '
'; s += '
'; s += '
'; $('#read_ahead_controls').prepend(s); updateReadAheadSliderPosition(); } function initializeReadAheadSpeedOptions(){ var s = '
'; s += '
'; s += ' Word Speed
'; s += '
'; optionCount = 0; for (index in wordSpeedOptions) { optionCount++; } optionWidth = 100 / optionCount; for (index in wordSpeedOptions) { var option = wordSpeedOptions[index]; if (index == defaultWordSpeedOption) { s += ''; updateReadAheadWordSpeed(option); } else { s += ''; } } s += '
'; s += '
'; s += '
'; s += ' Phrase Speed
'; s += '
'; optionCount = 0; for (index in phraseSpeedOptions) { optionCount++; } optionWidth = 100 / optionCount; for (index in phraseSpeedOptions) { var option = phraseSpeedOptions[index]; if (index == defaultWordSpeedOption) { s += ''; updateReadAheadPhraseSpeed(option); } else { s += ''; } } s += '
'; s += '
'; s += '
'; $('#read_ahead_controls').append(s); } function updateReadAheadWordSpeed(microseconds,sender) { microseconds = microseconds != undefined && microseconds > 0 ? microseconds : 0; if (microseconds > 0) { timePerWord = microseconds; } if (sender!=undefined) { $('#slider_control_word_speed').find('a').removeClass('current_speed'); $(sender).addClass('current_speed'); } logReadAheadPlayerAction('updateReadAheadWordSpeed','Presentation',microseconds); } function updateReadAheadPhraseSpeed(microseconds,sender) { microseconds = microseconds != undefined && microseconds > 0 ? microseconds : 0; if (microseconds > 0 ) { timePerPhraseWord = microseconds; } if (sender!=undefined) { $('#slider_control_phrase_speed').find('a').removeClass('current_speed'); $(sender).addClass('current_speed'); } logReadAheadPlayerAction('updateReadAheadPhraseSpeed','Presentation',microseconds); } function updateReadAheadSliderPosition(){ var currentSliderBarWidth = 100 - (100 / totalPositions * (currentPosition + 1)); $('#readAheadSliderBar').css('width',currentSliderBarWidth+'%'); } function currentReadAheadControls(){ $('#read_ahead_player_pause_play').show(); if (currentPosition < totalPositions - 1) { $('#read_ahead_player_next_word').removeClass('disabled'); } else { $('#read_ahead_player_next_word').addClass('disabled'); } if (currentPosition > 0) { $('#read_ahead_player_previous_word').removeClass('disabled'); } else { $('#read_ahead_player_previous_word').addClass('disabled'); } } function restartReadAheadPresentation(){ currentPosition = 0; logReadAheadPlayerAction('restartReadAheadPresentation','Presentation',''); resumeReadAheadPlayback(); } function resumeReadAheadPlayback(){ $('.fa-repeat').removeClass('fa-repeat').addClass('fa-play'); $('#read_ahead_player_pause_play').each(function(){ $(this).find('.fa-play').removeClass('fa-play').addClass('fa-pause'); $(this).off('click'); $(this).attr('onclick','pauseReadAheadPresentation()'); }); logReadAheadPlayerAction('resumeReadAheadPlayback','Presentation',''); playReadAheadPresentation(); } function pauseReadAheadPresentation(){ $('#read_ahead_player_pause_play').each(function(){ $(this).find('.fa-pause').removeClass('fa-pause').addClass('fa-play'); $(this).off('click'); $(this).attr('onclick','resumeReadAheadPlayback()'); }); logReadAheadPlayerAction('pauseReadAheadPresentation','Presentation',''); read_ahead_pause(); } function endReadAheadPresentation(){ $('.fa-play').removeClass('fa-play').addClass('fa-repeat'); $('.fa-pause').removeClass('fa-pause').addClass('fa-repeat'); $('#read_ahead_player_pause_play').each(function(){ $(this).off('click'); $(this).attr('onclick','restartReadAheadPresentation()'); }); logReadAheadPlayerAction('endReadAheadPresentation','Presentation',''); logLTIEndPresentation(); } function playReadAheadPresentation(){ autoPlay=true; currentPosition--; logReadAheadPlayerAction('playReadAheadPresentation','Presentation',''); nextReadAheadPresentationItem(); } function startReadAheadStepper(timeDisplayWord){ clearInterval(readAheadPlayerTimer); readAheadPlayerTimer = setTimeout(function() { read_ahead_step(); },timeDisplayWord); } function stopReadAheadStepper(){ clearInterval(readAheadPlayerTimer); } function read_ahead_step(){ if (autoPlay) { nextReadAheadPresentationItem(); } } function read_ahead_pause(){ autoPlay=false; stopReadAheadStepper(); } function showReadAheadPresentationItem(index){ currentPosition = index; currentPresentationItem = presentation[currentPosition] != undefined ? presentation[currentPosition].trim() : ""; if (currentPresentationItem != "") { currentItemWordCount = presentation[currentPosition].replace("\n","").split(" ").length; if (currentPresentationItem.startsWith("")){ startReadAheadStepper(currentItemWordCount*timePerWord); $('#read_ahead_player_field').html('
'+currentPresentationItem+'
'); logReadAheadPlayerAction('showReadAheadPresentationItem','Word',currentPresentationItem); } else { startReadAheadStepper(currentItemWordCount*timePerPhraseWord); $('#read_ahead_player_field').html('
'+currentPresentationItem.replace("\n","
")+'
'); logReadAheadPlayerAction('showReadAheadPresentationItem','Phrase',''); } } else { if (currentPosition < totalPositions) { nextReadAheadPresentationItem(); } else { endReadAheadPresentation(); read_ahead_minimize(); } } currentReadAheadControls(); updateReadAheadSliderPosition(); saveReadAheadPosition(); } function priorReadAheadPresentationItem(){ stopReadAheadStepper(); logReadAheadPlayerAction('priorReadAheadPresentationItem','Controls',''); showReadAheadPresentationItem(currentPosition-1); } function nextReadAheadPresentationItem(){ stopReadAheadStepper(); logReadAheadPlayerAction('nextReadAheadPresentationItem','Controls',''); showReadAheadPresentationItem(currentPosition+1); } function read_ahead_playAgain(){ currentWordIndex = 0; logReadAheadPlayerAction('read_ahead_playAgain','Controls',''); playReadAheadPresentation(); } function read_ahead_minimize(){ setMinimized = true; logReadAheadPlayerAction('read_ahead_minimize','Controls',''); read_ahead_switch_min_max(); } function read_ahead_maximize(){ setMinimized = false; logReadAheadPlayerAction('read_ahead_maximize','Controls',''); read_ahead_switch_min_max(); } function read_ahead_switch_min_max(forceSwitch){ forceSwitch = forceSwitch != undefined ? forceSwitch : false; if (forceSwitch) { setMinimized = !setMinimized; } if (setMinimized) { $('#read_ahead_player_back').fadeOut(); $('#read_ahead_player').addClass('minimize'); $('.player-icons .fa-stack').removeClass('fa-lg').addClass('fa-sm'); $('.player-icons .fa-minus').removeClass('fa-minus').addClass('fa-expand'); logReadAheadPlayerAction('read_ahead_switch_min_max','Min',''); //$('#read_ahead_player_max_min').each(function(){ // $(this).off('click'); // $(this).attr('onclick','read_ahead_maximize()'); //}); } else { $('#read_ahead_player_back').fadeIn(); $('#read_ahead_player').removeClass('minimize'); $('.player-icons .fa-stack').removeClass('fa-sm').addClass('fa-lg'); $('.player-icons .fa-expand').removeClass('fa-expand').addClass('fa-minus'); logReadAheadPlayerAction('read_ahead_switch_min_max','Max',''); //$('#read_ahead_player_max_min').each(function(){ // $(this).off('click'); // $(this).attr('onclick','read_ahead_minimize()'); //}); } } function saveReadAheadPosition(){ $.ajax({ type:'POST', url:'/ajax/save_user_presentation_position.php', data: { 'id':2244, 'position': currentPosition } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); } function logLTIEndPresentation(action) { if (!logToLTI) { return; } $.ajax({ type:'POST', url:'/lti/presentationEnded.php', data: { 'documentId':2244, 'userId':0, } }) } function logReadAheadPlayerAction(action,area,details){ var d = new Date(); var t = d.getTime(); action = action != undefined ? action.trim() : 'UNKNOWN'; area = area != undefined ? area.trim() : ''; details = details != undefined ? details : ''; // If we are about to show a new word, increase the number of keywords // reinforced so we can log that for the Dashboard page. if (area == 'Word') { window.keywordCount++; } $.ajax({ type:'POST', url:'/logging/logPlayerAction.php', data: { 'documentId':2244, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }