aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús Eduardo <heckyel@hyperbola.info>2017-12-23 20:52:39 -0500
committerJesús Eduardo <heckyel@hyperbola.info>2017-12-23 20:52:39 -0500
commit6a844225b3b63b89926e136cf65c140df01a4677 (patch)
treeb97bfaf3b80eb590ac36566355540d14ab2313f1
parent9e9f4cfaa7d11f7eabad998bfdc8e523d0be425f (diff)
downloadytlibre-6a844225b3b63b89926e136cf65c140df01a4677.tar.lz
ytlibre-6a844225b3b63b89926e136cf65c140df01a4677.tar.xz
ytlibre-6a844225b3b63b89926e136cf65c140df01a4677.zip
cambia a print_r
-rw-r--r--video.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/video.php b/video.php
index b3c1fb2..b08c751 100644
--- a/video.php
+++ b/video.php
@@ -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">