Web Development Thread, Flash or Video and Image replacement in Coding and Web Development; I've been asked to put a video on the front page of a website. It unfortuantly isn't optional.
Is there ...
12th November 2009, 11:00 AM #1
Flash or Video and Image replacement
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.
IDG Tech News
29th November 2009, 12:06 PM #2
- Rep Power
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';
By RTi in forum EduGeek Joomla 1.5 Package
Last Post: 28th July 2009, 11:05 AM
By FN-GM in forum Web Development
Last Post: 31st May 2009, 05:14 PM
By wesleyw in forum Office Software
Last Post: 20th March 2008, 01:14 PM
By FN-GM in forum EduGeek.net Site Problems
Last Post: 11th February 2008, 10:02 AM
By Quackers in forum Web Development
Last Post: 26th June 2007, 04:23 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)