demo-station-plugin

Video inside a prototype

Introduction

Unfortunately Figma doesn’t provide API to plugins to get a video content, so Demo Stations uses some hack to play video.

Option A - copy a video inside downloaded prototype

  1. Name you video node as “something.mp4”

  2. Run Demo Station and download a ZIP archive.

  3. Expand an archive

  4. Copy your real «something.mp4» file into images folder

  5. Open index.html and see your video inside a prototype.

Option B - place a local video outsite a downloaded prototype

  1. Name you video node as “../video.mp4”

  2. Run Demo Station and download a ZIP archive.

  3. Expand an archive

  4. Copy your real «something.mp4» file into an upper folder, so you will not need to re-copy it after the every prototype downloading.

  5. Open index.html and see your video inside a prototype.

Option C - use video placed somewthere in internet

  1. Name you video node as “https://someserver.com/video.mp4”

  2. Run Demo Station and download a ZIP archive OR (upload it to cloud)

  3. Expand an archive

  4. Open index.html and see your video inside a prototype.