BinaryONe commited on
Commit
4c2a2de
·
1 Parent(s): 4cef26c

Miseleneous Fix - Code Upgrades

Browse files
FileStream/server/template/owner.js CHANGED
@@ -268,7 +268,9 @@ function vlc_player() {
268
  if (/android/i.test(userAgent)) {
269
  // If the platform is Android, create an intent
270
  //const openVlcIntent = `intent://${openstreamlink}#Intent;package=org.videolan.vlc;scheme=vlc;end`;
271
- const openVlcIntent = `intent:${openstreamlink}#Intent;action=android.intent.action.VIEW;type=video/*;package=org.videolan.vlc;end`; // VLC intent for Android
 
 
272
  window.location.href = openVlcIntent;
273
  } else {
274
  // If the platform is Desktop, keep it as it is
@@ -279,7 +281,7 @@ function vlc_player() {
279
  function mx_player() {
280
  const openstreamlink = streamlink;
281
  //const openMx = `intent:${openstreamlink}#Intent;package=com.mxtech.videoplayer.ad;end`;
282
- const openMx = `intent:${openstreamlink}#Intent;action=android.intent.action.VIEW;type=video/*;package=com.mxtech.videoplayer.ad;end`;
283
  window.location.href = openMx;
284
  }
285
 
 
268
  if (/android/i.test(userAgent)) {
269
  // If the platform is Android, create an intent
270
  //const openVlcIntent = `intent://${openstreamlink}#Intent;package=org.videolan.vlc;scheme=vlc;end`;
271
+ //const openVlcIntent = `intent:${openstreamlink}#Intent;action=android.intent.action.VIEW;type=video/*;package=org.videolan.vlc;end`; // VLC intent for Android
272
+
273
+ const openVlcIntent = `intent:${openstreamlink}#Intent;action=android.intent.action.VIEW;package=org.videolan.vlc;end`; // VLC intent for Android
274
  window.location.href = openVlcIntent;
275
  } else {
276
  // If the platform is Desktop, keep it as it is
 
281
  function mx_player() {
282
  const openstreamlink = streamlink;
283
  //const openMx = `intent:${openstreamlink}#Intent;package=com.mxtech.videoplayer.ad;end`;
284
+ const openMx = `intent:${openstreamlink}#Intent;package=com.mxtech.videoplayer.ad;end`;
285
  window.location.href = openMx;
286
  }
287
 
FileStream/server/template/play.html CHANGED
@@ -79,7 +79,7 @@
79
  This is a Telegram Bot to Stream <span>Movies</span> and <span>Series</span> directly on
80
  Telegram. You can also
81
  <span>download</span> them if you want. This bot is developed by <a
82
- href="https://github.com/AviPatilPro"><span style="font-weight: 700;">Avi</span></a>
83
  <br><br>If you like this bot, then don't
84
  forget to share it with your friends and family.
85
  </p>
@@ -88,7 +88,7 @@
88
  <div class="abt-sec" id="channels">
89
  <h1>JOIN OUR <span>TELEGRAM</span> CHANNELS</h1>
90
  <div class="links chnl-link">
91
- <a class="magnet" href="https://t.me/CheapieDeals">
92
  <button>CHEAP DEALS</button>
93
  </a>
94
  <a class="magnet" href="https://t.me/FilmyPixel">
@@ -106,7 +106,7 @@
106
  <div class="abt-sec" id="contact">
107
  <p style="text-align: center;">Report Bugs and Contact us on Telegram Below</p>
108
  <div class="links contact">
109
- <a href="https://t.me/AvishkarPatil">
110
  <button>CONTACT</button>
111
  </a>
112
  </div>
@@ -142,7 +142,7 @@
142
 
143
  <center>
144
  <div class="copyright">
145
- <h5 class="text-center">Copyright © 2024 <a href="https://github.com/AviPatilPro"><span
146
  style="font-weight: 700;">Avishkar Patil</span></a>. All
147
  Rights Reserved.</h5>
148
  </div>
 
79
  This is a Telegram Bot to Stream <span>Movies</span> and <span>Series</span> directly on
80
  Telegram. You can also
81
  <span>download</span> them if you want. This bot is developed by <a
82
+ href=""><span style="font-weight: 700;">Avi</span></a>
83
  <br><br>If you like this bot, then don't
84
  forget to share it with your friends and family.
85
  </p>
 
88
  <div class="abt-sec" id="channels">
89
  <h1>JOIN OUR <span>TELEGRAM</span> CHANNELS</h1>
90
  <div class="links chnl-link">
91
+ <a class="magnet" href="">
92
  <button>CHEAP DEALS</button>
93
  </a>
94
  <a class="magnet" href="https://t.me/FilmyPixel">
 
106
  <div class="abt-sec" id="contact">
107
  <p style="text-align: center;">Report Bugs and Contact us on Telegram Below</p>
108
  <div class="links contact">
109
+ <a href="">
110
  <button>CONTACT</button>
111
  </a>
112
  </div>
 
142
 
143
  <center>
144
  <div class="copyright">
145
+ <h5 class="text-center">Copyright © 2024 <a href=" "><span
146
  style="font-weight: 700;">Avishkar Patil</span></a>. All
147
  Rights Reserved.</h5>
148
  </div>
FileStream/server/template/upload.html CHANGED
@@ -15,26 +15,19 @@
15
  <h1>File Upload</h1>
16
  <form method="POST" action='/api/upload' class="dropzone dz-clickable"
17
  id="dropper" enctype="multipart/form-data">
18
- </form>
19
-
20
-
21
- <script type="application/javascript">
22
- Dropzone.options.dropper = {
23
- paramName: 'file',
24
- chunking: true,
25
- forceChunking: true,
26
- url: '/upload',
27
- maxFilesize: 2049,
28
- chunkSize: 524288,
29
- //parallelChunkUploads: true,
30
- //retryChunks: true,
31
- //retryChunksLimit: 3,
32
-
33
- }
34
- </script>
35
-
36
-
37
-
38
-
39
  </body>
40
  </html>
 
15
  <h1>File Upload</h1>
16
  <form method="POST" action='/api/upload' class="dropzone dz-clickable"
17
  id="dropper" enctype="multipart/form-data">
18
+ </form>
19
+ <script type="application/javascript">
20
+ Dropzone.options.dropper = {
21
+ paramName: 'file',
22
+ chunking: true,
23
+ forceChunking: true,
24
+ url: '/upload',
25
+ maxFilesize: 2049,
26
+ chunkSize: 524288,
27
+ //parallelChunkUploads: true,
28
+ //retryChunks: true,
29
+ //retryChunksLimit: 3,
30
+ }
31
+ </script>
 
 
 
 
 
 
 
32
  </body>
33
  </html>