diff options
author | Jesús Eduardo <heckyel@hyperbola.info> | 2017-09-14 13:13:09 -0500 |
---|---|---|
committer | Jesús Eduardo <heckyel@hyperbola.info> | 2017-09-14 13:13:09 -0500 |
commit | 6c79f0388ffcf141f1c22519cc223841d0eaa729 (patch) | |
tree | 0f6d062265053577be19f08879812e54d705d91c /vinotjs | |
parent | 2d5b3f6ec45cc30290b28554716c3abb5b956086 (diff) | |
download | lidra-theme-6c79f0388ffcf141f1c22519cc223841d0eaa729.tar.lz lidra-theme-6c79f0388ffcf141f1c22519cc223841d0eaa729.tar.xz lidra-theme-6c79f0388ffcf141f1c22519cc223841d0eaa729.zip |
Archivos innecesarios
Diffstat (limited to 'vinotjs')
-rw-r--r-- | vinotjs/processor.php | 3 | ||||
-rw-r--r-- | vinotjs/vinotjs.php | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/vinotjs/processor.php b/vinotjs/processor.php index 555a081..579a1ee 100644 --- a/vinotjs/processor.php +++ b/vinotjs/processor.php @@ -1,9 +1,10 @@ <?php $yturllarge = "www.youtube.com"; +$ytmobile = "m.youtube.com"; $yturlshort = 'youtu.be/'; -if (strpos($url, $yturlshort) !== false || strpos($url, $yturllarge) !== false ){ +if (strpos($url, $yturlshort) !== false || strpos($url, $yturllarge) !== false || strpos($url, $ytmobile) !== false){ $link = $url; $id = substr($link, -11); //Extract the youtube video ID $format = "video/webm"; //the MIME type of the video. e.g. video/webm, etc. diff --git a/vinotjs/vinotjs.php b/vinotjs/vinotjs.php index 1ab4be2..8e1337e 100644 --- a/vinotjs/vinotjs.php +++ b/vinotjs/vinotjs.php @@ -1,6 +1,6 @@ <?php -/* Implementación de LibreVideoJS +/* Implementación de ViNotJS ==============================================================================================*/ include_once 'libre-panel.php'; @@ -162,4 +162,4 @@ function track_vinotjs($atts, $content=null){ return $track; } -add_shortcode('track', 'track_vinotjs');
\ No newline at end of file +add_shortcode('track', 'track_vinotjs'); |