This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Embed tag question" Watch "Embed tag question" New topic
Author

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?



Thanks,
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:
http://alistapart.com/articles/byebyeembed

'Hope that helps .. PSM


Paul M. Santa Maria, SCJP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Embed tag question
 
Similar Threads
Unable to load Applet in Tomcat 5.5.12
Unable to load Applet in Tomcat 5.5.12
How to create a video virtual tour player on my JSP page.
Update the embedded video using javascript/ajax
Embedding multple players with javascript