<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SE &#8211; AMP en Línea</title>
	<atom:link href="https://www.ampenlinea.com/lesson-category/se/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.ampenlinea.com</link>
	<description></description>
	<lastBuildDate>Mon, 09 Jun 2025 20:57:24 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.ampenlinea.com/wp-content/uploads/2020/07/cropped-LOGOamp-solo_enlinea-M5-32x32.png</url>
	<title>SE &#8211; AMP en Línea</title>
	<link>https://www.ampenlinea.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>AMA Bajo N2 – SE – Sistema de Evaluación (REPASO 2)</title>
		<link>https://www.ampenlinea.com/courses/ama-bajo-n2-v15/lessons/ama-bj-n2-se-2/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Fri, 28 Feb 2025 15:05:28 +0000</pubDate>
				<category><![CDATA[AMA Bajo N2]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=59618</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Bajo 2-1-8 / Introducción a la lectura melódica AMP Bajo 2-1-11 / Canción #1 &#8211; Sobre tu arcoiris AMP Bajo 2-2-6 / Extracto: Livin on a Prayer AMP Bajo 2-2-8 / Extracto: La bamba AMP Bajo 2-2-9 / Canción #2 &#8211; Encanto mayor AMP Bajo &#8230;<p class="read-more"> <a class="" href="https://www.ampenlinea.com/courses/ama-bajo-n2-v15/lessons/ama-bj-n2-se-2/"> <span class="screen-reader-text">AMA Bajo N2 – SE – Sistema de Evaluación (REPASO 2)</span> Leer más &#187;</a></p>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="59618" class="elementor elementor-59618" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-7d4a868 e-flex e-con-boxed e-con e-parent" data-id="7d4a868" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-264443b e-con-full e-grid e-con e-child" data-id="264443b" data-element_type="container">
				<div class="elementor-element elementor-element-57dde01 elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="57dde01" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-d6ec754 elementor-widget elementor-widget-html" data-id="d6ec754" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
    <option value="https://player.vimeo.com/video/1033975999?h=056779d005">
      AMP Bajo 2-1-8 / Introducción a la lectura melódica
    </option>
    <option value="https://player.vimeo.com/video/999632152?h=fcfda3e78f">
      AMP Bajo 2-1-11 / Canción #1 - Sobre tu arcoiris
    </option>
    <option value="https://player.vimeo.com/video/999632246?h=cb05870709">
      AMP Bajo 2-2-6 / Extracto: Livin on a Prayer
    </option>
    <option value="https://player.vimeo.com/video/999632279?h=f4bd06e35c">
      AMP Bajo 2-2-8 / Extracto: La bamba
    </option>
    <option value="https://player.vimeo.com/video/999632336?h=e3b10ce904">
      AMP Bajo 2-2-9 / Canción #2 - Encanto mayor
    </option>
    <option value="https://player.vimeo.com/video/999632393?h=cdd7660aba">
      AMP Bajo 2-2-10 / Backing track en G
    </option>
    <option value="https://player.vimeo.com/video/999632570?h=a96fb9d527">
      AMP Bajo 2-2-11 / Backing track en D
    </option>
    <option value="https://player.vimeo.com/video/999632750?h=cf0888d8bb">
      AMP Bajo 2-3-5 / Canción #3 - Intento menor
    </option>
    <option value="https://player.vimeo.com/video/999632807?h=d4b361a032">
      AMP Bajo 2-3-6 / Backing track en G
    </option>
    <option value="https://player.vimeo.com/video/999632980?h=008da75e2f">
      AMP Bajo 2-3-7 / Backing track en D
    </option>
    <option value="https://player.vimeo.com/video/999633142?h=dcc1113236">
      AMP Bajo 2-3-8 / Canción #4 - Fiesta en Bruges
    </option>
    <option value="https://player.vimeo.com/video/999633185?h=c7e55a5610">
      AMP Bajo 2-3-9 / Extracto: Baracunatana
    </option>
    <option value="https://player.vimeo.com/video/999633220?h=5d4d012215">
      AMP Bajo 2-3-10 / Canción #5 - Colina Govardhana
    </option>
    <option value="https://player.vimeo.com/video/999633287?h=d816462c2e">
      AMP Bajo 2-3-13 / Extracto: Lamento boliviano
    </option>
    <option value="https://player.vimeo.com/video/999633316?h=c6b53fc0ff">
      AMP Bajo 2-3-13 / Extracto: Thunderstruck
    </option>
    <option value="https://player.vimeo.com/video/999633342?h=4ec124ea9e">
      AMP Bajo 2-3-13 / Extracto: Uptown funk
    </option>
    <option value="https://player.vimeo.com/video/999633372?h=1fb0a6f25a">
      AMP Bajo 2-4-8 / Canción #6 - Acacias para ti
    </option>
    <option value="https://player.vimeo.com/video/999633846?h=80ca98e0ec">
      AMP Bajo 2-5-5 / Canción #7 - Viaje a ti
    </option>
    <option value="https://player.vimeo.com/video/999633903?h=41f091393f">
      AMP Bajo 2-5-6 / Extracto: Blue Suede Shoes (Elvis Presley)
    </option>
    <option value="https://player.vimeo.com/video/999633924?h=dfded4b7d6">
      AMP Bajo 2-5-7 / Canción #8 - Blues for Ana Caro
    </option>
    <option value="https://player.vimeo.com/video/999633979?h=a5e0fe153e">
      AMP Bajo 2-5-8 / Practica Escala Blues
    </option>
    <option value="https://player.vimeo.com/video/999634043?h=5e434d0409">
      AMP Bajo 2-6-2 / Concierto final - American country
    </option>
</select>


  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-2247c34 elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="2247c34" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-047159e elementor-widget elementor-widget-html" data-id="047159e" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/02/Bajo-2-SE.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-42864ec elementor-widget elementor-widget-template" data-id="42864ec" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA Bajo N2 – SE – Sistema de Evaluación (REPASO)</title>
		<link>https://www.ampenlinea.com/courses/ama-bajo-n2-v15/lessons/ama-bajo-n2-se/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Fri, 28 Feb 2025 15:04:56 +0000</pubDate>
				<category><![CDATA[AMA Bajo N2]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=59617</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Bajo 2-1-8 / Introducción a la lectura melódica AMP Bajo 2-1-11 / Canción #1 &#8211; Sobre tu arcoiris AMP Bajo 2-2-6 / Extracto: Livin on a Prayer AMP Bajo 2-2-8 / Extracto: La bamba AMP Bajo 2-2-9 / Canción #2 &#8211; Encanto mayor AMP Bajo &#8230;<p class="read-more"> <a class="" href="https://www.ampenlinea.com/courses/ama-bajo-n2-v15/lessons/ama-bajo-n2-se/"> <span class="screen-reader-text">AMA Bajo N2 – SE – Sistema de Evaluación (REPASO)</span> Leer más &#187;</a></p>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="59617" class="elementor elementor-59617" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-53341ca e-flex e-con-boxed e-con e-parent" data-id="53341ca" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-43a96eb e-con-full e-grid e-con e-child" data-id="43a96eb" data-element_type="container">
				<div class="elementor-element elementor-element-2d9e9a4 elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="2d9e9a4" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-f4e0ffb elementor-widget elementor-widget-html" data-id="f4e0ffb" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
    <option value="https://player.vimeo.com/video/1033975999?h=056779d005">
      AMP Bajo 2-1-8 / Introducción a la lectura melódica
    </option>
    <option value="https://player.vimeo.com/video/999632152?h=fcfda3e78f">
      AMP Bajo 2-1-11 / Canción #1 - Sobre tu arcoiris
    </option>
    <option value="https://player.vimeo.com/video/999632246?h=cb05870709">
      AMP Bajo 2-2-6 / Extracto: Livin on a Prayer
    </option>
    <option value="https://player.vimeo.com/video/999632279?h=f4bd06e35c">
      AMP Bajo 2-2-8 / Extracto: La bamba
    </option>
    <option value="https://player.vimeo.com/video/999632336?h=e3b10ce904">
      AMP Bajo 2-2-9 / Canción #2 - Encanto mayor
    </option>
    <option value="https://player.vimeo.com/video/999632393?h=cdd7660aba">
      AMP Bajo 2-2-10 / Backing track en G
    </option>
    <option value="https://player.vimeo.com/video/999632570?h=a96fb9d527">
      AMP Bajo 2-2-11 / Backing track en D
    </option>
    <option value="https://player.vimeo.com/video/999632750?h=cf0888d8bb">
      AMP Bajo 2-3-5 / Canción #3 - Intento menor
    </option>
    <option value="https://player.vimeo.com/video/999632807?h=d4b361a032">
      AMP Bajo 2-3-6 / Backing track en G
    </option>
    <option value="https://player.vimeo.com/video/999632980?h=008da75e2f">
      AMP Bajo 2-3-7 / Backing track en D
    </option>
    <option value="https://player.vimeo.com/video/999633142?h=dcc1113236">
      AMP Bajo 2-3-8 / Canción #4 - Fiesta en Bruges
    </option>
    <option value="https://player.vimeo.com/video/999633185?h=c7e55a5610">
      AMP Bajo 2-3-9 / Extracto: Baracunatana
    </option>
    <option value="https://player.vimeo.com/video/999633220?h=5d4d012215">
      AMP Bajo 2-3-10 / Canción #5 - Colina Govardhana
    </option>
    <option value="https://player.vimeo.com/video/999633287?h=d816462c2e">
      AMP Bajo 2-3-13 / Extracto: Lamento boliviano
    </option>
    <option value="https://player.vimeo.com/video/999633316?h=c6b53fc0ff">
      AMP Bajo 2-3-13 / Extracto: Thunderstruck
    </option>
    <option value="https://player.vimeo.com/video/999633342?h=4ec124ea9e">
      AMP Bajo 2-3-13 / Extracto: Uptown funk
    </option>
    <option value="https://player.vimeo.com/video/999633372?h=1fb0a6f25a">
      AMP Bajo 2-4-8 / Canción #6 - Acacias para ti
    </option>
    <option value="https://player.vimeo.com/video/999633846?h=80ca98e0ec">
      AMP Bajo 2-5-5 / Canción #7 - Viaje a ti
    </option>
    <option value="https://player.vimeo.com/video/999633903?h=41f091393f">
      AMP Bajo 2-5-6 / Extracto: Blue Suede Shoes (Elvis Presley)
    </option>
    <option value="https://player.vimeo.com/video/999633924?h=dfded4b7d6">
      AMP Bajo 2-5-7 / Canción #8 - Blues for Ana Caro
    </option>
    <option value="https://player.vimeo.com/video/999633979?h=a5e0fe153e">
      AMP Bajo 2-5-8 / Practica Escala Blues
    </option>
    <option value="https://player.vimeo.com/video/999634043?h=5e434d0409">
      AMP Bajo 2-6-2 / Concierto final - American country
    </option>
</select>


  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-55e3731 elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="55e3731" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-832cae4 elementor-widget elementor-widget-html" data-id="832cae4" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/02/Bajo-2-SE.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-7f04ed5 elementor-widget elementor-widget-template" data-id="7f04ed5" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA Bajo N2 – SE – Sistema de Evaluación</title>
		<link>https://www.ampenlinea.com/courses/ama-bajo-n2-v15/lessons/ama-bj-n2-se/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Fri, 28 Feb 2025 15:00:03 +0000</pubDate>
				<category><![CDATA[AMA Bajo N1]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=59580</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Bajo 2-1-8 / Introducción a la lectura melódica AMP Bajo 2-1-11 / Canción #1 &#8211; Sobre tu arcoiris AMP Bajo 2-2-6 / Extracto: Livin on a Prayer AMP Bajo 2-2-8 / Extracto: La bamba AMP Bajo 2-2-9 / Canción #2 &#8211; Encanto mayor AMP Bajo &#8230;<p class="read-more"> <a class="" href="https://www.ampenlinea.com/courses/ama-bajo-n2-v15/lessons/ama-bj-n2-se/"> <span class="screen-reader-text">AMA Bajo N2 – SE – Sistema de Evaluación</span> Leer más &#187;</a></p>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="59580" class="elementor elementor-59580" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-6b7eef3 e-flex e-con-boxed e-con e-parent" data-id="6b7eef3" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-fb6b8b3 e-con-full e-grid e-con e-child" data-id="fb6b8b3" data-element_type="container">
				<div class="elementor-element elementor-element-66779fe elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="66779fe" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-4ae7aba elementor-widget elementor-widget-html" data-id="4ae7aba" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
    <option value="https://player.vimeo.com/video/1033975999?h=056779d005">
      AMP Bajo 2-1-8 / Introducción a la lectura melódica
    </option>
    <option value="https://player.vimeo.com/video/999632152?h=fcfda3e78f">
      AMP Bajo 2-1-11 / Canción #1 - Sobre tu arcoiris
    </option>
    <option value="https://player.vimeo.com/video/999632246?h=cb05870709">
      AMP Bajo 2-2-6 / Extracto: Livin on a Prayer
    </option>
    <option value="https://player.vimeo.com/video/999632279?h=f4bd06e35c">
      AMP Bajo 2-2-8 / Extracto: La bamba
    </option>
    <option value="https://player.vimeo.com/video/999632336?h=e3b10ce904">
      AMP Bajo 2-2-9 / Canción #2 - Encanto mayor
    </option>
    <option value="https://player.vimeo.com/video/999632393?h=cdd7660aba">
      AMP Bajo 2-2-10 / Backing track en G
    </option>
    <option value="https://player.vimeo.com/video/999632570?h=a96fb9d527">
      AMP Bajo 2-2-11 / Backing track en D
    </option>
    <option value="https://player.vimeo.com/video/999632750?h=cf0888d8bb">
      AMP Bajo 2-3-5 / Canción #3 - Intento menor
    </option>
    <option value="https://player.vimeo.com/video/999632807?h=d4b361a032">
      AMP Bajo 2-3-6 / Backing track en G
    </option>
    <option value="https://player.vimeo.com/video/999632980?h=008da75e2f">
      AMP Bajo 2-3-7 / Backing track en D
    </option>
    <option value="https://player.vimeo.com/video/999633142?h=dcc1113236">
      AMP Bajo 2-3-8 / Canción #4 - Fiesta en Bruges
    </option>
    <option value="https://player.vimeo.com/video/999633185?h=c7e55a5610">
      AMP Bajo 2-3-9 / Extracto: Baracunatana
    </option>
    <option value="https://player.vimeo.com/video/999633220?h=5d4d012215">
      AMP Bajo 2-3-10 / Canción #5 - Colina Govardhana
    </option>
    <option value="https://player.vimeo.com/video/999633287?h=d816462c2e">
      AMP Bajo 2-3-13 / Extracto: Lamento boliviano
    </option>
    <option value="https://player.vimeo.com/video/999633316?h=c6b53fc0ff">
      AMP Bajo 2-3-13 / Extracto: Thunderstruck
    </option>
    <option value="https://player.vimeo.com/video/999633342?h=4ec124ea9e">
      AMP Bajo 2-3-13 / Extracto: Uptown funk
    </option>
    <option value="https://player.vimeo.com/video/999633372?h=1fb0a6f25a">
      AMP Bajo 2-4-8 / Canción #6 - Acacias para ti
    </option>
    <option value="https://player.vimeo.com/video/999633846?h=80ca98e0ec">
      AMP Bajo 2-5-5 / Canción #7 - Viaje a ti
    </option>
    <option value="https://player.vimeo.com/video/999633903?h=41f091393f">
      AMP Bajo 2-5-6 / Extracto: Blue Suede Shoes (Elvis Presley)
    </option>
    <option value="https://player.vimeo.com/video/999633924?h=dfded4b7d6">
      AMP Bajo 2-5-7 / Canción #8 - Blues for Ana Caro
    </option>
    <option value="https://player.vimeo.com/video/999633979?h=a5e0fe153e">
      AMP Bajo 2-5-8 / Practica Escala Blues
    </option>
    <option value="https://player.vimeo.com/video/999634043?h=5e434d0409">
      AMP Bajo 2-6-2 / Concierto final - American country
    </option>
</select>


  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-b58a133 elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="b58a133" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-e3bec43 elementor-widget elementor-widget-html" data-id="e3bec43" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/02/Bajo-2-SE.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-2b721cf elementor-widget elementor-widget-template" data-id="2b721cf" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA Guitarra N1 – SE – REPASO TOPICOS BASICOS</title>
		<link>https://www.ampenlinea.com/courses/ama-guitarra-n1/lessons/ama-gt-n1-se/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Thu, 27 Feb 2025 15:59:36 +0000</pubDate>
				<category><![CDATA[AMA Guitarra N1]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=59443</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Guitarra 1-3-9 / Extracto &#8211; Three little birds &#215; Prueba Audio JS &#8211; GPP + 1.0x Modal con Pantalla Completa Pantalla Completa]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="59443" class="elementor elementor-59443" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-1471faf e-flex e-con-boxed e-con e-parent" data-id="1471faf" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-d773198 e-con-full e-grid e-con e-child" data-id="d773198" data-element_type="container">
				<div class="elementor-element elementor-element-7fef917 elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="7fef917" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-160d957 elementor-widget elementor-widget-html" data-id="160d957" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
  <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
    
    <option value="https://player.vimeo.com/video/999593638?h=6c07401de9&amp">
      AMP Guitarra 1-3-9 / Extracto - Three little birds
    
  </select>

  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-7f78242 elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="7f78242" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-f5e2e13 elementor-widget elementor-widget-html" data-id="f5e2e13" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/02/Guitarra-1-SE.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-27edb55 elementor-widget elementor-widget-template" data-id="27edb55" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA Bajo N1– Sistema de Evaluación (Pregunta 5 a 10)</title>
		<link>https://www.ampenlinea.com/courses/ama-bajo-n1-v15/lessons/ama-bj-n1-se-2/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Thu, 27 Feb 2025 15:47:11 +0000</pubDate>
				<category><![CDATA[AMA Bajo N1]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=59436</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Batería 1-6-2 / Concierto final &#8211; Tocando en la cima &#215; Prueba Audio JS &#8211; GPP + 1.0x Modal con Pantalla Completa Pantalla Completa]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="59436" class="elementor elementor-59436" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-7f4aadb e-flex e-con-boxed e-con e-parent" data-id="7f4aadb" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-0880189 e-con-full e-grid e-con e-child" data-id="0880189" data-element_type="container">
				<div class="elementor-element elementor-element-0efe9af elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="0efe9af" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-15d53e2 elementor-widget elementor-widget-html" data-id="15d53e2" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
  
    <option value="https://player.vimeo.com/video/1019846230?h=4e3ebe500c">
      AMP Batería 1-6-2 / Concierto final - Tocando en la cima
    </option>
</select>

  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-4dbe74a elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="4dbe74a" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-9c34e18 elementor-widget elementor-widget-html" data-id="9c34e18" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/02/Bajo-1-SE.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-b04a4ac elementor-widget elementor-widget-template" data-id="b04a4ac" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA Bajo N1 – SE –  REPASO TOPICOS BASICOS</title>
		<link>https://www.ampenlinea.com/courses/ama-bajo-n1-v15/lessons/ama-bj-n1-se/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Thu, 27 Feb 2025 15:37:02 +0000</pubDate>
				<category><![CDATA[AMA Bajo N1]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=59383</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Bajo 1-1-8 / Afinación AMP Bajo 1-1-12 / Canción #1 &#8211; Esperanza AMP Bajo 1-2-8 / Canción #2 &#8211; Shining AMP Bajo 1-2-9 / Extracto &#8211; Three little birds AMP Bajo 1-2-10 / Canción #3 &#8211; Mi aurora boreal AMP Bajo 1-3-8 / Canción #4 &#8230;<p class="read-more"> <a class="" href="https://www.ampenlinea.com/courses/ama-bajo-n1-v15/lessons/ama-bj-n1-se/"> <span class="screen-reader-text">AMA Bajo N1 – SE –  REPASO TOPICOS BASICOS</span> Leer más &#187;</a></p>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="59383" class="elementor elementor-59383" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-e363234 e-flex e-con-boxed e-con e-parent" data-id="e363234" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-a846e37 e-con-full e-grid e-con e-child" data-id="a846e37" data-element_type="container">
				<div class="elementor-element elementor-element-8ad61d8 elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="8ad61d8" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-8058514 elementor-widget elementor-widget-html" data-id="8058514" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
    <option value="https://player.vimeo.com/video/999625818?h=bad1483d4c">
      AMP Bajo 1-1-8 / Afinación
    </option>
    <option value="https://player.vimeo.com/video/999625885?h=204e100013">
      AMP Bajo 1-1-12 / Canción #1 - Esperanza
    </option>
    <option value="https://player.vimeo.com/video/999625937?h=458d5095a7">
      AMP Bajo 1-2-8 / Canción #2 - Shining
    </option>
    <option value="https://player.vimeo.com/video/999625989?h=31067b5f3e">
      AMP Bajo 1-2-9 / Extracto - Three little birds
    </option>
    <option value="https://player.vimeo.com/video/999626030?h=2cf5821201">
      AMP Bajo 1-2-10 / Canción #3 - Mi aurora boreal
    </option>
    <option value="https://player.vimeo.com/video/999626098?h=4c1dfd6bac">
      AMP Bajo 1-3-8 / Canción #4 - La fiesta
    </option>
    <option value="https://player.vimeo.com/video/999626227?h=a3acd02531">
      AMP Bajo 1-3-8 / Extracto - With or without you
    </option>
    <option value="https://player.vimeo.com/video/999626150?h=f21ceb8f1f">
      AMP Bajo 1-3-9 / Extracto - Yellow
    </option>
    <option value="https://player.vimeo.com/video/999626172?h=db0ea34878">
      AMP Bajo 1-3-10 / Canción #5 - Encuentros
    </option>
    <option value="https://player.vimeo.com/video/999626266?h=13eee7fe15">
      AMP Bajo 1-4-8 / Extracto - Las avispas
    </option>
    <option value="https://player.vimeo.com/video/999626300?h=541dda7af0">
      AMP Bajo 1-5-6 / Digitación con los patrones
    </option>
    <option value="https://player.vimeo.com/video/999626359?h=cef2e4eb63">
      AMP Bajo 1-6-2 / Concierto final - Tocando en la cima
    </option>
</select>


  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-8ee1ad0 elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="8ee1ad0" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-396b186 elementor-widget elementor-widget-html" data-id="396b186" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/02/Bajo-1-SE.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-17b2214 elementor-widget elementor-widget-template" data-id="17b2214" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA Bajo N1 – Sistema de Evaluación (Preguntas 1 al 5)</title>
		<link>https://www.ampenlinea.com/courses/ama-bajo-n1-v15/lessons/ama-bajo-n1-se-sistema-de-evaluacion/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Thu, 27 Feb 2025 15:18:14 +0000</pubDate>
				<category><![CDATA[AMA Bajo N1]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=59416</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Bajo 1-1-8 / Afinación AMP Bajo 1-1-12 / Canción #1 &#8211; Esperanza AMP Bajo 1-2-8 / Canción #2 &#8211; Shining AMP Bajo 1-2-9 / Extracto &#8211; Three little birds AMP Bajo 1-2-10 / Canción #3 &#8211; Mi aurora boreal AMP Bajo 1-3-8 / Canción #4 &#8230;<p class="read-more"> <a class="" href="https://www.ampenlinea.com/courses/ama-bajo-n1-v15/lessons/ama-bajo-n1-se-sistema-de-evaluacion/"> <span class="screen-reader-text">AMA Bajo N1 – Sistema de Evaluación (Preguntas 1 al 5)</span> Leer más &#187;</a></p>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="59416" class="elementor elementor-59416" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-953e638 e-flex e-con-boxed e-con e-parent" data-id="953e638" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-36ae961 e-con-full e-grid e-con e-child" data-id="36ae961" data-element_type="container">
				<div class="elementor-element elementor-element-c7805ec elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="c7805ec" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-3311d18 elementor-widget elementor-widget-html" data-id="3311d18" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
    <option value="https://player.vimeo.com/video/999625818?h=bad1483d4c">
      AMP Bajo 1-1-8 / Afinación
    </option>
    <option value="https://player.vimeo.com/video/999625885?h=204e100013">
      AMP Bajo 1-1-12 / Canción #1 - Esperanza
    </option>
    <option value="https://player.vimeo.com/video/999625937?h=458d5095a7">
      AMP Bajo 1-2-8 / Canción #2 - Shining
    </option>
    <option value="https://player.vimeo.com/video/999625989?h=31067b5f3e">
      AMP Bajo 1-2-9 / Extracto - Three little birds
    </option>
    <option value="https://player.vimeo.com/video/999626030?h=2cf5821201">
      AMP Bajo 1-2-10 / Canción #3 - Mi aurora boreal
    </option>
    <option value="https://player.vimeo.com/video/999626098?h=4c1dfd6bac">
      AMP Bajo 1-3-8 / Canción #4 - La fiesta
    </option>
    <option value="https://player.vimeo.com/video/999626227?h=a3acd02531">
      AMP Bajo 1-3-8 / Extracto - With or without you
    </option>
    <option value="https://player.vimeo.com/video/999626150?h=f21ceb8f1f">
      AMP Bajo 1-3-9 / Extracto - Yellow
    </option>
    <option value="https://player.vimeo.com/video/999626172?h=db0ea34878">
      AMP Bajo 1-3-10 / Canción #5 - Encuentros
    </option>
    <option value="https://player.vimeo.com/video/999626266?h=13eee7fe15">
      AMP Bajo 1-4-8 / Extracto - Las avispas
    </option>
    <option value="https://player.vimeo.com/video/999626300?h=541dda7af0">
      AMP Bajo 1-5-6 / Digitación con los patrones
    </option>
    <option value="https://player.vimeo.com/video/999626359?h=cef2e4eb63">
      AMP Bajo 1-6-2 / Concierto final - Tocando en la cima
    </option>
</select>


  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-d353964 elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="d353964" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-f3a1302 elementor-widget elementor-widget-html" data-id="f3a1302" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/02/Bajo-1-SE.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-d54f7fe elementor-widget elementor-widget-template" data-id="d54f7fe" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA Batería N4 – SE – EXAMEN PRACTICO</title>
		<link>https://www.ampenlinea.com/courses/ama-bateria-n4/lessons/ama-bateria-n4-se-examen-practico/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Wed, 26 Feb 2025 16:36:49 +0000</pubDate>
				<category><![CDATA[AMA Bateria N4]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=58983</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Batería 4-1-6 / JamCenter &#8211; Mi dulce chica AMP Batería 4-1-13 / Canción #1 &#8211; Nuestro amor escondido AMP Batería 4-2-5 / Loop 1 AMP Batería 4-2-5-2 / Loop 2 AMP Batería 4-2-5-3 / Loop 3 AMP Batería 4-2-5-4 / Loop 4 AMP Batería 4-2-5-5 &#8230;<p class="read-more"> <a class="" href="https://www.ampenlinea.com/courses/ama-bateria-n4/lessons/ama-bateria-n4-se-examen-practico/"> <span class="screen-reader-text">AMA Batería N4 – SE – EXAMEN PRACTICO</span> Leer más &#187;</a></p>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="58983" class="elementor elementor-58983" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-378ac32 e-flex e-con-boxed e-con e-parent" data-id="378ac32" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-735812d e-con-full e-grid e-con e-child" data-id="735812d" data-element_type="container">
				<div class="elementor-element elementor-element-8f16c39 elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="8f16c39" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-9e6426c elementor-widget elementor-widget-html" data-id="9e6426c" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
    
    <option value="https://player.vimeo.com/video/1022160697?h=b7dc61eb51">
      AMP Batería 4-1-6 / JamCenter - Mi dulce chica
    </option>
    <option value="https://player.vimeo.com/video/1020342290?h=1ddf170ebc">
      AMP Batería 4-1-13 / Canción #1 - Nuestro amor escondido
    </option>
    <option value="https://player.vimeo.com/video/1020342498?h=163cfc505e">
      AMP Batería 4-2-5 / Loop 1
    </option>
    <option value="https://player.vimeo.com/video/1020342553?h=08f4781f4f">
      AMP Batería 4-2-5-2 / Loop 2
    </option>
    <option value="https://player.vimeo.com/video/1020342595?h=1161d5f6f6">
      AMP Batería 4-2-5-3 / Loop 3
    </option>
    <option value="https://player.vimeo.com/video/1020342642?h=2f92ddc1f8">
      AMP Batería 4-2-5-4 / Loop 4
    </option>
    <option value="https://player.vimeo.com/video/1020342688?h=d995108f0b">
      AMP Batería 4-2-5-5 / Loop 5
    </option>
    <option value="https://player.vimeo.com/video/1020342727?h=f8afe97a80">
      AMP Batería 4-2-5-6 / Loop 6
    </option>
    <option value="https://player.vimeo.com/video/1020342348?h=674e36ba56">
      AMP Batería 4-2-11 / Loop Heavy Metal
    </option>
    <option value="https://player.vimeo.com/video/1020342411?h=76a01c4315">
      AMP Batería 4-2-12 / Canción #2 - Una historia
    </option>
    <option value="https://player.vimeo.com/video/1020342769?h=639e06a56c">
      AMP Batería 4-4-7 / Loop 1
    </option>
    <option value="https://player.vimeo.com/video/1020342812?h=8dab2fe5bd">
      AMP Batería 4-4-7 / Loop 2
    </option>
    <option value="https://player.vimeo.com/video/1020342853?h=2b9f53dfd8">
      AMP Batería 4-4-7 / Loop 3
    </option>
    <option value="https://player.vimeo.com/video/1020342918?h=bd4fd37b7b">
      AMP Batería 4-4-7 / Loop 4
    </option>
    <option value="https://player.vimeo.com/video/1020342962?h=9fa36ac219">
      AMP Batería 4-4-8 / Canción #3 - Otros secretos
    </option>
    <option value="https://player.vimeo.com/video/1022184853?h=e3c65bfc08">
      AMP Batería 4-5-5 / Los platillos
    </option>
    <option value="https://player.vimeo.com/video/1020343047?h=358cc45500">
      AMP Batería 4-6-2 / Concierto final - Someone
    </option>
</select>



  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-f7e8a3c elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="f7e8a3c" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-36295eb elementor-widget elementor-widget-html" data-id="36295eb" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/02/Bateria-4-SE.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-a414f0c elementor-widget elementor-widget-template" data-id="a414f0c" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA Batería N4 – SE – Sistema de Evaluación (REPASO 2)</title>
		<link>https://www.ampenlinea.com/courses/ama-bateria-n4/lessons/ama-bateria-n4-se-sistema-de-evaluacion-repaso-2/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Wed, 26 Feb 2025 15:07:12 +0000</pubDate>
				<category><![CDATA[AMA Bateria N4]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=58876</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPA AMP Batería 4-1-6 / JamCenter &#8211; Mi dulce chica AMP Batería 4-1-13 / Canción #1 &#8211; Nuestro amor escondido AMP Batería 4-2-5 / Loop 1 AMP Batería 4-2-5-2 / Loop 2 AMP Batería 4-2-5-3 / Loop 3 AMP Batería 4-2-5-4 / Loop 4 AMP Batería 4-2-5-5 &#8230;<p class="read-more"> <a class="" href="https://www.ampenlinea.com/courses/ama-bateria-n4/lessons/ama-bateria-n4-se-sistema-de-evaluacion-repaso-2/"> <span class="screen-reader-text">AMA Batería N4 – SE – Sistema de Evaluación (REPASO 2)</span> Leer más &#187;</a></p>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="58876" class="elementor elementor-58876" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-c4d52f8 e-flex e-con-boxed e-con e-parent" data-id="c4d52f8" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-86c175e e-con-full e-grid e-con e-child" data-id="86c175e" data-element_type="container">
				<div class="elementor-element elementor-element-2d8392d elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="2d8392d" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-ac4aa80 elementor-widget elementor-widget-html" data-id="ac4aa80" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
    
    <option value="https://player.vimeo.com/video/1022160697?h=b7dc61eb51">
      AMP Batería 4-1-6 / JamCenter - Mi dulce chica
    </option>
    <option value="https://player.vimeo.com/video/1020342290?h=1ddf170ebc">
      AMP Batería 4-1-13 / Canción #1 - Nuestro amor escondido
    </option>
    <option value="https://player.vimeo.com/video/1020342498?h=163cfc505e">
      AMP Batería 4-2-5 / Loop 1
    </option>
    <option value="https://player.vimeo.com/video/1020342553?h=08f4781f4f">
      AMP Batería 4-2-5-2 / Loop 2
    </option>
    <option value="https://player.vimeo.com/video/1020342595?h=1161d5f6f6">
      AMP Batería 4-2-5-3 / Loop 3
    </option>
    <option value="https://player.vimeo.com/video/1020342642?h=2f92ddc1f8">
      AMP Batería 4-2-5-4 / Loop 4
    </option>
    <option value="https://player.vimeo.com/video/1020342688?h=d995108f0b">
      AMP Batería 4-2-5-5 / Loop 5
    </option>
    <option value="https://player.vimeo.com/video/1020342727?h=f8afe97a80">
      AMP Batería 4-2-5-6 / Loop 6
    </option>
    <option value="https://player.vimeo.com/video/1020342348?h=674e36ba56">
      AMP Batería 4-2-11 / Loop Heavy Metal
    </option>
    <option value="https://player.vimeo.com/video/1020342411?h=76a01c4315">
      AMP Batería 4-2-12 / Canción #2 - Una historia
    </option>
    <option value="https://player.vimeo.com/video/1020342769?h=639e06a56c">
      AMP Batería 4-4-7 / Loop 1
    </option>
    <option value="https://player.vimeo.com/video/1020342812?h=8dab2fe5bd">
      AMP Batería 4-4-7 / Loop 2
    </option>
    <option value="https://player.vimeo.com/video/1020342853?h=2b9f53dfd8">
      AMP Batería 4-4-7 / Loop 3
    </option>
    <option value="https://player.vimeo.com/video/1020342918?h=bd4fd37b7b">
      AMP Batería 4-4-7 / Loop 4
    </option>
    <option value="https://player.vimeo.com/video/1020342962?h=9fa36ac219">
      AMP Batería 4-4-8 / Canción #3 - Otros secretos
    </option>
    <option value="https://player.vimeo.com/video/1022184853?h=e3c65bfc08">
      AMP Batería 4-5-5 / Los platillos
    </option>
    <option value="https://player.vimeo.com/video/1020343047?h=358cc45500">
      AMP Batería 4-6-2 / Concierto final - Someone
    </option>
</select>



  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-58f59bb elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="58f59bb" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-94777cc elementor-widget elementor-widget-html" data-id="94777cc" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/02/Bateria-4-SE.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-319abff elementor-widget elementor-widget-template" data-id="319abff" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AMA Bateria N3 &#8211; SE &#8211; EXAMEN PRACTICO</title>
		<link>https://www.ampenlinea.com/courses/ama-bateria-n3/lessons/ama-bateria-n3-se-examen-practico/</link>
		
		<dc:creator><![CDATA[Henry Giron]]></dc:creator>
		<pubDate>Tue, 25 Feb 2025 17:54:08 +0000</pubDate>
				<category><![CDATA[AMA Bateria N3]]></category>
		<guid isPermaLink="false">https://www.ampenlinea.com/?post_type=sfwd-lessons&#038;p=58540</guid>

					<description><![CDATA[Modal con Metrónomo Metrónomo &#215; Videos en Pop-Up TPAAMP Batería 3-1-7 / Video: Another One Bites the DustAMP Batería 3-1-7-2 / Video: Billie JeanAMP Batería 3-1-7-3 / Video: Stayin&#8217; AliveAMP Bajo 3-1-9 / JamCenter: Knocking on heaven&#8217;s doorAMP Batería 3-2-5 / Canción #1 &#8211; SecretosAMP Batería 3-2-7 / Video: For whom the bell tollsAMP Batería &#8230;<p class="read-more"> <a class="" href="https://www.ampenlinea.com/courses/ama-bateria-n3/lessons/ama-bateria-n3-se-examen-practico/"> <span class="screen-reader-text">AMA Bateria N3 &#8211; SE &#8211; EXAMEN PRACTICO</span> Leer más &#187;</a></p>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="58540" class="elementor elementor-58540" data-elementor-post-type="sfwd-lessons">
				<div class="elementor-element elementor-element-99f3585 e-flex e-con-boxed e-con e-parent" data-id="99f3585" data-element_type="container">
					<div class="e-con-inner">
		<div class="elementor-element elementor-element-9486739 e-con-full e-grid e-con e-child" data-id="9486739" data-element_type="container">
				<div class="elementor-element elementor-element-abeb194 elementor-widget elementor-widget-global elementor-global-49842 elementor-widget-html" data-id="abeb194" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Modal con Metrónomo</title>
  <style>
    /* Botón para abrir el modal */
    #openMetronomeBtn {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 5px;
    }

    /* Estilos para el modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: #fff;
      margin: auto;
      padding: 20px;
      border: 1px solid #888;
      width: 400px;
      border-radius: 8px;
      position: relative;
    }

    /* Botón de cierre */
    .close {
      color: #aaa;
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
    }
  </style>
</head>
<body>

  <!-- Botón para abrir el modal -->
  <button id="openMetronomeBtn">Metrónomo</button>

  <!-- Modal -->
  <div id="metronomeModal" class="modal">
    <div class="modal-content">
      <!-- Botón de cierre -->
      <span class="close">&times;</span>

      <!-- Iframe del metrónomo -->
      <iframe 
        src="https://guitarapp.com/metronome.html?embed=true&tempo=120&timeSignature=2&pattern=1&theme=light" 
        title="Online Metronome" 
        scrolling="no"
        style="width: 100%; height: 475px; border: none; border-radius: 4px;">
      </iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const modal = document.getElementById("metronomeModal");
    const btn = document.getElementById("openMetronomeBtn");
    const closeBtn = document.querySelector(".close");

    // Mostrar el modal al hacer clic en el botón
    btn.addEventListener("click", () => {
      modal.style.display = "flex"; // Usar flex para centrar el contenido
    });

    // Cerrar el modal al hacer clic en el botón de cerrar (X)
    closeBtn.addEventListener("click", () => {
      modal.style.display = "none";
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === modal) {
        modal.style.display = "none";
      }
    });
  </script>

</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-d167e3d elementor-widget elementor-widget-html" data-id="d167e3d" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Videos en Pop-Up</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
    }

    /* Lista desplegable */
    select {
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-bottom: 20px;
      width: 100%; /* Se ajusta al ancho del contenedor */
      max-width: 400px; /* Ancho máximo */
    }

    /* Modal */
    .modal {
      display: none; /* Oculto por defecto */
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* Fondo semi-transparente */
      justify-content: center;
      align-items: center;
    }

    /* Contenido del modal */
    .modal-content {
      background-color: white;
      border-radius: 8px;
      padding: 20px;
      width: 80%;
      max-width: 800px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    iframe {
      width: 100%;
      height: 450px;
      border: none;
      border-radius: 5px;
    }

    /* Botón de cierre */
    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 30px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
      transition: color 0.3s;
    }

    .close:hover {
      color: black;
    }
  </style>
</head>
<body>


  <!-- Lista desplegable -->
 <select id="videoSelect">
    <option value="" selected disabled>TPA</option>
    <option value="https://player.vimeo.com/video/1020341523?h=b35374b683">AMP Batería 3-1-7 / Video: Another One Bites the Dust</option>
    <option value="https://player.vimeo.com/video/1020341951?h=88dd34a329">AMP Batería 3-1-7-2 / Video: Billie Jean</option>
    <option value="https://player.vimeo.com/video/1020342034?h=084ee6a50e">AMP Batería 3-1-7-3 / Video: Stayin' Alive</option>
    <option value="https://player.vimeo.com/video/1020759144?h=ea276773c4">AMP Bajo 3-1-9 / JamCenter: Knocking on heaven's door</option>
    <option value="https://player.vimeo.com/video/1020335481?h=b04f5defdc">AMP Batería 3-2-5 / Canción #1 - Secretos</option>
    <option value="https://player.vimeo.com/video/1020335576?h=ff8d5e6e67">AMP Batería 3-2-7 / Video: For whom the bell tolls</option>
    <option value="https://player.vimeo.com/video/998900436?h=3ea8b6eef1">AMP Batería 3-2-9 / JamCenter: What’s up</option>
    <option value="https://player.vimeo.com/video/998829796?h=17cec245d9">AMP Batería 3-2-11 / JamCenter: Lamento boliviano</option>
    <option value="https://player.vimeo.com/video/1020336479?h=f8097d78b2">AMP Batería 3-3-3 / Video: Come together</option>
    <option value="https://player.vimeo.com/video/998862771?h=0e2e08a43d">AMP Batería 3-3-7 / JamCenter: Zombie</option>
    <option value="https://player.vimeo.com/video/1020754293?h=47bec1fd32">AMP Batería 3-3-7 / JamCenter: All the small things</option>
    <option value="https://player.vimeo.com/video/1020340013?h=fd568ed919">AMP Batería 3-4-5 / Video: Thunderstruck</option>
    <option value="https://player.vimeo.com/video/1020340565?h=753836bba5">AMP Batería 3-4-5-2 / Video: Wipe Out</option>
    <option value="https://player.vimeo.com/video/1020340465?h=1b11ab0f7c">AMP Batería 3-4-6 / Video: Stand By Me</option>
    <option value="https://player.vimeo.com/video/1020340616?h=e6529364b3">AMP Batería 3-4-6-2 / Video: Shake It Off</option>
    <option value="https://player.vimeo.com/video/1020340531?h=87423a4408">AMP Batería 3-4-7 / Video: We will rock you</option>
    <option value="https://player.vimeo.com/video/1020340877?h=0a15b3ca18">AMP Batería 3-4-7-2 / Video: Crazy train</option>
    <option value="https://player.vimeo.com/video/1020765515?h=5cbd08619e">AMP Batería 3-5-5 / JamCenter: De música ligera</option>
    <option value="https://player.vimeo.com/video/1020341459?h=731cba29d7">AMP Batería 3-6-2 / Concierto final - Mi dulce chica</option>
</select>


  <!-- Modal -->
  <div id="videoModal" class="modal">
    <div class="modal-content">
      <span class="close">&times;</span>
      <iframe id="videoIframe" src="" allowfullscreen></iframe>
    </div>
  </div>

  <script>
    // Obtener elementos
    const videoSelect = document.getElementById("videoSelect");
    const videoModal = document.getElementById("videoModal");
    const videoIframe = document.getElementById("videoIframe");
    const closeModal = document.querySelector(".close");

    // Mostrar el modal con el video seleccionado
    videoSelect.addEventListener("change", () => {
      const selectedVideo = videoSelect.value;
      if (selectedVideo) {
        videoIframe.src = selectedVideo; // Cambiar el src del iframe
        videoModal.style.display = "flex"; // Mostrar el modal
      }
    });

    // Cerrar el modal al hacer clic en la "X"
    closeModal.addEventListener("click", () => {
      videoModal.style.display = "none"; // Ocultar el modal
      videoIframe.src = ""; // Detener el video
    });

    // Cerrar el modal al hacer clic fuera del contenido
    window.addEventListener("click", (event) => {
      if (event.target === videoModal) {
        videoModal.style.display = "none"; // Ocultar el modal
        videoIframe.src = ""; // Detener el video
      }
    });
  </script>

</body>
</html>

		</div>
				</div>
				<div class="elementor-element elementor-element-937721d elementor-widget__width-auto elementor-widget elementor-widget-global elementor-global-49845 elementor-widget-html" data-id="937721d" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8">
  <title>Prueba Audio JS</title>
  <style>
    /* Contenedor que muestra botones y velocidad en la misma línea */
    .controls-container {
      display: inline-flex;      /* o "flex" si prefieres ocupar todo el ancho */
      align-items: center;       /* centra verticalmente */
      gap: 15px;                 /* espacio entre los elementos */
      margin: 30px;
    }

    /* Ajuste de estilo para los botones */
    button {
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }
  </style>
</head>
<body>
  
  <audio id="myAudio" src="https://www.ampenlinea.com/wp-content/uploads/2025/01/GPP.mp3"></audio>
  
  <!-- Contenedor para alinear en una sola línea -->
  <div class="controls-container">
    <button id="decreaseSpeedBtn">-</button>
    <button id="playPauseBtn">GPP</button>
    <button id="increaseSpeedBtn">+</button>
    <div id="speedDisplay">1.0x</div> <!-- Velocidad en la misma línea -->
  </div>
  
  <script>
    const audio = document.getElementById('myAudio');
    const playPauseBtn = document.getElementById('playPauseBtn');
    const increaseSpeedBtn = document.getElementById('increaseSpeedBtn');
    const decreaseSpeedBtn = document.getElementById('decreaseSpeedBtn');
    const speedDisplay = document.getElementById('speedDisplay');

    let isPlaying = false;

    // Actualiza el texto que muestra la velocidad
    function updateSpeedDisplay() {
      speedDisplay.textContent = `${audio.playbackRate.toFixed(1)}x`;
    }

    // Al hacer clic en el botón Reproducir/Pausar
    playPauseBtn.onclick = () => {
      if (isPlaying) {
        audio.pause();
        isPlaying = false;
        playPauseBtn.textContent = "GPP"; // Texto cuando está en pausa
      } else {
        audio.play();
        isPlaying = true;
        playPauseBtn.textContent = "Pausar"; // Texto cuando está reproduciendo
      }
    };

    // Al hacer clic en el botón de +10% Velocidad
    increaseSpeedBtn.onclick = () => {
      if (audio.playbackRate < 3.0) {
        audio.playbackRate += 0.1;
        updateSpeedDisplay();
      }
    };

    // Al hacer clic en el botón de -10% Velocidad
    decreaseSpeedBtn.onclick = () => {
      if (audio.playbackRate > 0.5) {
        audio.playbackRate -= 0.1;
        updateSpeedDisplay();
      }
    };

    // Al cargar la página
    window.onload = () => {
      updateSpeedDisplay();
    };
  </script>
</body>
</html>
		</div>
				</div>
				</div>
				<div class="elementor-element elementor-element-f7c57f6 elementor-widget elementor-widget-html" data-id="f7c57f6" data-element_type="widget" data-widget_type="html.default">
				<div class="elementor-widget-container">
			<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Modal con Pantalla Completa</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #f0f0f0;
            margin: 0;
            padding: 20px;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
        }

        .pdf-container {
            position: relative;
            width: 100%;
            height: 800px; /* Ajusta la altura según tus necesidades */
            border: 1px solid #ccc;
            border-radius: 8px;
            overflow: hidden;
        }

        .pdf-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .fullscreen-btn {
            position: absolute;
            top: 3px;
            right: 10px;
            padding: 8px 12px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }

        .fullscreen-btn:hover {
            background-color: #45a049;
        }

        @media (max-width: 768px) {
            .pdf-container {
                height: 500px; /* Altura reducida para tablets */
            }
        }

        @media (max-width: 480px) {
            .pdf-container {
                height: 300px; /* Altura reducida para móviles */
            }
        }
    </style>
</head>
<body>
    <div class="container">

        <div class="pdf-container" id="pdf-container">
            <iframe 
                src="https://www.ampenlinea.com/wp-content/uploads/2025/02/Bateria-3-SE.pdf"  
                allowfullscreen>
            </iframe>
            <button class="fullscreen-btn" id="fullscreen-btn">Pantalla Completa</button>
        </div>
    </div>

    <script>
        // Obtener referencias a los elementos
        const fullscreenBtn = document.getElementById('fullscreen-btn');
        const pdfContainer = document.getElementById('pdf-container');

        // Función para activar pantalla completa
        function toggleFullscreen() {
            if (
                document.fullscreenElement ||
                document.webkitFullscreenElement ||
                document.msFullscreenElement
            ) {
                // Salir de pantalla completa
                if (document.exitFullscreen) {
                    document.exitFullscreen();
                } else if (document.webkitExitFullscreen) { /* Safari */
                    document.webkitExitFullscreen();
                } else if (document.msExitFullscreen) { /* IE11 */
                    document.msExitFullscreen();
                }
            } else {
                // Entrar en pantalla completa
                if (pdfContainer.requestFullscreen) {
                    pdfContainer.requestFullscreen();
                } else if (pdfContainer.webkitRequestFullscreen) { /* Safari */
                    pdfContainer.webkitRequestFullscreen();
                } else if (pdfContainer.msRequestFullscreen) { /* IE11 */
                    pdfContainer.msRequestFullscreen();
                }
            }
        }

        // Evento de clic en el botón para alternar pantalla completa
        fullscreenBtn.addEventListener('click', toggleFullscreen);

        // Evento para actualizar el texto del botón según el estado de pantalla completa
        function updateFullscreenButton() {
            if (
                document.fullscreenElement === pdfContainer ||
                document.webkitFullscreenElement === pdfContainer ||
                document.msFullscreenElement === pdfContainer
            ) {
                fullscreenBtn.textContent = 'Salir de Pantalla Completa';
            } else {
                fullscreenBtn.textContent = 'Pantalla Completa';
            }
        }

        // Escuchar cambios en el estado de pantalla completa
        document.addEventListener('fullscreenchange', updateFullscreenButton);
        document.addEventListener('webkitfullscreenchange', updateFullscreenButton); // Safari
        document.addEventListener('MSFullscreenChange', updateFullscreenButton); // IE11
    </script>
</body>
</html>
		</div>
				</div>
				<div class="elementor-element elementor-element-533d0e6 elementor-widget elementor-widget-template" data-id="533d0e6" data-element_type="widget" data-widget_type="template.default">
				<div class="elementor-widget-container">
					<div class="elementor-template">
					</div>
				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
