Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<Video> page instead of direct file link? #52

Open
Numbers11 opened this issue Sep 10, 2015 · 2 comments
Open

<Video> page instead of direct file link? #52

Numbers11 opened this issue Sep 10, 2015 · 2 comments

Comments

@Numbers11
Copy 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

@asapach
Copy link
Owner

asapach commented Sep 10, 2015

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.

@Willy-JL
Copy link

Willy-JL commented Feb 27, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants