What is the embed code for my web cam?

Our web camera video player is a fully responsive HTML5 video player with a Flash fallback and is compatible with every modern browser and mobile device.   


  • In the examples below you'll replace [STREAMNAME] with the camera name that we provided you when you signed up for service.
  • If your site has trouble taking JavaScript code (Wordpress sites) use the iframe player code in Example 5.
  • If you would like your own logo placed in the player contact us with a link to a logo on your web site and we'll add it to your player. Or we can simply remove the Brownrice logo.  Just ask.
  • If your web camera embed code does not look like the code below then contact us so we can upgrade your player to the latest version.


Example 1 (simple responsive player):

<script id="bri_cam_1" class="bri_embed" src="https://live2.brownrice.com?sn=[STREAMNAME]&em=1"></script> 

Example 2 (responsive player with autostart on):

<script id="bri_cam_1" class="bri_embed" src="https://live2.brownrice.com?sn=[STREAMNAME]&em=1&autostart"></script>

Example 3 (responsive player with video timeout set to 300 seconds - default is 600 seconds):

<script id="bri_cam_1" class="bri_embed" src="https://live2.brownrice.com?sn=[STREAMNAME]&em=1&timeout=300"></script>

Example 4 (non-responsive player with static height and width):

<script id="bri_cam_1" class="bri_embed" src="https://live2.brownrice.com?sn=[STREAMNAME]&em=1&height=640&width=480"></script>

Example 5 (iframe player):

<iframe src="https://live2.brownrice.com/embed/[STREAMNAME]" height="100%" width="100%" border="0" frameborder="0" scrolling="no" allowfullscreen mozallowfullscreen></iframe>

Example 6 (two players on one page):

<script id="bri_cam_1" class="bri_embed" src="https://live2.brownrice.com?sn=[STREAMNAME]&em=1"></script>
<script id="bri_cam_2" class="bri_embed" src="https://live2.brownrice.com?sn=[STREAMNAME2]&em=2"></script> 

Example 7 (show camera-controls):

<script id="bri_cam_1" class="bri_embed" src="https://live2.brownrice.com?sn=[STREAMNAME]&em=1&roomforcontrols=1"></script>


List of Camera Options:

  • em - the camera number. Must be supplied, even for just 1 camera
  • autostart - set the stream to autostart when page loads
  • timeout - set video timeout in seconds (default is 600)
  • height - set height of player. can be specified in pixels, em, or percent (but the percent-sign needs to be url-encoded: '%25'!)
  • width - set width of player. can be specified in pixels, em, or percent (but the percent-sign needs to be url-encoded: '%25'!)
  • roomforcontrols - show the camera-controls the video player

Sticky FAQs