GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   WMV and images question (https://gfy.com/showthread.php?t=669106)

DobermanB 10-22-2006 12:26 PM

WMV and images question
 
How do I add an image before a WMV movie starts? Kind of like YouTube when you click on the image the movie will start. I don't want the movie to start automatically I want them to click on the image within the player and once it is clicked the movie will start. Please refer to YouTube example. However YouTube is done in Flash.

martinsc 10-22-2006 12:27 PM

i think this can be done using stylesheet (image shown) and the onclickevent (hide image)...

DobermanB 10-22-2006 12:28 PM

Quote:

Originally Posted by martinsc (Post 11131514)
i think this can be done using stylesheet (image shown) and the onclickevent (hide image)...

English?

SmokeyTheBear 10-22-2006 12:39 PM

it cant be done unless you plan on embedding the video in a webpage ( i.e. it wont work if you open the video in media player )

as martin mentioned you would use an event handler to trigger the movie to start.. to control a movie you would use a command like

onclick="document.thisdiv.visibility=hidden;videoi dname.controls.play();"

so first you would float an image above the video ( like an ad or something ) or just a table inside a div tag and make it vanish when they clicked it and play the video


All times are GMT -7. The time now is 05:07 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123