locked
How To Upload & Play Video in ASP.NET Web Application RRS feed

  • Question

  • User824017345 posted

    Plz Help Me As Possible

    Wednesday, October 22, 2014 6:50 AM

Answers

  • User753101303 posted

    Hi,

    It would be best to try http://lmgtfy.com/?q=asp.net+upload+play+video , check what you found and come back with a particular question. The broader the subject is and the harder it is to handle that in a forum...

    First are you able to upload a file? It should be basically the same thing than for any other file. Then  you may have to process this file so that it could be served using different format depending on where it will play. Then you could use a simple HTML5 video tag or if you want something more sophisticated to rely on a particular video player: http://html5video.org/wiki/HTML5_Video_Player_Comparison

    So it's unlikely one could answer wiht all the details you need in a single forum answer. So please try the first step and ask about the particular point you are encountering.

    Also when the question is broad and seems to be something quite usual, please do search first on the web to do some minimal research by yourself before asking...

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 22, 2014 1:52 PM
  • User2103319870 posted

    You can also try using the object tag to embed video files to your webpage.

    Sample Path

     <object id="MediaPlayer" width="482" height="350" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    
                        standby="Loading Windows Media Player components..." type="application/x-oleobject">
    
                        <param name="FileName" value="Your Video File Path">
    
                        <param name="ShowControls" value="true">
    
                        <param name="ShowStatusBar" value="false">
    
                        <param name="ShowDisplay" value="false">
    
                        <param name="autostart" value="false">
    
                        <embed type="application/x-mplayer2" src="Your Video File Path" name="MediaPlayer"
    
                            width="482" height="350" showcontrols="1" showstatusbar="0" showdisplay="0" autostart="0">
    
                        </embed>
    
                    </object>

    Change your file path accordingly.

    Source URL

    Another option is to use Plugins like  (http://www.jplayer.org) if the browser which you use supports HTML5

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 22, 2014 11:42 PM

All replies

  • User753101303 posted

    Hi,

    It would be best to try http://lmgtfy.com/?q=asp.net+upload+play+video , check what you found and come back with a particular question. The broader the subject is and the harder it is to handle that in a forum...

    First are you able to upload a file? It should be basically the same thing than for any other file. Then  you may have to process this file so that it could be served using different format depending on where it will play. Then you could use a simple HTML5 video tag or if you want something more sophisticated to rely on a particular video player: http://html5video.org/wiki/HTML5_Video_Player_Comparison

    So it's unlikely one could answer wiht all the details you need in a single forum answer. So please try the first step and ask about the particular point you are encountering.

    Also when the question is broad and seems to be something quite usual, please do search first on the web to do some minimal research by yourself before asking...

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 22, 2014 1:52 PM
  • User2103319870 posted

    You can also try using the object tag to embed video files to your webpage.

    Sample Path

     <object id="MediaPlayer" width="482" height="350" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    
                        standby="Loading Windows Media Player components..." type="application/x-oleobject">
    
                        <param name="FileName" value="Your Video File Path">
    
                        <param name="ShowControls" value="true">
    
                        <param name="ShowStatusBar" value="false">
    
                        <param name="ShowDisplay" value="false">
    
                        <param name="autostart" value="false">
    
                        <embed type="application/x-mplayer2" src="Your Video File Path" name="MediaPlayer"
    
                            width="482" height="350" showcontrols="1" showstatusbar="0" showdisplay="0" autostart="0">
    
                        </embed>
    
                    </object>

    Change your file path accordingly.

    Source URL

    Another option is to use Plugins like  (http://www.jplayer.org) if the browser which you use supports HTML5

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 22, 2014 11:42 PM