Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 307   Yesterday: 1,303   Max: 2,773   Total: 530,640   Current Users : 22 (Member 0) 
DOMAIN TOOLS

WEBMASTER TOOLS

RELATED ARTICLES

SUBMIT AN ARTICLE

Write for us and get publicity, link to your website, and best of all get paid. Please visit our writers page for details.


LINK TO US

Link to us and earn points for each visitor you bring to us. Please visit our link partner page for details.

 

Attribute for <EMBED ...>
LOOP = TRUE | FALSE | # of loops

LOOP indicates how many times to play the sound or movie. In general, LOOP indicates if the sound or movie should (TRUE) or should not (FALSE) loop continuously.

Sounds

For sounds, both MSIE and Netscape recognize TRUE and FALSE. FALSE is the default.

this code produces this
<EMBED 
    SRC="../graphics/sounds/helloo.wav"
    LOOP=FALSE
    HEIGHT=60 WIDTH=144
    >
<EMBED 
    SRC="../graphics/sounds/helloo.wav"
    LOOP=TRUE
    HEIGHT=60 WIDTH=144
    >

Netscape also allows you to loop a finite number of times. (For MSIE use PLAYCOUNT) This code tells Netscape to play the sound three times. MSIE plays the sound continuously.

this code produces this
<EMBED 
    SRC="../graphics/sounds/helloo.wav"
    LOOP=3
    HEIGHT=60 WIDTH=144
    >

You can combine this with MSIE's PLAYCOUNT attribute (which in MSIE takes precedence over LOOP) to tell both browsers to loop three times:

this code produces this
<EMBED 
    SRC="../graphics/sounds/helloo.wav"
    LOOP=3
    PLAYCOUNT=3
    HEIGHT=60 WIDTH=144
    >

Movies

LOOP can be set to TRUE or FALSE for movies.

this code produces this
<EMBED 
    SRC="../graphics/heart.avi"
    LOOP=FALSE
    HEIGHT=144 WIDTH=117
    >
<EMBED 
    SRC="../graphics/heart.avi"
    LOOP=TRUE
    HEIGHT=144 WIDTH=117
    >

We have found in researching LOOP that Netscape has several inconsistencies among media types. For example, we have not been able to get MPEGs for loop reliably. As with everything involving <EMBED ...>, be careful what you rely on.



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2009 Broadband Media, Inc. All rights reserved.