Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

uncontrolable reaction of the player with http str

3 replies [Last post]

hi,

here you can view a flv streamed with xmoov
http://player.congressonweb.com/test/
the configuration of the player is in an external XML file
http://player.congressonweb.com/test/config.xml
and the xmoov file is as below

define('XMOOV_PATH_ROOT', '');
define('XMOOV_PATH_FILES', './');
define('XMOOV_CONF_LIMIT_BANDWIDTH', FALSE);
define('XMOOV_CONF_ALLOW_FILE_CACHE', FALSE);
define('XMOOV_BW_PACKET_SIZE', 90);
define('XMOOV_BW_PACKET_INTERVAL', 0.3);
define('XMOOV_CONF_ALLOW_DYNAMIC_BANDWIDTH', TRUE);
define('XMOOV_GET_FILE', 'file');
define('XMOOV_GET_POSITION', 'start');
define('XMOOV_GET_AUTHENTICATION', 'key');
define('XMOOV_GET_BANDWIDTH', 'bw');

but as you can test, the access to specific point of the video is completly erratic.
sometimes, the player go to the good point,
sometimes not and stop the video to show the preload picture :-s

is this a bug from the player ?
a problem with the xmoov ?
or with the server ?

thanks for your help

note : the problem seems to appears only on FF on Mac ...

My guess is that because you have so many unnecessary, deprecated, incorrect,
unneeded flashvars in your config file, you have managed to mess up the player's behaviour.

<config>
  <file>google.flv</file>
  <image>google.jpg</image>
  <author>CongressOnWeb</author>
  <date>2008-11-10</date>
  <description>short test with Google video</description>
  <duration>1624.11</duration>

  [s]<width>384</width>[/s]
  [s]<height>288</height>[/s]
  <link>http://www.congressonweb.com</link>
  [s]<start></start>[/s]
  <tags>test Google</tags>
  <title>Google test</title>

  <backcolor><strong>999999</strong></backcolor>
  [s]<frontcolor></frontcolor>[/s]
  <lightcolor><strong>999999</strong></lightcolor>
  [s]<screencolor></screencolor>[/s]
  <controlbar>over</controlbar>
  [s]<controlbarsize>10</controlbarsize>[/s]
  <playlist>none</playlist>

  [s]<playlistsize>0</playlistsize>[/s]
  [s]<skin>undefined</skin>[/s]
  <autostart>false</autostart>
  <bufferlength>3</bufferlength>
  <displayclick>none</displayclick>
  <icons>false</icons>

  [s]<item>0</item>[/s]
  <logo>youtube.png</logo>
  <mute>false</mute>
  <quality>true</quality>
  <repeat>false</repeat>
  <resizing>true</resizing>

  <shuffle>false</shuffle>
  <stretching>fill</stretching>
  <volume>100</volume>
  <abouttext>CongressOnWeb.com :: your congress on the web</abouttext>
  <aboutlink>http://www.congressonweb.com</aboutlink>
  [s]<id>player1</id>[/s]

  <linktarget>_blank</linktarget>
  [s]<plugins>undefined</plugins>[/s]
  <streamer>xmoov.php</streamer>
  [s]<tracecall>playerPosition</tracecall>[/s]
</config>

You should really only have the flashvars that are needed and are being used in the particular configuration
that you are currently using.

thanks kLink :-)

i have change the config.xml but it not seems to be enough ...

and as i see, after some succesive changes of position, the timer on the controlbar show 00 and not the real position.
the sound runs but the video no more

In fact, i think that's a server problem, but i don't know wich one
maybe in the php.ini : the xmoov.php should have problems to stream the flv
i have add on the first line of the xmoov file :

ini_set('memory_limit', '64M');

but no better results

maybe someone already have this experience ?

i have add a (not-very-good-but-seems-to-works) little timeout code for each link like <a href="javascript:playerWaitAndSeek(10);">Go To Time 10</a>
and the function

function playerWaitAndSeek(theTime) {

player.sendEvent('SEEK',theTime);
player.sendEvent('PLAY');
window.setTimeout("player.sendEvent('PLAY');", 500);
}

the result is better, but not perfect