Re: Animation while buffering

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Wed, 10 May 2006 15:43:01 -0700, ChrisG46
<ChrisG46@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

I use WMP embedded in many video playing pages, and would like to replace the
standard flying windows-style buffering animation with one more appropriate

That flying windows animation is in the WMP6.4 player - you won't find
it in the WMP7 and later players, so something's wron with your
embedding code (clue : does the CLSID begin with 22 instead of 69 ?)

to my users and my site. Is this possible, please? It might also be very
useful to play a fixed time animation, while buffering is taking place, then
run the buffered video once the animation is finished.

There are two elements, children of the ENTRY and REF elements of an
ASX playlist which could be helpful here :

http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/windowsmediametafileelementsreference.asp?frame=true

<param name="Prebuffer" value="true" />
<param name="ShowWhileBuffering" value="true" />

In theory, you could reference clip #1 as an animated GIF for example,
and leave that set to Loop (in the GIF file) as if it was a static GIF
or JPEG image. We all know animated GIFs look trashy, and can be
pretty large for any substantial animation.

If you tried to substitute that with a video file however you'll hit
problems, because the video will play to the end before beginning to
play the next ENTRY element in the playlist. So you're SOL : ASX has
no facility to indicate interrupt behaviour of the *current* track by
a subsequent one.

To flesh that out : A playing track ~may~ have a script command
embedded in it, which the player can use to play another ENTRY element
- but the behaviour is the wrong way round - it can be specified to
resume playing the clip which contains the script event, but that
would have to be your content clip rather than the intro clip (think
about it for a moment ;-)

The problem with WMP ASX playlists in general is they have none of the
flexibility or power of SMIL playlists (which in any case aren't
native to WMP - it only implements a subset of SMIL and it's
undocumented)

One of the only other options is to park the whole lot in a web page,
and use javascript to watch the player for script commands added to
the main content, and dynamically switch CSS layers - one of which
contains your player, and the other contains your animation.

HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2006
http://mvp.support.microsoft.com/mvpfaqs
.



Relevant Pages

  • Re: visualizations in powerpoint?
    ... activate the content through Custom Animation (Add Effect> ... When activated in slide show, ... bring up the windows media player. ... Added New PowerPoint Game - The Maze Challenge ...
    (microsoft.public.powerpoint)
  • Re: Turnbasing 3DRL
    ... > RLs, but as an RL gamer, I found the gameplay experience to be ... Having the game run at the ... the animation short if the player chooses to not wait for it. ...
    (rec.games.roguelike.development)
  • Re: Animation while buffering - slightly off topic
    ... the ASX file in the player before comitting it to the web page URL) ... That flying windows animation is in the WMP6.4 player - you won't find ... The problem with WMP ASX playlists in general is they have none of the ...
    (microsoft.public.windowsmedia.player.web)
  • Re: real-time curses?
    ... were doing anyway if you wanted to make a real-time game. ... In Lair, player instructions, such as a mouse-up event signalling the ... back to the rendering class (called LevelWnd); ... 'animation' objects such as a sequence of squares the player character ...
    (rec.games.roguelike.development)
  • Re: Save video as image sequence
    ... > Lightwave and remove the background (by saving the alpha channel?). ... > and using Lightwave as a "cheap" compositing program. ... Fairly easy if you have Adobe Premiere - render the animation out as a ... Save the frame sequences as a animated gif. ...
    (comp.graphics.apps.lightwave)