pixelnest / presskit.html

Re-implementation of presskit() as a static site generator
http://pixelnest.io/2017/03/presskit-html/
MIT License
306 stars 51 forks source link

Stream local video files using HTML5 #11

Closed simonbq closed 5 years ago

simonbq commented 5 years ago

Currently it seems like there's a YouTube, Vimeo and download option available when creating a trailer.

    <trailer>
      <name>Hands Up! played by visitors at Sweden Game Conference 2018</name>
      <youtube>fO6F1-FYCvc</youtube>
    </trailer>

I suggest implementing a HTML5 video provider that can stream your local files, like so:

    <trailer>
      <name>Locally hosted video</name>
      <file>videos/file.mp4</file>
    </trailer>
simonbq commented 5 years ago

Alternatively, mimic the original presskit and make use of a trailers directory.