Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upoptions for don't autoplay #878
Comments
This comment has been minimized.
This comment has been minimized.
|
Hello, I am afraid there is no such option in appendTo function but you can still create the element on your own and use renderTo function. Will this be ok for you? |
This comment has been minimized.
This comment has been minimized.
|
even though I create own element without autoplay, and use renderTo, it will autoplay. |
This comment has been minimized.
This comment has been minimized.
|
I just added an optional If provided,
|
This comment has been minimized.
This comment has been minimized.
|
Use it like this: file.renderTo(elem, { autoplay: false }, callback)Released as WebTorrent 0.96.0. |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
now webtorrent enforce autoplay on render, could give a options for disable that?