I've been asked to put a video on the front page of a website. It unfortuantly isn't optional.
Is there a way I can embed a flash video or a video file that will play automagically (I can do that bit fine) but if the person viewing the page doesn't have flash installed for example, instead of a popup telling them so or a link it just shows an image instead?
For example someone using IE6 with no Video player or Flash player installed hits the site instead of the video gets an image and is none the wiser that the video isnt playing? It's not integral to the site itself you see and I dont want people hitting the front page and being redirected to adobe or told to install something they havent got etc.
Adobe - Flash Player : Detection Kit
Write your HTML so that you have an two blocks of code
1 with an id="video"
2 with an id="image"
IF Flash is available THEN
document.getElementById("image").style.display = 'none';
document.getElementById("video").style.display = 'block';
document.getElementById("video").style.display = 'none';
document.getElementById("image").style.display = 'block';
There are currently 1 users browsing this thread. (0 members and 1 guests)