0 Replies Latest reply on Jul 10, 2009 12:13 PM by Pawel R

    Embeded Media Player in FF

    Pawel R Newbie


      I'm developing an application in SEAM 2.1 and Richfaces. My app must provide an interface to play video from embedded player (Media Player or Quicktime).
      I have a problem with embedding Media player in Firefox 3.5 (and possibly all previous versions).

      The code below works in IE 8.0 but it's not working in FF where the player is not rendered. What am I doing wrong ? What's interesting if you copypaste this code into a separate plain HTML file it works in both FF and IE.

           <object id='mediaPlayer' width="640" height="480"
                standby='Loading Microsoft Windows Media Player components...'
                <param name='fileName' value="#{VideoFilesTreeBean.nodeTitle}" />
                <param name='animationatStart' value='true' />
                <param name='transparentatStart' value='true' />
                <param name='autoStart' value="true" />
                <param name='showControls' value="true" />
                <param name='loop' value="true" />
                <embed type='application/x-mplayer2'
                     id='mediaPlayer' name='mediaPlayer' displaysize='8' autosize='-1'
                     bgcolor='darkblue' showcontrols="true" showtracker='-1'
                     src="file://///localhost/video/24.05.2009.mpg" autostart="true"
                     designtimesp='5311' loop="true" showdisplay='0' showstatusbar='-1'
                     videoborder3d='-1' width="640" height="480">