Welcome to Discuss Everything Forums...

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


 

Reply to Thread

Post a reply to the thread: Run video in html in netbeans?

Your Message

Click here to log in

What comes after M0nday

 
 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Rate Thread

You may rate this thread from 1-star (Terrible) to 5-stars (Excellent) if you wish to do so.

Topic Review (Newest First)

  • 04-20-2013, 12:07 PM
    kaydell
    Would you mind giving us the source of the video?


    <source src="source of the video" type="video/mp4"/>

    ???

    --- Edit ---

    When I had trouble playing a video in HTML, I used the iframe tag instead of the video tag:

    Here's a link to what I have.

    http://codepad.org/umgTY0bF

    I validated the HTML so I had to add a DOCTYPE (this specifies HTML5) and I added a <title> element since it is required to validate, and I added a declaration of UTF-8 as the charset. It's good to have pages that validate.
  • 04-20-2013, 07:07 AM
    Shiva

    Run video in html in netbeans?

    i am not able to run a video in an html file in netbeans IDE. When i dont run the code in netbeans, the video is playin. Any idea what could be the problem. Please help. Here is the code i am using


    <html>
    <head>
    </head>
    <body>
    <video width="320" height="240" controls>
    <source src="source of the video" type="video/mp4"/>
    </video>
    </body>
    </html>

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •