How to Add Video Using HTML

104 5

    Adding Video Link

    • 1). Open the HTML file you are modifying in a text editor.

    • 2). Scroll down to the <BODY> tag of your HTML code and place your cursor where you want the video link to display.

    • 3). Add a link to the video by using the following HTML code, but replace the website address, video filename, and "Watch Video" with your information:

      <a href="/links/?u=http://somewebsite.com/myvideo.mpg">Watch Video</a>

    • 4). Click on "File" and "Save" in the toolbar to update your file.

    Embedding Video

    • 1). Open your HTML file in a text editor.

    • 2). Add the following customized code where you want the embedded video to appear:

      <object classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA'>
      <param name='src' value='http://somewebsite.com/myvideo.rm'>
      <param name='autoplay' value='true'>
      <param name='controls' value='All'>
      <param name='console' value='video'>
      <param name='loop' value="true">
      <embed src='http://somewebsite.com/myvideo.rm' width='320' height='240'
      loop='true' controls='All' console='video' autoplay='true'>
      </embed>
      </object>

    • 3). Replace the web address and file name in the HTML code with your information. Then change any values you don't want from "true" to "false." To hide the controls, change the value for the "controls" from "All" to "ImageWindow."

    • 4). Click on "File" and "Save" to save your work.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.