peerflix-server
peerflix-server copied to clipboard
<Video> page instead of direct file link?
With Chrome dropping support for NPAPI, the VLC plugin and many others aren't working anymore.
This means that trying to open a file that is currently being downloaded results only in downloading the video file which cannot even be opened with any program until said download is complete, kind of defeating the purpose of torrent streaming.
Would it be possible to embed a html5
If the video is in MP4 (or other HTML5-compatible format like WebM or Theora), the browser will open the built-in video player - you don't need a plugin for those. If it's in any other format/container, it will not be supported by the <video>
tag, so embedding it into a page makes no sense until we figure out how to efficiently transcode it. You could provide your ideas and feedback in #19.
Only 7 years late lol but I added this in #207
Also I don't know how it was in 2015, but as of today that's not true @asapach:
- common video extensions like .mp4 will show a video player if opened in a new tab
- less common formats like .mkv will not, and will just download like a regular file
- the
<video>
tag however supports .mkv files just fine (kinda, it depends on the browser, but chromium based works wonderfully)