Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Programming. |
Acmlm's Board - I3 Archive - Programming - Embedding movie in webpage | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
Mercury 0 Since: 11-18-05 Last post: 6601 days Last view: 6601 days |
| ||
I know how to embed a Quicktime movie in a page (by using embed or object), but what I want is that the movie doesn't load immediatly when visiting the page.
People should first click an image, then the movie replaces that image and starts to load, how would I do that? And is it possible in XHTML (Transitional)? (edited by Mercury on 12-17-05 10:41 AM) |
|||
emcee Red Super Koopa Since: 11-20-05 Last post: 6432 days Last view: 6431 days |
| ||
I'm sure there is a more official way of doing this, but would just place an image over an iframe (using css positioning), then set the onclick for the image to change the image's visibility to hidden and redirect the iframe to a page with an embedded video. | |||
Mercury 0 Since: 11-18-05 Last post: 6601 days Last view: 6601 days |
| ||
Well I already work with absolute positioned divs.
And what I want is to put the movies on hidden divs, and when you click a link, the div shows, and you can watch the movie after you click it. So I can't really work with (i)frames. Dunno what happens if you don't do that, and when the movies already start to load on hidden layers, I'll have to test that. Or maybe someone knows a site where this is used? That way I can look at the source . I'll try to look on some trailer site, maybe they use this. Edit: nevermind, I found it in the QuickTime Scripting guide. You have to use a "poster movie" . (edited by Mercury on 12-17-05 05:22 PM) (edited by Mercury on 12-17-05 05:34 PM) |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - Programming - Embedding movie in webpage | | |