Using Embedded Files In Your Web Page

Before streaming media was a viable medium, if you wanted to add some music or a video file to your web page you had to use HTML code to embed the file on your page. The issues with embedding files were that you had to wait for that item to load when going to the page, so if it was a big file you could be waiting a long time for that page. Which was especially annoying and painful in the dial up Internet days. If the web page designers were considerate they would give the user controls to the file, so that it could be stopped or played at the user’s discretion. But some designers would not leave any controls, making it impossible to stop the music. So every time you went onto that page, you had to listen to the embedded files.

embed

Embedding was achieved by the use of the embed tag. Such a tag would look like the following.

<embed src= “files\music.wav” autostart=“true” loop= “true” hidden= “false” height=“15” width = “155”></embed>

SRC—Is the location of the file you are embedding.

Autostart—Is the condition of whether or not the file starts playing on the page load. Set accordingly with the true or false statement.

Loop—Determines whether or not he file plays through once and stops or repeats. Set accordingly with the true or false statement.

Hidden—Determines whether or not the user will be able to see the control. Set accordingly with the true or false statement.

Height—The height of the control

Width—The width of the control

With the rise of streaming content, embedding files has lost some of its appeal. Embed tags are now widely used to embed links to streaming content on peoples pages.

Leave a Reply

Your email address will not be published. Required fields are marked *