• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Embed tag question

 
Ranch Hand
Posts: 985
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic