+ Post New Thread
Results 1 to 2 of 2
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 ...
  1. #1
    Dodgex1's Avatar
    Join Date
    Jun 2007
    Location
    Manchester
    Posts
    122
    Thank Post
    11
    Thanked 32 Times in 20 Posts
    Rep Power
    20

    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.

    Thanks

  2. #2

    Join Date
    Feb 2009
    Posts
    45
    Thank Post
    1
    Thanked 5 Times in 5 Posts
    Rep Power
    12
    If you can find a bit of Javascript, that can check if Flash is installed on the users system, then you can build some Javascript that runs on page load to show/hide a video block / image block of html

    Try these
    Adobe - Flash Player : Detection Kit
    Javascript Show Hide Element by ID from Internet Connection

    Write your HTML so that you have an two blocks of code
    1 with an id="video"
    2 with an id="image"

    You should then be able to write some onload Javascript function -
    IF Flash is available THEN
    document.getElementById("image").style.display = 'none';
    document.getElementById("video").style.display = 'block';
    ELSE
    document.getElementById("video").style.display = 'none';
    document.getElementById("image").style.display = 'block';
    ENDIF

SHARE:
+ Post New Thread

Similar Threads

  1. Replace header image with flash?
    By RTi in forum EduGeek Joomla 1.5 Package
    Replies: 17
    Last Post: 28th July 2009, 10:05 AM
  2. Turn Video Into Flash
    By FN-GM in forum Web Development
    Replies: 4
    Last Post: 31st May 2009, 04:14 PM
  3. Convert Powerpoint to Flash or any video format
    By wesleyw in forum Office Software
    Replies: 9
    Last Post: 20th March 2008, 12:14 PM
  4. [CLOSED] Missing Content: Missing Image for a flag & flash
    By FN-GM in forum EduGeek.net Site Problems
    Replies: 1
    Last Post: 11th February 2008, 09:02 AM
  5. Any free video to flash converters or ideas on video?
    By Quackers in forum Web Development
    Replies: 15
    Last Post: 26th June 2007, 03:23 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •