diff options
author | Jesús <heckyel@hyperbola.info> | 2019-05-31 11:16:27 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-05-31 11:16:27 -0500 |
commit | ce5c6fad2468ec7b7cd935d91f64c789c6226749 (patch) | |
tree | 75b03b72a1c695b8750c5feb2fe59a9d975cd321 | |
parent | 1f27e4921efae836bce7f375be8d229ec5841755 (diff) | |
download | ytlibre-ce5c6fad2468ec7b7cd935d91f64c789c6226749.tar.lz ytlibre-ce5c6fad2468ec7b7cd935d91f64c789c6226749.tar.xz ytlibre-ce5c6fad2468ec7b7cd935d91f64c789c6226749.zip |
Change to Freedom URL
-rw-r--r-- | index.php | 4 | ||||
-rw-r--r-- | templates/video.tpl | 4 | ||||
-rw-r--r-- | tools/processor.php | 5 |
3 files changed, 8 insertions, 5 deletions
@@ -49,9 +49,9 @@ if (empty($_GET['link'])){ $video_decode->assign("breakquality", $breakquality); $video_decode->assign("formatdrm", $formatdrm); - // Base link + // URL's $video_decode->assign("local_url", $local_url); - $video_decode->assign("baselink", $baselink); + $video_decode->assign("url_freedom", $url_freedom); /* ---- ---- CSS ---- ---- */ $video_decode->assign('styles', array('frond' => 'templates/css/frond.min.css', diff --git a/templates/video.tpl b/templates/video.tpl index 679b8f8..fef3160 100644 --- a/templates/video.tpl +++ b/templates/video.tpl @@ -142,9 +142,9 @@ <!--EndPlyr--> </div> </section> - <code>{$baselink}</code> + <code>{$url_freedom}</code> <code> - <iframe width='560' height='315' src='{$local_url}embed?link={$baselink}' frameborder='0' scrolling='no'></iframe> + <iframe width='560' height='315' src='{$local_url}embed?link={$url_freedom}' frameborder='0' scrolling='no'></iframe> </code> <footer> <p class="copyleft">Esta web es Software Libre y esta disponible en <a class="enlace" diff --git a/tools/processor.php b/tools/processor.php index 5eb03e1..7f2d69a 100644 --- a/tools/processor.php +++ b/tools/processor.php @@ -118,7 +118,7 @@ if ( $url_standar === FALSE ) { } ///// End Beaking DRM!!! -/* ---- ---- Generated baselink and embed ---- ---- */ +/* ---- ---- Generated URL and embed ---- ---- */ if ( isset( $_SERVER["HTTPS"] ) && $_SERVER["HTTPS"] == "on" ) { $pro = 'https'; } else { @@ -129,3 +129,6 @@ $subject = $pro."://".$_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME']; // Local URL $local_url = preg_replace( '/index.php/', '', $subject ); + +/* ---- ---- Change to Freedom URL ---- ---- */ +$url_freedom = "https://invidio.us/watch?v={$video_id}"; |