Re: Animation while buffering
- From: "Neil Smith [MVP Digital Media]" <neil@xxxxxxxxxx>
- Date: Thu, 11 May 2006 20:33:45 GMT
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
.
- Prev by Date: Re: Full Screen problem on Mosaic
- Next by Date: Re: Animation while buffering - slightly off topic
- Previous by thread: Problem Opening URL(FM) in windows media player after connecting to a VPN connection.
- Next by thread: Re: Animation while buffering - slightly off topic
- Index(es):
Relevant Pages
|