File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Embed tag question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Embed tag question" Watch "Embed tag question" New topic

Embed tag question

Jesse Torres
Ranch Hand

Joined: Mar 25, 2004
Posts: 985
Hello to all,

If I set autoplay to false for an embed tag, does the actual file still load(download)behind the scenes? Or will the download process start once I hit play?

Paul Santa Maria
Ranch Hand

Joined: Feb 24, 2004
Posts: 236
I believe that *usually* the behavior will be to not play until the user explicitly clicks "play" (instead of starting play as soon as the page starts loading).

But that's completely up to your player (which, of course, is invoked by your browser).

The whole "<object>" vs "<embed>" issue (to say nothing of "autoplay" vs "autostart") is completely non-standard, so it's really anybody's guess what's ACTUALLY going to happen for a given user on a given browser ;-)

This article might be of interest to you:

'Hope that helps .. PSM

Paul M. Santa Maria, SCJP
I agree. Here's the link:
subject: Embed tag question
It's not a secret anymore!