Embed Video on a Web Page

Though you can put a video file in the static webfor people to download, it is not the best way to deliver video content.  A streaming video server allows web visitors to begin watching instantly, pause, skip ahead and (in some cases) speed up or slow down playback.  It is also much more likely to work for people using a variety of devices and platforms.

In addition to YouTube, vimeoand other similar cloud services, Brown CS authors can also use our in-house video streaming service.

Embedding Video in Static HTML Pages

Each streaming video service provides, for each video stored there, a cut-and-paste snippet of html that you can add to the html source of your web page.  Wherever you put that code on your page, visitors will see your video, and they will be able to watch it without leaving the page.

Embedding Video in our CMS

CMS authors can embed YouTube videos or locally hosted videos using plugins ("YouTubeVideo" and "CS Video") that are available in the CMS text editing interface.

For YouTube videos, you will need to know the unique hash that YouTube assigns to videos (it is part of the url).

For CS videos, you can use the video id (also part of its url), or you can search for the video you want to use.

CS Video

Videos can be uploaded, managed and streamed from the CS Department's video web application (no link here for now - append "video" to the home page url).

A video file is uploaded to a channel.  Channels can be created by any CS user.  You must be logged in to create channels or upload video files.

If your video file is on the CS department filesystem, you can just provide the path instead of uploading the file.  This is particularly helpful for very large video files.


When you upload a video file, it is transcodedinto several formats at several quality levels.  Though this is done on the grid, it can take from several minutes to half a day, depending on the length and format of the original video file.  The status of the transcoding is displayed in the web interface.  You can also request email notification when the transcoding is finished.


Both channels and individual videos can be restricted with owner-based permissions.  Channels and videos always have an owner, and they can optionally have a group.  By selecting "hidden" in the web interface, only owners and group members will be able to access the video from the web.


Note, however, that the video streaming server has no permission system, so any video you upload could be discovered and viewed.  Hidden means hidden, not protected.