diff options
-rw-r--r-- | video.php | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -6,7 +6,7 @@ require_once "processor.php"; <head> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> - <title>Extractor de Vídeos de Youtube | <?php echo $videoTitle; ?></title> + <title>Extractor de Vídeos de Youtube | <?php print_r($videoTitle); ?></title> <link href="css/normalize.css" rel="stylesheet"/> <link href="css/salida.min.css" rel="stylesheet"/> <!--LibreVideoJS--> @@ -18,22 +18,22 @@ require_once "processor.php"; <div class="contenedor"> <header> <a class="drm-free" rel="noopener noreferrer" href="https://www.defectivebydesign.org/drm-free" target="_blank"></a> - <h2><?php echo $videoTitle; ?></h2> + <h2><?php print_r($videoTitle); ?></h2> </header> <hr> <section class="libreyt"> <div class="contenedor"> <div class="row"> <div class="imageyt"> - <img alt="<?php echo $videoTitle; ?>" src="<?php echo $videoThumbURL; ?>"/> + <img alt="<?php print_r($videoTitle); ?>" src="<?php print_r($videoThumbURL); ?>"/> </div> <div class="features"> <h6 class="yt-titulo">Canal</h6> - <h6><?php echo $videoAuthor; ?></h6> + <h6><?php print_r($videoAuthor); ?></h6> <h6 class="yt-titulo">Duración</h6> - <h6><?php echo $videoDuration; ?></h6> + <h6><?php print_r($videoDuration); ?></h6> <h6 class="yt-titulo">Vistas</h6> - <h6><?php echo $videoViews; ?></h6> + <h6><?php print_r($videoViews); ?></h6> </div> </div> </div> @@ -43,19 +43,19 @@ require_once "processor.php"; <?php foreach ($cStreams as $stream): ?> <?php $stream = json_decode(json_encode($stream)); ?> <div class="row"> - <div class="col"><?php echo $stream->type; ?></div> - <div class="col"><?php echo $stream->quality; ?></div> - <div class="col"><?php echo $stream->size; ?></div> + <div class="col"><?php print_r($stream->type); ?></div> + <div class="col"><?php print_r($stream->quality); ?></div> + <div class="col"><?php print_r($stream->size); ?></div> <div class="col"> - <a class="boton-descarga" href="<?php echo $stream->url; ?>" download>Descarga</a> + <a class="boton-descarga" href="<?php print_r($stream->url); ?>" download>Descarga</a> </div> </div> <?php endforeach ?> <div class="librevideojs"> - <video id="example" controls poster="<?php echo $librethumb; ?>" data-setup="{}"> + <video id="example" controls poster="<?php print_r($librethumb); ?>" data-setup="{}"> <?php foreach ($videosStream as $stream): ?> <?php $stream = json_decode(json_encode($stream)) ;?> - <source data-res="<?php echo $stream->quality; ?>" src="<?php echo $stream->url; ?>" type="<?php echo $stream->libretype; ?>"/> + <source data-res="<?php print_r($stream->quality); ?>" src="<?php print_r($stream->url); ?>" type="<?php print_r($stream->libretype); ?>"/> <?php endforeach ?> <p class="librevjs-no-js">Este navegador no soporta HTML 5.</p> </video> @@ -90,7 +90,7 @@ require_once "processor.php"; <!--LibreVideoJS--> </div> </section> - <p><?php echo $baselink; ?></p> + <p><?php print_r($baselink); ?></p> <footer> <p class="copyleft">Esta web es Software Libre y esta disponible en <a class="enlace" rel="noopener noreferrer" href="https://notabug.org/heckyel/ytlibre" target="_blank">Notabug</a> bajo la Licencia <a class="enlace" rel="license noopener noreferrer" href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank"> |