Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. play video file which is binary form in database

play video file which is binary form in database

Scheduled Pinned Locked Moved ASP.NET
databasesql-serverhelp
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vipin d
    wrote on last edited by
    #1

    Hi all, In my appln' i want to play audioe/video file . It is like the file is converted to binary format and saved in MSSQL 2005 database. I saved file extension like(.mp3,.wav,.dat,.mpg) and file in binary form any help is appreciatable

    All I ever wanted is what others have.... CrazySanker

    M 2 Replies Last reply
    0
    • V Vipin d

      Hi all, In my appln' i want to play audioe/video file . It is like the file is converted to binary format and saved in MSSQL 2005 database. I saved file extension like(.mp3,.wav,.dat,.mpg) and file in binary form any help is appreciatable

      All I ever wanted is what others have.... CrazySanker

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      You can specify the url of a web page or a http handler for the media player and then you put your code to read the media file from DB to send out to the client in the web page/handler.

      1 Reply Last reply
      0
      • V Vipin d

        Hi all, In my appln' i want to play audioe/video file . It is like the file is converted to binary format and saved in MSSQL 2005 database. I saved file extension like(.mp3,.wav,.dat,.mpg) and file in binary form any help is appreciatable

        All I ever wanted is what others have.... CrazySanker

        M Offline
        M Offline
        minhpc_bk
        wrote on last edited by
        #3

        I don't have any sample code right here in my hand, but you might want to search on the net or write your own as it's simple enough. Basically, you normally use the media file ending with .mp3, .wav ...., to feed the media player, but now you specify a web page, say download.aspx instead (perhaps along with the id of the media file in the query string). Then in the download.aspx file, you just write some code to query the selected media file contents from DB based on the id passed in the query string. You finally write out the binary data to the Response object and that's it.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups