Browse files

Explain how to add a sample video locally

  • Loading branch information...
pquentin committed Oct 28, 2014
1 parent b613340 commit 8c199198bf198cdc76b570825d72a76c969837fe
Showing with 34 additions and 0 deletions.
  1. +34 −0
@@ -368,6 +368,40 @@ data so that you're now a superuser.
Adding a sample video
Once you're a superuser, the simplest way to add sample content is to
use existing media from Air Mozilla. We're first going to create a
template, then create content based on this template.
Let's create the Video template:
* Go to the management page at `http://localhost:8000/manage`
* Click on `Video templates` in the left menu, and initiate a
template with `New template`
* Fill the `Name` with ""
* Fill the `Content` with
<iframe frameborder="0" allowfullscreen webkitallowfullscreen mozallowfullscreen msallowfullscreen width="640" height="360" name="vidly-frame" src="{{ tag }}&amp;new=1&amp;autoplay={% if autoplay %}true{% else %}false{% endif %}&amp;hd=yes"></iframe>
* Save changes
We're now going to initiate an event with this template:
* Click on `Initiate event` in the left menu of the management
* Choose the `` template
* Replace the Template environment with `tag=7u9u1i`
* Change status to `Scheduled`
* Choose a title, a description, a start time, a channel (Main) and a
placeholder image
* Save and submit
You should now see your video in the Event manager
(`http://localhost:8000/manage/events/`) and on the main page

0 comments on commit 8c19919

Please sign in to comment.