 |
[PHP]
อยากซ่อน Hide URL บน JW Player ไม่ให้เห็น url ตรงๆสามารถทำได้หรือไม่ครับ |
|
 |
|
|
 |
 |
|
คือผมใช้ JW Player เพื่อแสดงผลสื่อการสอน ทีนี้ติดปัญหาว่า มันเห็น url ตรงๆเลย มีวิธีไหนให้ view source แล้วไม่เห็นแบบนี้ไหมครับ ขอบคุณครับ
Code (PHP)
01. <div align= "center" >
02. <div id= 'player1' ></div>
03. <script type= 'text/javascript' >
04. jwplayer( 'player1' ).setup({
06. title: '001' ,
07. width: '100%' ,
08. height: '100%' ,
09. aspectratio: '16:9' ,
10. fallback: 'false'
11. });
12. </script>
13. </div>
Tag : PHP, WebService
|
ประวัติการแก้ไข 2013-11-05 09:08:08
|
 |
 |
 |
 |
Date :
2013-11-05 01:20:27 |
By :
ParotZ |
View :
10251 |
Reply :
30 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ลองใช้พวก Hotlink ก็ได้ครับ พอช่วยได้ในระดับหนึ่ง 
|
 |
 |
 |
 |
Date :
2013-11-05 10:25:00 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอบคุณครับ แต่ปัญหาคือใช้การป้องกัน hotlink ไม่ได้ เพราะ source จากสถาบันต่างประเทศ เอามาเผยแพร่โดยมีเงื่อนไขสัญญาให้เผยแพร่ได้ในวงจำกัด ทีนี้มันเห็น url ที่มาได้ง่ายๆเลยก็เลยกังวัลมากครับ มันน่าจะมี java script ที่ใช้แก้ไขปัญหานี้ได้ไหมครับ
|
ประวัติการแก้ไข 2013-11-05 10:57:48
 |
 |
 |
 |
Date :
2013-11-05 10:57:09 |
By :
ParotZ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
Quote:http://www.server.com/disk1/001.mp4
ลองใช้แบบนี้ครับ
Code
http://www.server.com/view.php?id=001
view.php
01. <?php
02.
03. $path = 'disk1/001.mp4' ;
04.
05. $size = filesize ( $path );
06.
07. $fm =@ fopen ( $path , 'rb' );
08. if (! $fm ) {
09.
10. header ( "HTTP/1.0 404 Not Found" );
11. die ();
12. }
13.
14. $begin =0;
15. $end = $size ;
16.
17. if (isset( $_SERVER [ 'HTTP_RANGE' ])) {
18. if (preg_match( '/bytes=\h*(\d+)-(\d*)[\D.*]?/i' , $_SERVER [ 'HTTP_RANGE' ], $matches )) {
19. $begin = intval ( $matches [0]);
20. if (! empty ( $matches [1])) {
21. $end = intval ( $matches [1]);
22. }
23. }
24. }
25.
26. if ( $begin >0|| $end < $size )
27. header( 'HTTP/1.0 206 Partial Content' );
28. else
29. header( 'HTTP/1.0 200 OK' );
30.
31. header( "Content-Type: video/mp4" );
32. header( 'Accept-Ranges: bytes' );
33. header( 'Content-Length:' .( $end - $begin ));
34. header( "Content-Disposition: inline;" );
35. header( "Content-Range: bytes $begin-$end/$size" );
36. header( "Content-Transfer-Encoding: binary\n" );
37. header( 'Connection: close' );
38.
39. $cur = $begin ;
40. fseek ( $fm , $begin ,0);
41.
42. while (! feof ( $fm )&& $cur < $end &&(connection_status()==0))
43. { print fread ( $fm ,min(1024*16, $end - $cur ));
44. $cur +=1024*16;
45. usleep(1000);
46. }
47. die ();
|
 |
 |
 |
 |
Date :
2013-11-05 11:02:26 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอบคุณมากครับ ขอนำไปศึกษาแล้วจะกลับมาแจ้งผลครับ
|
 |
 |
 |
 |
Date :
2013-11-05 11:20:39 |
By :
ParotZ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
From #NO3
Code (PHP)
01. <script src= "jquery-1.8.2.min.js" type= "text/javascript" ></script>
02. <script src= "jwplayer.js" type= "text/javascript" ></script>
03. <script src= "jwplayer.html5.js" type= "text/javascript" ></script>
04. <script type= "text/javascript" >
05. $(document).ready( function () {
06. var myPlayer = null;
07. jwplayer( 'player1' ).setup({
08. flashplayer: "/jwplayer.flash.swf" ,
09. height: 300,
10. width: 400,
11. autostart: true,
12. controlbar: 'over' ,
13. file: 'View.php' ,
14. type: 'mp4' ,
15. image: 'Images/6996.gif' ,
16. events: {
17. onReady: function (event) {
18. myPlayer = jwplayer( 'player1' );
19. }
20. }
21. });
22. });
View.php
Code (PHP)
1. <?php
3. header( 'Content-Type: video/mp4' );
4. header( 'Content-Disposition: attachment;filename=file.mp4' );
5. header( 'Content-Length: ' . filesize ( $filename ));
6. readfile( $filename );
7. ?>
|
 |
 |
 |
 |
Date :
2013-11-05 17:15:19 |
By :
love9713 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ถึงจะอย่างไร ก็ต้องบอกว่า คุณ love9713 สุดยอดมาก ๆ (จากใจจริงๆ) 
|
 |
 |
 |
 |
Date :
2013-11-05 20:49:41 |
By :
apisitp |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอบคุณ คุณ love9713 มากๆครับ เดี๋ยวจะลองงมๆดูครับ ทั้งของคุณวินและคุณ love9713 แต่ยังมึนๆอยู่เลย :)
|
 |
 |
 |
 |
Date :
2013-11-05 20:57:07 |
By :
ParotZ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
จัดไปครับ
|
 |
 |
 |
 |
Date :
2013-11-05 21:00:48 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ลองทำตาม code ที่คุณ love9713 ช่วยแนะนำมา ขึ้นแบบนี้ครับผม

|
 |
 |
 |
 |
Date :
2013-11-05 21:31:06 |
By :
ParotZ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ใช้พวก Htaccess ก็ได้ครับ
|
 |
 |
 |
 |
Date :
2013-11-05 21:42:47 |
By :
itpcc |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ตามนั้นครับ จะใช้วิธีไหน/อย่างไร แต่คำตอบมีอยู่ทางเดียว "มันต้องได้"
Code (VB.NET)
03. <head runat= "server" >
04. <title></title>
05. <script src= "../jquery-1.8.2.min.js" type= "text/javascript" ></script>
06. <script src= "jwplayer.js" type= "text/javascript" ></script>
07. <script src= "jwplayer.html5.js" type= "text/javascript" ></script>
08. <script type= "text/javascript" >
09. var myPlayer = null;
10. $(document).ready(function () {
11. jwplayer(
12. flashplayer: "/jwplayer.flash.swf" ,
13. height: 200,
14. width: 375,
15. autostart: true,
16. controlbar:
17. file:
18. type:
19. image:
20. events: {
21. onReady: function (event) {
22. myPlayer = jwplayer(
23. }
24. }
25. });
26. });
27. function Singing() {
28. myPlayer.load({
29. }
30. </script>
31. </head>
32. <body>
33. <form id= "form1" runat= "server" >
34. <asp:ImageButton ID= "ImageButton1" OnClientClick= "Singing();" runat= "server" />
35. <div id= "player1" >
36. </div>
37. </form>
38. </body>
39. </html>
jwStreamer.ashx
Code (VB.NET)
01.
02.
03.
04. Imports System.Web
05. Imports System.Web.Services
06. Imports System.IO
07. Imports System.Net
08.
09. Public Class jwStreamer
10. Implements System.Web.IHttpHandler
11.
12. Sub ProcessRequest( ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
13.
14.
15. Dim wc As New WebClient()
17. Dim buffer As Byte () = wc.DownloadData(filePath)
18. context.Response.Clear()
19. context.Response.AppendHeader( "Content-Type" , "video/mp4" )
20. context.Response.AddHeader( "Content-Disposition" , "attachment;filename=file.mp4" )
21. context.Response.AppendHeader( "Content-Length" , buffer.Length.ToString())
22. context.Response.BinaryWrite(buffer)
23. End Sub
24.
25. ReadOnly Property IsReusable() As Boolean Implements IHttpHandler.IsReusable
26. Get
27. Return False
28. End Get
29. End Property
30.
31. End Class
[x] จริงฯแล้ว #NO 3 ถูกต้องแล้วครับ (มีอยู่หนึ่งร้อย ค่อยฯทะยอยส่งมา ทีละหนึ่ง จนครบร้อย [Streaming])
|
 |
 |
 |
 |
Date :
2013-11-05 23:21:12 |
By :
love9713 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ลองดูแบบนี้ก็ได้ครับน่าจะง่าย ผมทำให้ลูกค้าอยู่เจ้าหนึ่งซ่อน URL เหมือนกัน
Code (JavaScript)
01. function getjwplayer(id){
02. $.post( "view.php" ,{id:id}, function (data){
03. var data=$.trim(data).split( "," );
04. jwplayer( "showVideo1" ).setup({
05. file: data[0],
06. image: data[1],
07. autostart: true ,
08. width: 760
09. });
10. });
11. }
view.php
Code (PHP)
1. $id = $_POST [ 'id' ];
2. $row =mysql_query(mysql_fetch_assoc(.............));
3. echo $row [ 'file' ]. ',' . $row [ 'image' ];
เรียกใ้ช้ getjwplayer(004);
|
 |
 |
 |
 |
Date :
2013-11-05 23:32:29 |
By :
somparn |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ตอบความคิดเห็นที่ : 13 เขียนโดย : ParotZ เมื่อวันที่ 2013-11-05 22:57:35
รายละเอียดของการตอบ ::
1. ผมลืมบอกไปว่าผมใช้ jwPlayer Version 6.6.3896 (www.jwPlayer.com)
ผมทดสอบบน IE10, FireFox >=17.x ก็ใช้งานได้ดีระดับหนึ่งครับ
2. ถ้ามันเล่นไฟล์นี้ได้ "http://www.longtailvideo.com/jw/upload/bunny.mp4"
ให้คุณตรวจสอบ Encoder MP4 ไฟล์ของคุณว่า jwPlayer รองรับไหม? (.MP4 มันมีหลายรูปแบบ)
3. **** เพิ่มเติม คือ ถ้าเรียกไฟล์ view.php ขึ้นมาตรงๆเนี่ย มันก็จะเริ่ม download ไฟล์ มาเป็น file.mp4 ที่มีขนาดเท่าต้นฉบับ แต่เปิดใช้งานไม่ได้ครับผม **** อันนี้ถูกต้องแล้วครับ
4. ผมมั่นใจว่าอยู่ที่บรรทัด 13. และ Version jwPlayer ที่คุณใช้อยู่ครับ
ตอบความคิดเห็นที่ : 15 เขียนโดย : somparn เมื่อวันที่ 2013-11-05 23:32:29
รายละเอียดของการตอบ ::
ทำให้ผมนึกถึง AutoComplete บน Clients Browser. (เช็คตอนกดปุ่มใด [keypress])
ไม่จำเป็นต้องไปดึงข้อมูลจาก RDBMS ทุกฯครั้ง
Code (JavaScript)
01. function parseCEOTabBasicData() {
02.
03. CEOTabs = JSON.parse(document.getElementById( '<%= hfData.ClientID %>' ).value);
04. }
05.
06. function GetBasicDataDescription(tabType, txt1, tabSubcode, lbl2) {
07. parseCEOTabBasicData();
08. var key = tabType + txt1.value + tabSubcode;
09. var obj = document.getElementById(lbl2);
10. var ceo = CEOTabs[key];
11. if ( typeof (ceo) != 'undefined' ) {
12.
13.
14.
15.
16.
17.
18.
19. obj.value = ceo.Description;
20.
21. }
22. else {
23.
24.
25. obj.value = '' ;
26. }
27. }
|
 |
 |
 |
 |
Date :
2013-11-06 06:07:32 |
By :
love9713 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอบคุณคุณ love9713 มากเลยครับ อุตส่าห์ ตามตอบให้ตลอดเลย
ผมทดลองแก้ที่บรรทัด 20 (file: 'view.php',) ไม่ว่าจะแก้ยังไง เหมือน path มันผิดตลอดเลยครับ
Code ที่ใช้
Code (PHP)
03. <head>
04. <title>Test JW Player</title>
05. <script src= "jquery-1.8.2.min.js" type= "text/javascript" ></script>
06. <script src= "jwplayer.js" type= "text/javascript" ></script>
07. <script src= "jwplayer.html5.js" type= "text/javascript" ></script>
08. </head>
09. <body>
10. <div id= "player1" >
11. <script type= "text/javascript" >
12. $(document).ready( function () {
13. var myPlayer = null;
14. jwplayer( 'player1' ).setup({
15. flashplayer: "jwplayer.flash.swf" ,
16. height: 300,
17. width: 400,
18. autostart: true,
19. controlbar: 'over' ,
20. file: 'view.php' ,
21. type: 'mp4' ,
22. events: {
23. onReady: function (event) {
24. myPlayer = jwplayer( 'player1' );
25. }
26. }
27. });
28. });
29. </script>
30. </div>
31. <div id= "player2" >
32. <script type= "text/javascript" >
33. $(document).ready( function () {
34. var myPlayer = null;
35. jwplayer( 'player2' ).setup({
36. flashplayer: "jwplayer.flash.swf" ,
37. height: 300,
38. width: 400,
39. autostart: true,
40. controlbar: 'over' ,
42. type: 'mp4' ,
43. events: {
44. onReady: function (event) {
45. myPlayer = jwplayer( 'player2' );
46. }
47. }
48. });
49. });
50. </script>
51. </div>
52. </body>
53. </html>
ผลลัพท์ที่ได้

ไฟล์ทั้งหมดที่ผมใช้ทดสอบครับ >> http://www.upload-thai.com/download.php?id=d766f2b77bc50985287d5a865991bedd <<
ผมใช้ IE 10, firefox 25, appserv-win32-2.5.10 ในการทดสอบครับ
ขอบคุณครับ 
|
ประวัติการแก้ไข 2013-11-06 12:01:18 2013-11-06 12:03:18
 |
 |
 |
 |
Date :
2013-11-06 11:58:24 |
By :
ParotZ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
จัดไปครับ
|
 |
 |
 |
 |
Date :
2013-11-06 13:06:51 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอกลับมาบอกปัญหานิดนึงครับผม
ผมลองใช้ readfile กับไฟล์ .mp4 ขนาดใหญ่ๆแล้วพบปัญหาโหลดช้ามากๆครับ และมีข้อสงสัยว่ามันจะมาหนักทางฝั่ง host ที่เราเช่าอยู่ด้วยไหมครับ
เลยลองใช้ header แทน ก็ใช้งานได้ดีเลยครับ โหลดเร็วด้วย
ขอบคุณทุกๆท่านอีกครั้งครับผม :)
|
 |
 |
 |
 |
Date :
2013-11-06 15:14:05 |
By :
ParotZ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
header จะโยนหน้าที่ให้ client ครับ
readfile ตัว server จะทำงานหนักมาก เพราะจะต้องอ่านไฟล์มาจัดเก็บไว้ใน memory ก่อน
|
 |
 |
 |
 |
Date :
2013-11-06 15:50:09 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ตอนนี้ทำงานได้เรียบร้อยดีแล้ว ขออนุญาตแปะ code นะครับ เผื่อใครต้องการ โดยเฉพาะมือใหม่อย่างผม ^^
ถึงแม้ว่ายังสามารถดูลิงก์ได้ไม่ยากนัก แต่อย่างน้อยสุดก็ได้ป้องกันไว้ระดับนึง สำหรับผมก็โอเคแล้วครับ :)
สุดท้ายขอขอบคุณพี่ๆเพื่อนๆทุกท่านอีกครั้งครับ
index.php (ตัวอย่าง)
Code (PHP)
01. <?
02. $code = "รหัสอ้างอิงในฐานข้อมูล" ;
03. $name = "ชื่อวีดีโอ" ;
04. $epsode = "ตอนที่" ;
05. <div align= "center" >
06. <div id= 'player' ></div>
07. <script src= "jwplayer/jwplayer.js" ></script>
08. <script type= 'text/javascript' >
09. jwplayer( 'player' ).setup({
10. file: 'vdo.php?id=<? echo $code.' $ '.$episode; ?>' ,
11. type: 'mp4' ,
12. title: '<? $shortname = iconv_substr($name, 0, 35,"UTF-8"); echo $shortname.' .. '.' (EP- '.$episode.' ) '; ?>' ,
13. width: '100%' ,
14. height: '100%' ,
15. aspectratio: '16:9' ,
16. autostart: true,
17. fallback: 'false' ,
18. logo: {
19. file: "logo.png" ,
21. });
22. </script>
23. </div>
24. ?>
vdo.php (ตัวอย่าง)
Code (PHP)
01. <?
02. ## Require ##
03. require "inc/inc.common.php" ;
04.
05.
06.
07.
08. ## Connect to Database ##
09. $con = mysql_connect( "$hostname" , "$adminname" , "$adminpassword" );
10. if (! $con ) { echo "Not connect" ; }
11. mysql_query( "use $database" );
12. mysql_query( "SET character_set_results=utf8" );
13. mysql_query( "SET character_set_client=utf8" );
14. mysql_query( "SET character_set_connection=utf8" );
15.
16. ## Get Id ##
17. $id = explode ( "$" , $_GET [ 'id' ]);
18. $code = $id [0];
19. $episode = $id [1];
20.
21. ## Search Video ##
22. $query = "select * from onlineaddress WHERE onlinekey LIKE '$code' AND episode LIKE '$episode'" ;
23. $data = mysql_query( $query );
24. while ( $info = mysql_fetch_object( $data )){
25. $address = $info ->address;
26. }
27. $vdo = $address ; if ( file_exists ( $vdo )) { ob_clean(); flush (); };
28. header( 'Content-Type: video/mp4' );
29. header( 'Content-Disposition: attachment;filename=file.mp4' );
30. header( "Location: $vdo" );
31. ?>
|
ประวัติการแก้ไข 2013-11-06 18:13:25
 |
 |
 |
 |
Date :
2013-11-06 17:55:34 |
By :
ParotZ |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ผมไม่เคยใช้นะพวกสตรีมเนี่ย แต่วิธีง่ายๆ ก็ช่วยป้องกันได้บางส่วน โดยการตรวจเฮดเดอร์ ว่ามาจากไซต์เราหรือเปล่าค่อยส่งข้อมูลให้
|
 |
 |
 |
 |
Date :
2013-11-06 19:23:43 |
By :
pjgunner.com |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
กำ จาก no 22 มันก็แค่รีไดเรคไม่ใช่เหรอคับ
|
 |
 |
 |
 |
Date :
2013-11-07 08:43:16 |
By :
pjgunner.com |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ทำได้แล้วครับ แต่เสบา ไฟล์ ใหญ่ๆ ตะเพล ไม่ได้ ขึ้น
Error playing media:
MediaError
พอมีวิธีแก้ไหมครับ
Code (PHP)
01. echo '<!-- START OF THE PLAYER EMBEDDING TO COPY -PASTE -->
02. <div id= "mediaplayer'." 11111 ".'" style= "margin:0px auto; text-align:center; width:auto; display:blog;" class = "vdoplayer" >JW Player goes here</div>
03. <script type= "text/javascript" src= "jwplayer/jwplayer.js" ></script>
04. <script type= "text/javascript" >jwplayer.key= "OOD7GkWbyNXOL6MbstF2Sa/YrQPgtNUPqxm5NA==" ;</script>
05. <script type= "text/javascript" >
06. jwplayer( "mediaplayer'." 11111 ".'" ).setup({
07. flashplayer: "jwplayer/jwplayer.flash.swf" ,
08. file: "a.php" ,
09. width: "'.$width.'" ,
10. height: "'.$height.'" ,
11. stretching: "uniform" ,
12. type: "mp4" ,
13. skin: "jwplayer/jwplayer-skins-free/six.xml" ,
14. abouttext: "coursecreekLearningweb" ,
15. aboutlink: "coursecreek" ,
16. });
17. </script>
18. <!-- END OF THE PLAYER EMBEDDING -->'
|
ประวัติการแก้ไข 2013-12-20 17:33:25
 |
 |
 |
 |
Date :
2013-12-20 10:51:21 |
By :
gunbell |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอแบบละเอียดยิบเลยได้ปล่าวครับผมไม่เข้าใจอะ T_T
|
 |
 |
 |
 |
Date :
2014-12-14 17:40:43 |
By :
Euro106 |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
มีใครมีโค๊ดแบบใช้ได้เลยไหมครับ อัพไฟล์ให้หน่อยได้ไหมผมเขียน DB ไม่เป็น
|
 |
 |
 |
 |
Date :
2015-06-30 12:27:24 |
By :
ADAHUM |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
a.php (ตัวอย่าง)
Code (PHP)
01. <?php
02. if ( ( $_SERVER [ 'REQUEST_METHOD' ] === "GET" )
03. && ( isset( $_GET [ 'show_the_video' ]) )
04. && ( $_GET [ 'show_the_video' ] == "ABC123" ) ) {
05. $ctype = 'video/mp4' ;
06. header( 'Content-Type: ' . $ctype );
07. $file_path_name = "disk1/002.mp4" ;
08. $handle = fopen ( $file_path_name , "rb" );
09. $contents = fread ( $handle , filesize ( $file_path_name ));
10. fclose( $handle );
11. echo $contents ;
12. } else {
13. echo "<h1>I'm Sorry</h1>" ;
14. }
15. ?>
16. <!DOCTYPE HTML>
17. <!DOCTYPE HTML>
18. <html lang= "en" >
19. <head>
20. <title>Videos Above Root Test</title>
21. <meta charset= "utf-8" />
22. <meta name= "viewport" content= "width=device-width,initial-scale=1" />
23. <style type= "text/css" >
24. </style>
25. <script type= "application/javascript" >
26.
27. </script>
28. </head>
29. <body>
30. <h1>Videos Above Root Test</h1>
31. <video controls>
32. <source src= "a.php?show_the_video=ABC123" type= "video/mp4" >
33. </video>
34. <script type= "application/javascript" >
35.
36. </script>
37. </body>
38. </html>
เอามาจาก : https://www.sitepoint.com/community/t/hide-video-url/225822/7
|
ประวัติการแก้ไข 2018-07-01 13:57:04 2018-07-01 13:58:22
 |
 |
 |
 |
Date :
2018-07-01 13:55:32 |
By :
sujinda |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|