What are the embed code options for my live streaming video player?


 

Note: This FAQ is for our Live Streaming customers (using the Flash Media Live Encoder.)  Click here for the embed code options for our Web Camera customers.

 

Note: If you use this embed code your video will be playable via standard browsers (Flash and HTML5) as well as all iOS devices (iPhones, iPads, iPods) and some Android devices (but we don't fully support Android since there are so many variants.

 

Below is the least amount of emed code that you'll need to get your live streaming player working.

 

  • You'll want to replace YOURSTREAMNAME with the stream name provided by Brownrice.
  • You can change the width and height of the player by modifying the myWidth and myHeight variables.
<script type='text/javascript' src='http://live1.brownrice.com/brilivecam.js'></script>
 
<div id='mediaplayer1'>Loading Video Player...</div>
 
<script type="text/javascript">
$(document).ready(function(){
   var config = {
      myName: 'YOURSTREAMNAME',
      myDiv:  'mediaplayer1',
      myWidth: '720',
      myHeight: '480'
   };
   // Call the BRI player
   briPlayer(config);
});
</script>

 

Here's the embed code with all of the possible options.  You can pick and choose what you need:

 

  • You'll notice that you are replace these things in the video player:  The pre-load background image, the small BRI logo in the upper right hand corner of the video, and the destination address when someone clicks on the small logo in the upper right-hand corner. 
<script type='text/javascript' src='http://live1.brownrice.com/brilivecam.js'></script>

<div id='mediaplayer1'>Loading Video Player...</div>

<script type="text/javascript">
$(document).ready(function(){
   var config = {
      myName: 'YOURSTREAMNAME',
      myDiv:  'mediaplayer1',
      myWidth: '720',
      myHeight: '480',
      myPreLoadImage: 'http://linktobackgroundimage.com/image.jpg',
      myLogo: 'http://linktolittlecornerlogo.com/image.jpg',
      myLink: 'http://www.littlecornerlogolinkaddress.com'
   };
   // Call the BRI player
   briPlayer(config);
});
</script>

 

 

 


Sticky FAQs