Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to play a vedio from your own server to your web page

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 280
    Comment on it

    Hello Reader's if you want to integrate vedio from your own server to your webpage then you can use HTML5.
    Now HTML5 offers you to use <vedio> tag. Lets see the example as below to show vedio

    <!DOCTYPE html> 
    <html> 
    <body>
    <video width="400" controls>
      <source src="../vedios/setyourfile.mp4" type="video/mp4"> 
    </video>
    <p>
    example of vedio player by FindNerd
    </p>
    
    </body> 
    </html>
    

    Output:-

    .

    This is the example of vedio player by FindNerd.

    As you can see by the code above your vedio player will load. Now you have to assign the cedio to it.

    In the line <source src="../vedios/setyourfile.mp4" type="video/mp4"> here you have to set the file location of your file, file must in format of mp4. Then refresh your page and vedio will play. This code is tested and it's works fine for me.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: