diff options
author | Jesús <heckyel@hyperbola.info> | 2018-11-06 12:03:42 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-11-06 12:03:42 -0500 |
commit | 90a40d1a07a9c6401ad4beaadfd1df91e7c82318 (patch) | |
tree | e2aab4ac14089acb6d1cdc6b897f3b6d249c7287 /templates | |
parent | 86343c146d2d9e9ff540422530b278004a9acaef (diff) | |
download | ytlibre-90a40d1a07a9c6401ad4beaadfd1df91e7c82318.tar.lz ytlibre-90a40d1a07a9c6401ad4beaadfd1df91e7c82318.tar.xz ytlibre-90a40d1a07a9c6401ad4beaadfd1df91e7c82318.zip |
improve indent
Diffstat (limited to 'templates')
-rw-r--r-- | templates/embed.tpl | 14 | ||||
-rw-r--r-- | templates/video.tpl | 48 |
2 files changed, 31 insertions, 31 deletions
diff --git a/templates/embed.tpl b/templates/embed.tpl index 7ef3ac4..4fda29d 100644 --- a/templates/embed.tpl +++ b/templates/embed.tpl @@ -11,18 +11,18 @@ <body> <video class="player-ply" controls poster="{$librethumb}" data-setup="{}"> {foreach $videosStream as $stream} - {$stream = json_decode(json_encode($stream))} - <source data-res="{$stream->quality}" src="{$stream->url}" type="{$stream->libretype}"/> + {$stream = json_decode(json_encode($stream))} + <source data-res="{$stream->quality}" src="{$stream->url}" type="{$stream->libretype}"/> {/foreach} <p>Lo siento, este navegador no soporta vídeo en HTML5. Por favor, cambia o actualiza tu navegador web</p> </video> <!--Plyr--> <script> - // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later - document.addEventListener('DOMContentLoaded', () => { - const players = Array.from(document.querySelectorAll('.player-ply')).map(player => new Plyr(player)); - }); - // @license-end + // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later + document.addEventListener('DOMContentLoaded', () => { + const players = Array.from(document.querySelectorAll('.player-ply')).map(player => new Plyr(player)); + }); + // @license-end </script> <!--EndPlyr--> <script src="{$javascript.plyr}"></script> diff --git a/templates/video.tpl b/templates/video.tpl index b4eb8c5..aa0635b 100644 --- a/templates/video.tpl +++ b/templates/video.tpl @@ -10,15 +10,15 @@ <!--Plyr--> <link href="{$styles.plyr}" rel="stylesheet"/> <style> - code, kbd, samp { - font-family: monospace, monospace; - font-size: 0.8em; - background: black; - text-align: center; - padding: 1em; - border: solid 1px #00b7f1; - margin-bottom: 1em; - } + code, kbd, samp { + font-family: monospace, monospace; + font-size: 0.8em; + background: black; + text-align: center; + padding: 1em; + border: solid 1px #00b7f1; + margin-bottom: 1em; + } </style> </head> <body> @@ -48,32 +48,32 @@ <div class="contenedor"> <h4>Formatos de vídeo</h4> {foreach $cStreams as $stream} - {$stream = json_decode(json_encode($stream))} - <div class="row"> - <div class="col">{$stream->type}</div> - <div class="col">{$stream->quality}</div> - <div class="col">{$stream->size}</div> - <div class="col"> - <a class="boton-descarga" href="{$stream->url}" download>Descarga</a> + {$stream = json_decode(json_encode($stream))} + <div class="row"> + <div class="col">{$stream->type}</div> + <div class="col">{$stream->quality}</div> + <div class="col">{$stream->size}</div> + <div class="col"> + <a class="boton-descarga" href="{$stream->url}" download>Descarga</a> + </div> </div> - </div> {/foreach} <div class="librevideojs"> <video class="player-ply" controls poster="{$librethumb}" data-setup="{}"> {foreach $videosStream as $stream} - {$stream = json_decode(json_encode($stream))} - <source data-res="{$stream->quality}" src="{$stream->url}" type="{$stream->libretype}"/> + {$stream = json_decode(json_encode($stream))} + <source data-res="{$stream->quality}" src="{$stream->url}" type="{$stream->libretype}"/> {/foreach} <p>Lo siento, este navegador no soporta vídeo en HTML5. Por favor, cambia o actualiza tu navegador web</p> </video> </div> <!--Plyr--> <script> - // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later - document.addEventListener('DOMContentLoaded', () => { - const players = Array.from(document.querySelectorAll('.player-ply')).map(player => new Plyr(player)); - }); - // @license-end + // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later + document.addEventListener('DOMContentLoaded', () => { + const players = Array.from(document.querySelectorAll('.player-ply')).map(player => new Plyr(player)); + }); + // @license-end </script> <!--EndPlyr--> </div> |