Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAnthony Ettinger <anthony@chovy.com>2017-03-09 09:29:55 +0300
committerAnthony Ettinger <anthony@chovy.com>2017-03-09 09:29:55 +0300
commit6506944ef31640a3a021f8a4b948eea933866b34 (patch)
tree1567864cbd02f990d1a3f97e7465f1435853249b /docs
parentceea9a8b7c2622017ff389055ab21a2994c8a1e3 (diff)
renderto example
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.md b/docs/api.md
index 772a9af..2b9144b 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -573,7 +573,7 @@ via a sandboxed `<iframe>` tag.
## `file.renderTo(elem, [opts], [function callback (err, elem) {}])` *(browser only)*
-Like `file.appendTo` but renders directly into given element (or CSS selector).
+Like `file.appendTo` but renders directly into given element (or CSS selector). Should be given path to a `<video>` element: `file.renderTo('video#player')`
## `file.getBlob(function callback (err, blob) {})` *(browser only)*