If you have a website you can embed pixeldrain files in your own webpages here.

The IFrame embed gives you a frame with a slightly more minimalistic file viewer in it. The embedded file viewer has a fullscreen button and the toolbar is collapsed by default. If you do not have a pixeldrain Pro account the frame will also have advertisements in it.

The hotlink embed option only works for single files uploaded with a Pro account. You can use this to directly embed a video player, audio player, photo element or a download button in your site. Make sure you have bandwidth sharing enabled on your sharing settings page or the embed will not work.

{#if file.id} {/if}
{#if tab === "iframe"}

Appearance

You can change the pixeldrain theme for your embedded file. Try the available themes here.

set_style(e.detail)}> {:else}

Direct link

Hotlinking is only supported on Pro accounts. If this file was not uploaded with a Pro account the download will be blocked.

You can directly download the file from this link without using the file viewer:
{domain_url()}{file.get_href}

{/if}

Code

Put this code in your website to embed the file.


Example