Giter Site home page Giter Site logo

embed's Introduction

Embedding Torrents Time

Torrents Time is a one of a kind fully customizable bittorrent client, advanced video player and downloads manager which is installed directly on the browser. Embeding Torrents Time in your website enables you to offer a unique, amazing and one of a kind experience to your websites' visitors.

Torrents Time was designed to fully support and enhance the needs of users on video streaming, downloads and torrents websites, while taking into consideration the needs and wants of those site owners to maximize the value they can gain from embedding Torrents Time on their site.

##Quick start
Embedding Torrents Time is as simple as adding an iframe to your website

<iframe src="https://embed.torrents-time.com/#source=TorrentURL&publisher_id=1"></iframe>

Or just even by linking to it directly using an <a tag

<a href="https://embed.torrents-time.com/#source=TorrentURL&publisher_id=1">WATCH</a>

####Javascript API For those who don't want to include any 3rd party elements on their site or just seek for some more advanced embedding options, we have created this super simple Javascript API which takes about 5 seconds to implement in your site:

<script src="torrentstime.min.js"></script>
<script>
torrentsTime.init({publisher_id:1});
</script>
<div class="torrentsTime" data-setup='{"source": "torrentURL"}'></div>

Settings

You can enhance Torrents Time by simply providing one or more of these optional parameters:

  • source - Required, This is the URL or the magnet link of the torrent file, or any other static file on your server you wish to stream/download using Torrents Time.

  • publisher_id - Optional, This is your unique Publisher ID, if you haven't registered yet as a Torrents Time publisher, check out the reasons why you should register.

  • title - Optional, Set the video/downloaded file title. If not specified, the title will get auto detected from file name or torrent info.

  • autoPlay - Optional, Default: false. providing true as the value will auto stream or download the file.

  • imdbid Optional, IMDB ID, If specified, Torrents Time will automatically search for poster images and subtitles across the web.

  • poster Optional, The poster parameter sets the image(s) that displays before the video begins playing. As soon as the user clicks play the poster will go away.

####Example For setting the parameters in the iframe/link URL:

https://embed.torrents-time.com/#source=TorrentURL&title=VideoName&imdb=tt1254207&autoPlay=1&publisher_id=1

For using with the implemented Javascript:

<script src="torrentstime.min.js"></script>
<script>
torrentsTime.init({publisher_id:1});
</script>
<div class="torrentsTime" data-setup='{"source": "torrentURL", "title": "VideoName", "imdbid": "tt1254207", "id": "myPlayer"}'></div>

You can set the parameters within the torrentsTime.init function or within the data-setup attribute of the containment <div element.
The difference is that the parameters within the torrentsTime.init function will apply globably for all the Torrents Time instances embeded in the page and the parameters within the data-setup attribute will apply only for that specific instance.


##Documentation For more detailed info, please check out our short Getting Started Guide to learn everything you need to know about our Javascript API.
And if you're ready to dive in and discover more advanced options, the documentation is the first place to go for more information.

embed's People

Contributors

doublerainbow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

embed's Issues

64-bit support required

Hello folks!

Right now i figured out why Torrents Time wasn't working for me. It seems that it isn't compatible with 64-bit browsers. I had to install Chrome 32-bits to work.

Regards,
Sam

The plugin doesn't work

OS X 10.11.3 + Chrome. I have downloaded and installed .pkg file but when I click on the video in "Try It Now!" section the .pkg file download again. http://popcorntime-online.io/ wants me to download and install plugin, but I have already done it. There are no stream links in piratebay tracker. And there are no torrent time plugin listed neither in chrome nor in firefox.

change audio channel

do not speak English , I'm using google translator

good evening. Anyone know how to change the audio channel ?
for dual audio files?

ENHANCEMENT - Streaming FLAC

For the first three years of Bittorrent the only site listed from the official FAQ was http://bt.etree.org

This site serves primarily Free Lossless Audio Codec (FLAC) torrents and some SHORTEN (pre-cursor to FLAC) torrents. I would like to create a web app using Torrents Time to stream music. To do this the browser plugin will need to support streaming FLAC.

Thanks for your consideration.

Does this still works

I tried embed, js and on your site using some magnet links and torrent links like magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&dn=Sintel&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fsintel.torrent&so= but it doesn't worked

Doesn't seem to work on Chromium

After setup finishes, nothing changes. Torrent sites stay the same. Should I be seeing a new extension/plugin? Because there isn't one either.

Problem showing poster

When I define a poster to be shown it is displayed properly until the play button is pressed.

When the play button is pressed the poster disappears and I get a gray screen with the 'Downloading' message.

I have noticed that in the debugger I get the following error :
'Uncaught TypeError: Cannot read property 'poster' of undefined

I have also tried to set my own poster programmatically after getting the error but the poster just wont show.

webTorrent

Just saw this on TPB. Awesome!

What would be more awesome is if you used webTorrent so ppl can share from p2p using WebRTC without installing any program

They are starting to implement WebRTC to desktop clients (webtorrent#369) to make it a Hybrid by supporting both WebRTC & Regular.

Plugin not Work. Error! 1063

I installed the plugin, and when I opened the browser (Chrome and Firefox), had no difference, the video is not played. Neither appeared no new extension installed.
So I tried to start the plugin manually from the command line, and had the following error: "Error! 1063"
See the screenshot... http://imgur.com/3WxS90k
Whats the problem?

Initialize blocking

Hi,

When i try to watch online torrent, the process was blocked at the initialize command ...

It's just a personnal test for my personnal use. I just want to stream torrent i can found in the web.

EDIT: I re-install the plugin and now works fine ...

new website

I made a new ''weebly'' website with my own domain name ,for the purpose of becoming an affiliate .
Domain name is www.torrents.uno
Thats how far i got because now i am totally confused what to do next andhave my tracking details inserted into my website .
Any help is very much appreciated.

Have an issue with a JavaScript line

window.onload = function(){
    setTimeout(function(){
        if(torrentsTime.embed.setup.poster && !torrentsTime.embed.wrapper.firstChild.style.background){
            torrentsTime.embed.wrapper.firstChild.style.background='#000 url('+torrentsTime.embed.setup.poster[0]+') no-repeat center center';
            torrentsTime.embed.wrapper.firstChild.style.backgroundSize='cover';
        }

        setTimeout(function(){
            if(window.top==window.self && torrentsTime.setup.browser=='firefox' && torrentsTime.setup.isInstalled && torrentsTime.embed.plugin && !torrentsTime.embed.plugin.isInitialized){
                var arrowimg = (new Image);
                arrowimg.src='arrow.png';
                document.body.appendChild(arrowing);
                arrowimg.setAttribute('style', 'position:fixed;right:40px;top:10px;z-index:99999;animation:fadeInOut 1s linear infinite');
                arrowimg.setAttribute('id','_tt_arrowimg');

                torrentsTime.functions.initialized = function(){
                    var arrowimg = document.getElementById('_tt_arrowimg');
                    arrowimg.parentNode.removeChild(arrowing);
                }
            }
        },1000)

    },1300)
}

if(torrentsTime.embed.setup.poster && !torrentsTime.embed.wrapper.firstChild.style.background){

torrentsTime.embed.setup.poster evaluates to nil somehow.

The player only works. 2 time out of 3

hmmm i will belive that´s a javascript thing..

Error one
The player stops and just say DOWNLOADING.. nothing more
WHY ?

Error Two
The subtitles rutine fucks up with danish it not showing ÅÆØ
Will guess that it is the source

The Red lock ? what does it ?

I doing this like that

Subtitles

Has anyone managed to do subtitles work, if yes please tell me :(

FFMpeg / LibAV license issues

As far as I can tell from comments / news reports - the plugin is at least based on some ffmpeg/libav tools, so aren't you legally obliged to open-source (parts of) the plugin by the LGPL license of these projects?

Subtitles not working

Anyone has this problem?

Not even English subs appear to me, it just says "No Subtitles" when I try to use an imdbid value

Subtitles not working?

Everything works flawless except the "user-own" subtitles, they dont show up in the player...

anyone else having this problem?

torrentsTime.init({
publisher_id:{id},
subtitles: "blalbal.srt",
source: "blabla.torrent",
title: "blabla",
(...)

NativeClient: NaCl module crashed

Hi,

we are trying to make this work on private tracker with passkey and get Naci module crashed in js console.

All of our torrents are Private=1 and all of them also have passkey to identify customer.

Can you please let us know, how to make this work with private torrents?

Thanks

Some questions

Hi there a great product you hafe there, but i do hafe some questions

1 First time user need to install something, what is it ?
Is the program running in the back and take CPU time in windows and are Torrent time safe to use?

2 There are a red lock on the left corner on the screen , what is it ?

  1. Some times Torrent time dont starts, is just standing there and says downloading.. bud nothing happens when i reload the page is works fine
    why is it doing this... ?

Best regards
Tommy - Denmark

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.