Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6047055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:18:34+00:00 2026-05-23T07:18:34+00:00

Background I’m making a canvas game which assumes the user to be using a

  • 0

Background

I’m making a canvas game which assumes the user to be using a browser with native canvas support (no IE < 9 scripts or similar). The user is being shown a message with links to download the latest version of their browser if they don’t have one. This is displayed through a message in the <canvas> content as follows:

    <canvas>
        Error message (upgrade... safer, faster, better... free...
                       ...play this awesome game... getfirefox.com)
    </canvas>

Question

Is it safe to assume that any browser supporting the <canvas> tag also supports the <audio> tag? Or will I need to add an extra error message with the risk of displaying two messages on top of each other? What I’m worried about is their screens getting cluttered up with error messages in case they don’t have native support for audio, but they do for canvas.

I understand that all the latest versions of IE, Firefox, Chrome, Safari and Opera do support both canvas and audio, but I’m not sure about mobile browsers and “in-between versions” and such. Other ideas of approaches are also appreciated!

Thank you in advance!

Best regards,
  Anton

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:18:34+00:00Added an answer on May 23, 2026 at 7:18 am

    Browsers that support <canvas> but not <audio> (according to When can I use…):

    • Safari 3.2
    • Opera Mini 5.0-6.0
    • Opera Mobile 10
    • Android Browser 2.1-2.2

    Alternative method

    Detect features with JavaScript:

    • <audio>: return !!document.createElement('audio').canPlayType;
    • <canvas>: return !!document.createElement('canvas').getContext;

    And display messages accordingly.

    See The All-In-One Almost-Alphabetical No-Bullshit Guide To Detecting Everything for a full list. If you want an all-in-one library for HTML5 feature detection, try Modernizr.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

BACKGROUND: I am using Facebook Connect to gather users' Facebook image URL (i.e. http://graph.facebook.com/111111/picture
Background Story: I am developing a GWT application, using the standard MVP design pattern,
Background - I'm trying to populate a drop down list with state information from
Background I, like scores of programmers before me, am working on an application that
Background: I have to set up some Epson receipt printers. The printers are configured
background-image: -moz-linear-gradient( 270deg, rgba( 55, 55, 55, 0 ), rgba( 55, 55, 55, .1
Background: I have an application written in Delphi that uses the Borland Database Engine
Background: I am writing a toy Lisp interperter/compiler in Haskell for my own amusement/edification.
Background: I'm developing for the xbox and am at the optomising stage. I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.