function incrustarReproductor(id, name, rWidth, rHeight)
{
  //document.write("<div id='" + idplayer + "'></div>");
  flashembed(id,
  {
    src:        '/utils/FLVplayer/FlowPlayerLight.swf',
    width:      rWidth, 
    height:     rHeight,
    
    // H.264 support was implemented in flash version 9.0.115 
    version: [9,115], 

    // lower version detected 
    onFail: function(flashVersion, flowplayerConfig)
    { 
      /*** this- variable points to current flash parameters ***/ 
       
      // no version detection on our second try (but you can do it) 
      this.version = null; 
      this.onFail = null; 
       
      // setup same video in FLV format  
      flowplayerConfig.config.playList =
      [
        { url: name + ".jpg", overlayId: 'play' },
        { url: name + ".flv" }
      ],
      // perform new flashembed() call with our new configuration 
      flashembed(id, this, flowplayerConfig); 
    }
    
  },
  {
    config:
    {
      playList:
      [
        { url: name + ".jpg", overlayId: 'play' },
        { url: name + ".flv" }
      ],
    
      autoPlay:                   true,
      autoBuffering:              true,
      loop:                       true,
      autoRewind:                 true,
      usePlayOverlay:             true,

      controlBarGloss:            'none',
      controlsOverVideo:          'ease',
      controlBarBackgroundColor:  '0x000000',
      timeDisplayFontColor:       '0xFFFFFF',

      showFullScreenButton:       false,
      showVolumeSlider:           true,
      showMuteVolumeButton:       true,
      showMenu:                   false
    }
  });
}
