Upload do arquivo API

O upload de arquivos diretamente do seu servidor agora é possível e extremamente fácil.

Download filemack Classe PHP Obter Chaves de 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
        )

)
						

Leitor de áudio API

Você pode usar esse javascript para incorporar nossos reprodutor de áudio e transmitir o seu próprio MP3. Isso também permite que você ajustar os jogadores cores.



<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>
						

Automática do URL de Shrinker

Rentabilizar qualquer arquivo de links a partir de hosts nós, atualmente, suporte, incorporando este simples ficheiro de javascript.

Obter Chaves de 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 | Política De Privacidade | Features | Ganhar $$$ | Leitor De Áudio | API | Contacte-Nos