Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
media
danimation.controls
danimation.programming
devices
drm
dshow.programming
dtransform
encoder
encoder.optimization
hometheaterpc
media
media.beta
media.beta.encoder
mediacenter
mediacenter.portable
mediaplayer
music.products
musicproducer
player
player.plugins
player.skins
player.solaris
player.visualizations
player.web
sdk
server
tools
  
 
date: Tue, 23 May 2006 12:49:01 -0700,    group: microsoft.public.windowsmedia.player.web        back       


Looping over nested playlists   
Per Neil's suggestion I'm re-posting this from the WMP General group.

I am working on video functionality for an online store in WMP. When a user 
clicks on a video link, I play a short video ad (served by an ad server) 
followed by the video they requested. The playlist looks like this: 
<asx>
<entryref href="www.myadserver.com/someadparams" />
<entry>
  <param name="firstValue" value="tastyData">
  <ref href="www.myvideoserver.com/somevideoparams">
</entry>
</asx>

The entryref comes back with this:
<asx>
<entry>
  <ref href="whatever">
  <param name="secondValue" value="tastyData2">
</entry>
</asx>

Here's the question: I need (client-side) access to parameters from both the 
parent playlist and the nested one in order to render my HTMLView page 
completely. Is there any way to iterate over the playlist on load - 
*including nested entries* - and grab these values? Or do I have to wait 
until the player actually gets to that entry and then use currentMedia? I've 
set it up that way for the moment but I'd really rather process everything at 
once.

Neil suggested that I might be able to get at it through buffering - can I 
maybe force buffering of everything in the playlist when the page loads?

Many thanks if you can help…
date: Tue, 23 May 2006 12:49:01 -0700   author:   m3

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us