Google Drive to JWPlayer (แจกฟรี)

เริ่มโดย steelseries, 23 พฤษภาคม 2019, 14:19:26

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

steelseries

เพื่อนๆเอาไปปรับใช้กันดูครับไปเจอมาเป็น API ทำงานตรงๆกับ googleapis เลย ผมลองแล้วใช้ได้แน่นอน
<!DOCTYPE html>
<html lang="en">
  <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>GoogleAPI</title>

    <!-- Styles -->

    <!-- Favicons -->
<link rel="shortcut icon" href="https://images.vexels.com/media/users/3/137425/isolated/preview/f2ea1ded4d037633f687ee389a571086-logotipo-de-youtube-icono-by-vexels.png" type="image/x-icon" />

<!-- Core Funcs -->
  <script src='[url]https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'[/url]></script>
  <script src="https://ssl.p.jwpcdn.com/player/v/8.6.2/jwplayer.js"></script>
<!-- END Core Funcs -->
<style>
* {
    margin: 0px;
}
html {
    overflow: hidden;
}
</style>    
  </head>

<body>
<div id="encrpyt">

</div>
<!-- Core Streaming -->
<script>
jwplayer.key = "cLGMn8T20tGvW 0eXPhq4NNmLB57TrscPjd1IyJF84o=";

var player = jwplayer('encrpyt');

player.setup({
  sources: [ {
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "240p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "360p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "720p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "1080p",
type: "video/mp4"
}
  ],
  autostart: false,     
  playbackRateControls: [0.25, 0.5, 0.75, 1, 1.25, 1.5, 2],   
  abouttext: "Steelseries",
    aboutlink: "",         

  width: $(window).width(),
      height: $(window).height()          
});

$(document).ready(function() {
$(window).resize(function(){
jwplayer().resize($(window).width(),$(window).height())
})
})

</script>
<!-- END Core Streaming -->
</body>
</html>


วิธีเรียกใช้แบบง่ายๆ เพิ่ม ?id=ไอดีไฟล์ ไว้ข้างหลัง URL
ตัวอย่างลิงค์ที่ได้ example.com/gdrive/?id=1WvwqKvYvRwAe6SFTN4amFshayhOidX88
ลองเอาไปเขียนเป็นระบบที่เขาทำๆกันดู

binnazdd

ชอบกิน [direct=http://www.xn--q3c4b3a8a9b.com]เนื้อ[/direct] - ชอบเที่ยวทะเล [direct=http://www.xn--o3ce9aitb5ak3a8i.com]หัวหิน[/direct]

tarrekup

แนะนำเครื่องมือ :

|||| โฮสต์ไทย ถูก & ดี   [direct=https://tinyurl.com/y29aoowv] คลิก [/direct]
|||| จดโดเมนที่ namecheap   [direct=https://bit.ly/3nuYxDM] คลิก[/direct]



iammee

Gdrive จับลิมิต view บินทั้ง user หรือเปล่า
ห้ามพนัน 18+

iammee

ดึงตรงๆ แบบนี้ก็เกินลิมิตอยู่ดี
ห้ามพนัน 18+

Twenty-One

# บริการโฮสติ้งขั้นเทพ 24/7 เปิดให้บริการ web hosting มาแล้ว 14 ปี ลูกค้ากว่า 40,000 ราย ให้ความไว้วางใจ
# [direct=https://www.hostneverdie.com]hosting[/direct] คุณภาพสูง ดูแลระบบโดย system engineer ประสบการณ์สูง
# [direct=https://www.hostneverdie.com]host[/direct] เร็ง แรง ไม่มีล่ม ติดตั้ง cms ฟรี
# [direct=https://www.hostneverdie.com/vps-server]vps[/direct] ราคาถูก 50GB 999 บาท

[direct=https://www.hostneverdie.com][/direct]

sys2528

ขอบคุณมากครับ เก็บก่อนครับ  :wanwan017:
[direct=https://www.billing.in.th/aff.php?aff=51]แนะนำ Hosting คุณภาพ Support เยี่ยมครับ[/direct]

virussman

งดรับงาน

Oii

ดึงแบบนี้มัน error บ่อยมากเลยครับ ผมลองแล้ว  :P
 *Link Removed*

minigoood

อ้างถึงจาก: Oii ใน 24 พฤษภาคม 2019, 09:28:38
ดึงแบบนี้มัน error บ่อยมากเลยครับ ผมลองแล้ว  :P
eror เพราะเป็นการดึงไฟล์ตรงๆ เว็ปเล็กๆ ใช้งานได้ แต่ถ้าเว็ปเริ่มมีคนเข้ามาดูเยอะๆ รับลองว่าบัญชีนั่นเกินลิมิต สุดท้ายก็ Error ทั้งบัญชี เพราะมันเป็นการดึงไฟล์มาดูตรงๆ ถ้าเมื่อก่อนตอน Gdrive ไม่กำจัดแบนวิช ใช้ได้สบายๆ แต่ตอนนี้จบ
█ 9EKRDP โหลดบิต อัพโฮสฝากไฟล์นอก
[direct=https://goo.gl/qgz71C]█ Google Drive[/direct]
[direct=https://ekcdn.me]█ ตัวเล่นหนัง[/direct] GDRIVE
[direct=https://goo.gl/tAFpfb]█ 9EKRDP ENCODING PLAN[/direct] เริ่มต้น 950 บาท
█ ผู้ให้บริการ Windows VPS, RDP Services ,Torrents and Files Upload !!

thaigopher

รับปรึกษา เรื่องสตรีมมิ่ง
รับปรึกษาเรื่องถ่ายทอดสด
ให้เช่าเซิฟเวอร์ถ่ายทอดสด
บริการ WowzaStreaming แบบรายเดือนพร้อมเซิฟเวอร์
สามารถขอทดลองใช้ได้
ติดต่อ id line:gopherth
โทร:0954984333

yukkzu

ลิมิตง่ายมากครับคนดูเยอะ
เดียวนี้ยังอัพในที่ฝากรูปgoogleได้อยู่ไหม

minigoood

อ้างถึงจาก: yukkzu ใน 24 พฤษภาคม 2019, 14:07:14
ลิมิตง่ายมากครับคนดูเยอะ
เดียวนี้ยังอัพในที่ฝากรูปgoogleได้อยู่ไหม
ได้ครับ แต่ไฟล์ไปกว่าไดฟ์
█ 9EKRDP โหลดบิต อัพโฮสฝากไฟล์นอก
[direct=https://goo.gl/qgz71C]█ Google Drive[/direct]
[direct=https://ekcdn.me]█ ตัวเล่นหนัง[/direct] GDRIVE
[direct=https://goo.gl/tAFpfb]█ 9EKRDP ENCODING PLAN[/direct] เริ่มต้น 950 บาท
█ ผู้ให้บริการ Windows VPS, RDP Services ,Torrents and Files Upload !!


tenzamak

ขอบคุณครับ เดี๋ยวเอาไปลองใช้กับบทความความ เวบเล็กๆดู

airproacc

ใช้ยังไงน้อ ทำไม่เป็น อิอิ :-X

thanoo001

อ้างถึงจาก: steelseries ใน 23 พฤษภาคม 2019, 14:19:26
เพื่อนๆเอาไปปรับใช้กันดูครับไปเจอมาเป็น API ทำงานตรงๆกับ googleapis เลย ผมลองแล้วใช้ได้แน่นอน
<!DOCTYPE html>
<html lang="en">
  <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>GoogleAPI</title>

    <!-- Styles -->

    <!-- Favicons -->
<link rel="shortcut icon" href="https://images.vexels.com/media/users/3/137425/isolated/preview/f2ea1ded4d037633f687ee389a571086-logotipo-de-youtube-icono-by-vexels.png" type="image/x-icon" />

<!-- Core Funcs -->
  <script src='[url]https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'[/url]></script>
  <script src="https://ssl.p.jwpcdn.com/player/v/8.6.2/jwplayer.js"></script>
<!-- END Core Funcs -->
<style>
* {
    margin: 0px;
}
html {
    overflow: hidden;
}
</style>    
  </head>

<body>
<div id="encrpyt">

</div>
<!-- Core Streaming -->
<script>
jwplayer.key = "cLGMn8T20tGvW 0eXPhq4NNmLB57TrscPjd1IyJF84o=";

var player = jwplayer('encrpyt');

player.setup({
  sources: [ {
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "240p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "360p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "720p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "1080p",
type: "video/mp4"
}
  ],
  autostart: false,     
  playbackRateControls: [0.25, 0.5, 0.75, 1, 1.25, 1.5, 2],   
  abouttext: "Steelseries",
    aboutlink: "",         

  width: $(window).width(),
      height: $(window).height()          
});

$(document).ready(function() {
$(window).resize(function(){
jwplayer().resize($(window).width(),$(window).height())
})
})

</script>
<!-- END Core Streaming -->
</body>
</html>


วิธีเรียกใช้แบบง่ายๆ เพิ่ม ?id=ไอดีไฟล์ ไว้ข้างหลัง URL
ตัวอย่างลิงค์ที่ได้ example.com/gdrive/?id=1WvwqKvYvRwAe6SFTN4amFshayhOidX88
ลองเอาไปเขียนเป็นระบบที่เขาทำๆกันดู
การใช้ Parameter alt=media ใน Google Drive API V3 มันดึงเป็นไฟล์ดาวน์โหลดนิครับ แล้วระบบจะปรับความระเอียดยังไง เมื่อไฟล์ดาวน์โหลดมีไฟล์เดียว
[direct=https://animereturn.com]อนิเมะ[/direct]


Pagesrirung

รับซื้อ paypal 24ชม.

m037com

ดูหนังออนไลน์ >>> HTTPS://037hddmovie.com
ดูหนัง037HD >>> HTTPS://037-hd.com