Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

get PARAM tags from ASX playlist? RSS

5 replies

Last post Sep 01, 2008 12:40 PM by janebush08

(0)
  • nerdabilly

    nerdabilly

    Member

    6 Points

    10 Posts

    get PARAM tags from ASX playlist?

    May 08, 2007 06:32 PM | LINK

    I'm trying to use the MediaAttributes collection to get all of the params out of a playlist.

     <ASX version="3.0">
      <TITLE>My Playlist</TITLE>
      <AUTHOR>Me.</AUTHOR>
      <COPYRIGHT>Copyright (c)2007</COPYRIGHT>
      <ENTRY CLIENTSKIP="NO">
        <TITLE>Video 1</TITLE>
        <REF href="video1.wmv"/>
        <PARAM NAME="link1" VALUE="http://www.domain.com/link1"/>
        <PARAM NAME="CLICKTHRU1" VALUE="http://www.domain.com/click?link1"/>
       </ENTRY>
    </ASX>

    When I follow the example at http://msdn2.microsoft.com/en-us/library/bb412367.aspx , It only shows the first TITLE and AUTHOR tags, which are outside of the ENTRY. I'd like to be able to get the REF and PARAM values out of the playlist also (from within the ENTRY tag). Is this possible? The reference materials don't make any mention of how to do this. Thanks        
     

    param playlist ASX MediaAttributes Attributes MediaElement

  • nerdabilly

    nerdabilly

    Member

    6 Points

    10 Posts

    Re: get PARAM tags from ASX playlist?

    Jun 05, 2007 02:54 PM | LINK

    bump. Can anyone help?  

  • WynApse

    WynApse

    Star

    14658 Points

    343 Posts

    Re: get PARAM tags from ASX playlist?

    Jun 06, 2007 06:32 PM | LINK

    You might be out of luck on this one if I understand the question and Joe Stegman's post this morning...

    Joe Stegman just posted some v1.0 breaking changes. I have them in my latest Silverlight Cream posting: http://geekswithblogs.net/WynApseTechnicalMusings/archive/2007/06/06/113042.aspx,

     but the one that causes your question some problems is the first item in this:http://blogs.msdn.com/jstegman/archive/2007/06/06/more-v-1-0-changes.aspx

    -Dave

     

    Stay in the 'Light
    Silverlight MVP
    http://www.wynapse.com
  • nerdabilly

    nerdabilly

    Member

    6 Points

    10 Posts

    Re: Re: get PARAM tags from ASX playlist?

    Jun 06, 2007 06:45 PM | LINK

    Thanks! Not the answer I was hoping for, but it does explain everything!

     I guess I'll just have to sit on this one for a while until those issues are fixed.

     

  • timsneath

    timsneath

    Member

    4 Points

    2 Posts

    Re: Re: get PARAM tags from ASX playlist?

    Apr 07, 2008 02:36 PM | LINK

    Good news - this is now fixed in Silverlight 1.0. Check this blog post out for further details.

    http://blogs.msdn.com/tims/archive/2008/04/07/silverlight-1-0-new-maintenance-release-available.aspx

    Best wishes,

    Tim Sneath | Group Manager, Client Platform Evangelism | Microsoft Corp.

  • janebush08

    janebush08

    Member

    8 Points

    4 Posts

    Re: get PARAM tags from ASX playlist?

    Sep 01, 2008 12:40 PM | LINK

    that's great news timsneath.... thanks for sharing the post...