Loading flash on a mouse click
Many times it's good practice to defer loading of the Flash object until the user clicks on the Flash container. This makes the page load faster, especially if the Flash component is large. Here we have an example:
Click here to play movie
Same with jQuery
The above example uses traditional event binding using the onClick event listener. Some users don't like this because it allows you to bind only one event listener for the element. For this reason, we have a jQuery example of this same scenario:
We have set a background image for the container and the H2 title has been replaced with a play button.