Caricamento di File API

Caricare i file direttamente dal tuo server è ora possibile e in modo estremamente facile.

Scarica filemack Classe PHP Ottenere Chiavi API

include('filemack.class.php');

## start the filemack class
$filemack = new filemack;

## set your api key
$filemack->api_key = 'YOUR_API_KEY';

## set your api secret
$filemack->api_secret = 'YOUR_API_SECRET';

## enable individual hosts
$filemack->clicknupload = 1;
$filemack->dopefile = 1;

## or enable all of them	
$filemack->all();

## change embed color 1
$filemack->embed_color_1 = '375a7f';

## change embed color 2
$filemack->embed_color_2 = 'ffffff';

## upload the file
#$links = $filemack->upload(dirname(__FILE__).'/audio.mp3');

## upload the file with new filename
$links = $filemack->upload(dirname(__FILE__)'/audio.mp3','Ryan Little - Paradise.mp3');

## links variable will be an array
Array
(
    [success] => 1
    [embed] => <iframe src="https://www.filemack.com/embed/YdugtL8sSzV5?c1=375a7f&c2=ffffff" frameborder="0" scrolling="none" width="100%" height="64"></iframe>
    [links] => Array
        (
            [filemack] => https://www.filemack.com/YdugtL8sSzV5
            [clicknupload] => https://www.filemack.com/cu_tQwdzijxCJpmOIqd
            [zippyshare] => https://www.filemack.com/zs_fL6CxCymd7EUe9Qh
            [dopefile] => https://www.filemack.com/df_rPNgoMH7pznIK6rq
            [affix] => https://www.filemack.com/af_c54jPe26dfcEc30a
            [tusfiles] => https://www.filemack.com/tf_RGtEhDrnlTMHsSKO
            [suprafiles] => https://www.filemack.com/sf_vm4g0FuRwXlxbBsP
        )

)
						

Lettore Audio API

È possibile utilizzare javascript per incorporare il nostro lettore audio e streaming la propria MP3. Questo permette anche di regolare i giocatori di colore.



<script>
var fm_audio_title = 'Ryan Little - Paradise.mp3',
    fm_audio_url = 'https://www.filemack.com/embed/stream-demo.mp3',
    fm_embed_color_1 = '375a7f',
    fm_embed_color_2 = 'ffffff';
</script>
<script type="text/javascript" src="//filemack.com/embed/player.js"></script>
						

URL Auto Shrinker

Monetizzare qualsiasi link del file da host attualmente supportiamo incorporando questo semplice file javascript.

Ottenere Chiavi API

<script>
var fm_api = 'YOUR_API_KEY';
</script>
<script type="text/javascript" src="//www.filemack.com/embed/api.js"></script>
						


filemack is not a file host. No files are hosted on filemack servers. We do not claim any of the materials and any copyright infringement complaints should be directed to the respective third party hosting site.

Casa | DMCA | Politica Sulla Privacy | Features | Guadagnare $$$ | Lettore Audio | API | Contattaci