# Seedess Guide

## P2P Streaming

Your existing videos can benefit greatly from transparent P2P streaming. Transparent P2P streaming allows viewers of your video to optimally share pieces of the video with each other while they watch - increasing the streaming capacity of your server and increasing video download speed.&#x20;

### Demo

To understand P2P streaming view the demo at <https://seedess.com/demo.html>

### Install Guide

At the moment we are working on releasing an open source transparent P2P video streaming library as well as a hosted solution.

For updates please register at [https://seedess.com/ ](https://seedess.com/)

For now you try out the BitTorrent streaming API below.&#x20;

## Streaming directly from BitTorrent

To stream from BitTorrent in the browser all you need is a `torrentId`.&#x20;

A `torrentId` can be an `infoHash`, `magnet` or `.torrent` file.&#x20;

### Quick magnet example

To stream a magnet, add the `magnet` to the seedess player URL, `https://play.seedess.com/`

#### Example magnet

The following magnet is for an `mp4` video.

```
magnet:?xt=urn:btih:ab3f1350ebe4563a710545d0e33e09a7b7943ecf
```

#### Player URL &#x20;

The player URL loads the video player. You can generate a video player for any magnet by appending the magnet to the end of `https://play.seedess.com/`

Copy and paste the below player example to your browser URL.&#x20;

{% code title="Video Player URL" %}

```
https://play.seedess.com/magnet:?xt=urn:btih:ab3f1350ebe4563a710545d0e33e09a7b7943ecf
```

{% endcode %}

#### Player HTML Embed

The HTML embed can be embedded directly into you HTML page.&#x20;

{% code title="Video Player HTML Embed" %}

```markup
<iframe 
src="https://play.seedess.com/magnet:?xt=urn:btih:ab3f1350ebe4563a710545d0e33e09a7b7943ecf">
</iframe>
```

{% endcode %}

For more examples view the [BitTorrent Streaming](https://docs.seedess.com/bittorrent-streaming) section.
