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

Forums

/

Autostart feature/bug

3 replies [Last post]
Reply

There's an ugly delay + flickering when using the autostart parameter in conjunction with the image parameter. The problem happens because the player waits for the image to be completely loaded and only then it will trigger the autostart.

IMHO, the player should REALLY autostart, without waiting for the image to be loaded, but this image should also be loaded in background to show it when the movie finishes.

Reply

We're already investigating this. I've added your remark on the autostart:

http://developer.longtailvideo.com/trac/ticket/1183

Reply

How do I make this Autostart?

<script type="text/javascript"
src="http://web.me.com/infooneverything/flash/swfobject.js"></script>
<div id="player">This text will be replaced</div>
<script type="text/javascript">
var so = new SWFObject('http://web.me.com/infooneverything/flash/player.swf','mpl','720','480','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=http://web.me.com/infooneverything/flash/squeeze.flv&image=http://web.me.com/infooneverything/flash/...');
so.write('player');
</script>

Reply

Change:

&file=

To:

autostart=true&file=

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options