• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Adding Video and Audio > Embedding Video with the <Embed> Tag

Embedding Video with the <Embed> Tag

When you embed video into an HTML document, you as the developer have slightly more control over how the video will appear in the browser. When you insert video into an HTML document, you use the <embed> tag. To embed a movie clip, follow these steps:

1.
In the Insert panel, click the Media tab and then click the Insert Plug-in button. This launches a Select File dialog box.

2.
Select a file you want to insert into the document. After you've found the file, click OK (Mac) or Select (Windows).

NOTE

You can also drag any media files from the Assets panel, which will already contain the source information.

3.
This places a plug-in movie holder into the document displayed at 32×32 pixels as shown in Figure 13.6.

Figure 13.6. The Properties panel shows the icon that appears in the document, and it gives you options to manipulate the plug-in.


4.
In the Properties Inspector, you must specify the dimensions of the movie in the H and W text fields. Or you can size the plug-in by dragging the handles to size it manually.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint