ASK] Cara Protect dan Membuat Embed di JWPlayer?

Discussion in 'Desain Web dan Programming' started by damblue, 21 Mar 2016.

Thread Status:
Not open for further replies.
  1. damblue

    damblue Poster 1.0

    Messages:
    57
    Likes Received:
    9
    Trophy Points:
    8
    Pagi rekan-rekan,
    salam sejahtera untuk kita semua hingga sampai detik ini kita masih diberi kesehatan...amiiin

    oke langsung aja ya sob, saya mau nanya cara membuat embed seperti ini menggunakan jwplayer, membuat source nya di PHP "http://domain.com/video/videopertama.php"
    Contoh Embednya:
    Code:
    <iframe src="http://domain.com/video/videopertama.php" width="100%" height="420" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen"></iframe>
    
    nah cara membuat file PHP sperti ini "http://domain.com/video/videopertama.php"
    gimana caranya ya sob
    saya pusing opreknya ga nemu2 hasilnya.

    didalam file PHP "http://domain.com/video/videopertama.php" sourcenya kayak gini Tuan:
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <div id="akf" style="position:relative;">
    < script src='/jwplayer/jwplayer7.js'/>
    < script>jwplayer.key='JQRZgGNhtEbFmuLfnE7Z5Uegogwj9TRKcC+qCw==';< /script></div>
    </head>
    <div id="no1">
    < script type="text/javascript">
    jwplayer("no1").setup({ width: '100%', height: "400", sources:[{file:"/video/video-sd.php", type:"video/mp4",label:"480p"},{file:"/video/video-hd.php",type:"video/mp4",label:"720p"}], image:"/img/videopertama.jpg", title: "videopertama",
            abouttext: 'domain.com',
            aboutlink: 'http://domain.com',
            captions: {
            color: '#FF00FF',
            fontSize: 18,
            backgroundOpacity: 0
            }
              });
         < /script ></div>
    </html>
    
    Sekian, Semoga ada yang bisa bantu jawab pertanyaan saya
    Thanks.
     
    Last edited: 21 Mar 2016
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...