Easy To Install!
How To Install
Html Encryptor!
Try Our Encryptor
Orders Now!
View Details
Demo Plugin!
View Demo Plugin


API Getlink Video Source

Sample PHP Code:
 
<?php
$link = 'https://drive.google.com/file/d/0B7colOaikH4LZmZpSm5ZZ0NNMlE/view';
$api = 'https://www.uplayer.stream/api.php?url='.$link;
$sources = curl($api);
function curl($url)
{
    $ch = @curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    $head[] = "Connection: keep-alive";
    $head[] = "Keep-Alive: 300";
    $head[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
    $head[] = "Accept-Language: en-us,en;q=0.5";
    curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36');
    curl_setopt($ch, CURLOPT_ENCODING, 'gzip');
    curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
    curl_setopt($ch, CURLOPT_TIMEOUT, 60);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
    $page = curl_exec($ch);
    curl_close($ch);
    return $page;
}
?>
<title>Player</title>
<style>
    body,
    html {
        background-color: #000;
        /*padding: 0px;*/
        margin: 0px;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    #myElement {
        height: 100% !important;
    }
</style>
<div id="myElement"></div>
<script type="text/javascript" src="https://content.jwplatform.com/libraries/SPrnWq3s.js"></script>
<script type="text/javascript">
    var subs = [];
    subs.push({
        "file": '/',
        "label": 'en',
        "kind": 'captions',
        "default": 1
    }, {
        "file": '/',
        "label": 'id',
        "kind": 'captions',
        "default": 0
    });
    console.log(subs);

    var playerInstance = jwplayer("myElement");
    playerInstance.setup({
        id: 'myElement',
        sources: <?php echo $sources; ?>,
        controls: true,
        displaytitle: true,
        width: "100%",
        height: "100%",
        aspectratio: "16:9",
        startparam: "start",
        tracks: subs,
        fullscreen: "true",
        autostart: false,
        abouttext: "uplayer stream",
        aboutlink: "https://www.uplayer.stream/",
        captions: {
            color: '#fefefe',
            fontSize: 15,
            backgroundOpacity: 0,
            edgeStyle: "dropshadow"
        },
       image: "",
       "plugins": {
                    "/iOSJwPlayer/fix-on-iOS7.js":{}
                }
      });
</script>