Code Examples
  Home arrow Code Examples arrow Page 2 - Quick Introduction to ASF,ASX, and Network...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
Moblin 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
CODE EXAMPLES

Quick Introduction to ASF,ASX, and Networking Media Distribution
By: S. Balaji
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 25
    2005-02-08

    Table of Contents:
  • Quick Introduction to ASF,ASX, and Networking Media Distribution
  • Sample “.asx” metafiles:
  • How to Link the ASX File to Web Pages

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Quick Introduction to ASF,ASX, and Networking Media Distribution - Sample “.asx” metafiles:


    (Page 2 of 3 )

    Sample 1 (Simple metafile):

    <asx version=”3.0”>
    <entry>
    <ref href=”http://servername/path/asf-file1.
    asf” />
    </entry>
    </asx>

    Explanation:

    <asx version=”3.0”> … </asx>
    -- Shows the version number of the metafile.
    <entry> … </entry>
    --Shows the individual media file detail.
    <ref href=”…” />
    -- Shows the location of the media file.

    Sample 2 (Simple metafile with Title, Author and Copyright):

    <asx version=”3.0”>
    <entry>
    <title> Title of the file </title>
    <author> Author of the file </author>
    <copyright> Copyright information </
    copyright>
    <ref href=”http://servername/path/asf-file1.
    asf” />
    </entry>
    </asx>

    Explanation:

    <title> … </title>
    -- Displays the Title of the clip in the Clip and Title bar of the Windows Media Player.
    <author> … </author>
    -- Displays the Author name in Windows Media Player author column.
    <copyright> … </copyright>
    -- Shows the Copyright information in Windows Media Player Copyright column.

    Sample 3 (Metafile with Playlist):

    <asx version=”3.0”>
    <entry>
    <title> Title of the file 1 </title>
    <author> Author of the file 1 </author>
    <copyright> Copyright information 1 </copyright>
    <ref href=”http://servername/path/asf-file1.asf” />
    </entry>
    <entry>
    <title> Title of the file 2 </title>
    <author> Author of the file 2 </author>
    <copyright> Copyright information 2 </copyright>
    <ref href=”http://servername/path/asf-file2.asf” />
    </entry>
    </asx>
    <asx version=”3.0”>
    <title> Title of the files </title>
    <author> Author of the files </author>
    <copyright> Copyright information </copyright>
    <entry>
    <ref href=”http://servername/path/asf-file1.asf” />
    </entry>
    <entry>
    <ref href=”http://servername/path/asf-file2.asf” />
    </entry>
    </asx>

    Sample 4 (Advanced ASX file - Protocol rollover):

    [Reference]
    Ref1=http://servername/path/asf-file1.asf
    Ref2= mms://servername/path/asf-file1.asf
    BaseURL = http://servername/path/

    [Description]
    Program Title=Title of the ASF file
    Program Description=Description of the ASF file
    Program Author=Author name
    Program Copyright=Copyright

    Explanation:

    Ref1 – First reference to try (HTTP Server).
    Ref2 – Second reference to try (NetShow Server).
    BaseURL – Base URL (Basic Path) for relative references in the ASF stream to use this as a base path.

    ASF path:

    Path should be one of the following:

    mms://servername/path/asf-file1.asf
    - NetShow server path. 
    http://servername/path/asf-file1.asf
    - HTTP server path.
    file://\\servername\path\asf-file1.asf
    - Network server path.
    File://c:\path\asf-file1.asf
    - Fixed drive path / Hard drive path.

    More Code Examples Articles
    More By S. Balaji


     

    CODE EXAMPLES ARTICLES

    - Handling Animations and Bitmaps Using GDI+ f...
    - Download a Web Page using the WebClient
    - Creating a Chart using Data from a Database ...
    - The Basics of Charting with the MS Chart Con...
    - Searching Body Text with textRange: Enter th...
    - Searching Body Text with textRange: Building...
    - Searching Body Text with textRange, part 1: ...
    - First Steps in Programming
    - Programming in C
    - Quick Introduction to ASF,ASX, and Networkin...
    - SatView: Pointer Perfect, Part 2: Constructi...
    - SatView: Pointer Perfect, Part 1
    - Style Case Studies: Construction Unions
    - Creating an Engine for Games for Windows
    - Style Case Studies: Generic Callbacks





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway