KDWebServices.com offers the most affordable hosting with features such as MS
Image
image
image
image


Streaming Media:


General Usage:
In the following code examples, replace yoursite.com with the domain and possibly path to your site. Note that the use of type attributes on the links is no substitution for supplying the correct mime type via the Content-Type http header..



Streaming MP3 (MPEG layer 3):
Typical file extension mp3
Content Audio
  1. Use a text editor (for example Notepad on Windows) to create a music.m3u file with the full url to the actual mp3, for example: http://yoursite.net/music.mp3
  2. Upload the m3u file to the web server using ftp ascii mode.
  3. Upload the mp3 file to the web server using ftp binary mode.
  4. Set the proper mime type for both mp3 and m3u files on the web server; M3U Mime type: audio/x-mpegurl ; MP3 Mime type: audio/mpeg
  5. Link to the m3u file from HTML, for example: <a href="music.m3u" type="audio/x-mpegurl">Play music</a>

Note: It's advisable to append a CR/LF after the url (hit enter so that there is a blank line beneath) in the m3u file as this seems to improve reliability for some clients.





Windows Media Audio (WMA):
Typical file extension wma
Content Audio
  1. Use a text editor (for example Notepad on Windows) to create a music.wax file, an example of what to put in it:
    <ASX VERSION="3.0">     <ENTRY>        <REF HREF="http://yoursite.net/music.wma" />     </ENTRY>  </ASX>
  2. Upload the wax file to the web server using ftp ascii mode.
  3. Upload the wma file to the web server using ftp binary mode.
  4. Set the proper mime type on the web server for both wax and wma file types; WMA Mime type: audio/x-ms-wma ; WAX Mime type: audio/x-ms-wax
  5. Link to the wax file from HTML, for example: <a href="music.wax" type="audio/x-ms-wax">Play music</a>




Windows Media Video (WMV):

Typical file extension wmv
Content Video + optional audio
  1. Use a text editor (for example Notepad on Windows) to create a video.wvx file, an example of what to put in it:
    <ASX VERSION="3.0">     <ENTRY>        <REF HREF="http://yoursite.net/video.wmv" />     </ENTRY>  </ASX>
  2. Upload the wvx file to the web server using ftp ascii mode.
  3. Upload the wmv file to the web server using ftp binary mode.
  4. Set the proper mime type on the web server for both wvx and wmv file types; WMV Mime type: video/x-ms-wmv ; WVX Mime type: video/x-ms-wvx
  5. Link to the wvx file from HTML, for example: <a href="video.wvx" type="video/x-ms-wvx">Play video</a>




Real Media files:
Typical file extension rm
Content Audio and/or video
  1. Use a text editor (for example Notepad on Windows) to create a media.ram file with the full url to the actual real media file, for example: http://yoursite.net/media.rm
  2. Upload the ram file to the web server using ftp ascii mode.
  3. Upload the rm file to the web server using ftp binary mode.
  4. Set the proper mime type for both ram and rm files on the web server; RM Mime type : audio/x-realaudio ; RAM Mime type: audio/x-pn-realaudio
  5. Link to the ram file from HTML, for example: <a href="media.ram" type="audio/x-pn-realaudio">Play video</a>





Techman3k Affiliate Network






image


image
image