aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-05-31 11:16:27 -0500
committerJesús <heckyel@hyperbola.info>2019-05-31 11:16:27 -0500
commitce5c6fad2468ec7b7cd935d91f64c789c6226749 (patch)
tree75b03b72a1c695b8750c5feb2fe59a9d975cd321
parent1f27e4921efae836bce7f375be8d229ec5841755 (diff)
downloadytlibre-ce5c6fad2468ec7b7cd935d91f64c789c6226749.tar.lz
ytlibre-ce5c6fad2468ec7b7cd935d91f64c789c6226749.tar.xz
ytlibre-ce5c6fad2468ec7b7cd935d91f64c789c6226749.zip
Change to Freedom URL
-rw-r--r--index.php4
-rw-r--r--templates/video.tpl4
-rw-r--r--tools/processor.php5
3 files changed, 8 insertions, 5 deletions
diff --git a/index.php b/index.php
index 95f5817..a87f2c7 100644
--- a/index.php
+++ b/index.php
@@ -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>
- &lt;iframe width='560' height='315' src='{$local_url}embed?link={$baselink}' frameborder='0' scrolling='no'&gt;&lt;/iframe&gt;
+ &lt;iframe width='560' height='315' src='{$local_url}embed?link={$url_freedom}' frameborder='0' scrolling='no'&gt;&lt;/iframe&gt;
</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}";