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

Chapter 17. Creating Web Pages with Movi... > Writing the HTML for a Poster Movie

Writing the HTML for a Poster Movie

When you have a full-length movie and corresponding poster movie, you’ll need to write the EMBED tag so that everything works correctly.

To write the HTML for a poster movie:

1.
Place the cursor in the HTML body of the Web page in the location where you want the movie to appear.

2.
Type <EMBED SRC="myposter.mov", replacing myposter.mov with the location of your poster-movie file.

3.
Type CONTROLLER=false.

You do this since you generally don’t want the controller to appear for a poster.

4.
Type WIDTH=w HEIGHT=h, replacing w with the width of your full-length movie window and h with the height of your full-length movie window (adding 16 pixels for a controller if you want one to appear).

The reason for specifying the dimensions of the full-length movie is that you need to make space on the page for that movie.

5.
Type HREF="myreal.mov", replacing myreal.mov with the location of your real movie.

If the full-length movie resides in a different folder from the poster movie, you must specify the path to the location of the real movie relative to the poster movie—not relative to the Web page.

6.
Type TARGET="myself".

This code ensures that the full-length movie appears in the same location on the Web page as the poster movie.

7.
Type the final > to close the EMBED tag. Figure 17.19 shows the full tag.

Figure 17.19. Here’s a full <EMBED> tag for a poster movie.


When the page with this tag is opened in a Web browser, the poster movie appears. When the poster movie is clicked, the full-length movie replaces it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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