You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of video torrents are actually folders with one or more videos. While I assume you wouldn't want to change the default behaviour of double clicking it might be interesting to add a play button. This could then open the file in the user's default video player.
A lot of video torrents are actually folders with one or more videos. While I assume you wouldn't want to change the default behaviour of double clicking it might be interesting to add a play button. This could then open the file in the user's default video player.
Webtorrent desktop for example seems to open the first "Playable" file:
https://github.com/webtorrent/webtorrent-desktop/blob/master/src/renderer/controllers/playback-controller.js#L46
To determine whether something is playable it compares the extensions with this list:
https://github.com/webtorrent/webtorrent-desktop/blob/109accdb541c5220b1e3cd856b161d4ba59def1b/src/renderer/lib/media-extensions.js
The text was updated successfully, but these errors were encountered: