@pitaj thank you,it works well.
F
Latest posts made by feilongfl
-
RE: cannot load webtorrent in my plugin.
-
cannot load webtorrent in my plugin.
i want write a plugin about watch webtorrent video in nodebb.but when i use these in my chrome browser,it does not work.
$.getScript("https://cdn.jsdelivr.net/webtorrent/latest/webtorrent.min.js"); var wtclient = new WebTorrent();
output show me that
Uncaught ReferenceError: WebTorrent is not defined at <anonymous>:1:16
the whole code is in my github.
how can i fix this problem?software version
nodebb: 1.6.1
chrome: 62.0.3202.62
windows 10
node 6.8.0