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

  • Home
  • SEARCH
  • 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 8410437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:10:34+00:00 2026-06-10T00:10:34+00:00

my code was working fine and good. it calls javascript scripts on the html

  • 0

my code was working fine and good. it calls javascript scripts on the html page which draws on the page and makes animations. now, what i have done now is to add the tag in order to play an audio clip automatically. the problem i have is that my animations stop drawing, but there is music playing in the background.

below is the index.html that i use to run on. it is the only html file in the project.

<!doctype html> 
<html class="no-js" lang="en" manifest="./main.manifest">
    <head>
        <meta charset="utf-8">

        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

        <title> My Game </title>
        <meta name="description" content="">
        <meta name="author" content="SweetPotatoes">

        <meta name = "viewport" content = "user-scalable=no,
        initial-scale=1.0, maximum-scale=1.0, width=device-width" />


        <link rel="stylesheet" href="css/style.css">
        <link rel="stylesheet" href="css/game.css">
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">


    </head>

    <body>


        <div id="container">
            <canvas id="canvasSausage" display="block" ></canvas>
        </div>
            <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
        <script>
            window.jQuery || document.write('<script src="js/libs/jquery-1.6.2.min.js"><\/script>')
        </script>




<!-- JavaScript at the bottom for fast page loading -->

            <script src="js/libs/modernizr-2.0.6.min.js"></script>
            <script src="js/libs/require.1.0.8.min.js"></script>
            <script src="js/libs/Draw.js"></script>
            <script src="js/libs/Smile.js"></script>
            <script src="js/libs/UpDpwn.js"></script>
            <script src="js/mylibs/SmellyCanvas/core/canvasMain.js"></script>

            <!-- scripts concatenated and minified via ant build script-->
            <script defer src="js/plugins.js"></script>
            <script defer src="js/script.js"></script>

            <!-- end scripts-->

            <script>
                window._gaq = [['_setAccount', 'UAXXXXXXXX1'], ['_trackPageview'], ['_trackPageLoadTime']];
                Modernizr.load({
                    load : ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
                });
            </script>

            <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
            chromium.org/developers/how-tos/chrome-frame-getting-started -->
            <!--[if lt IE 7 ]>
            <script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
            <script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
            <![endif]-->
            <audio autoplay="true">
            <source src="sound/Heart.mp3"></source>
                audio tag not supported.
            </audio>

        </body>
    </html>

my main.manifest

CACHE MANIFEST
# 2012-08-11

index.html
sound/Heart.mp3
  • 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-06-10T00:10:36+00:00Added an answer on June 10, 2026 at 12:10 am

    Don’t use manifest while you are developing.
    Manifest is like browser-caching on steroids.
    There are enough problems with making changes to external .js files and then having the browser not grab them, because you’re using versions the browser saved from previous visits (when something was broken/different).

    With a manifest, you’re pretty much extending that caching ability to eternity, unless you’re going to write scripts to manage the manifest.
    In a word: don’t.

    Build what you’re going to build, and when it’s done — at least, when it’s at a 1.0 phase, or a good, solid, public-beta…

    …then start thinking about caching files for eternity in the manifest.

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

Sidebar

Related Questions

I have jquery validation code which is working fine in ff but the same
I have this set of code which was working fine about an hour or
I’m trying to issue web requests asynchronously. I have my code working fine except
I have the following code that is working fine in jsfiddle - http://jsfiddle.net/darkajax/FHZBy/ I've
I created a custom Membership Provider which is now working in production just fine
my menu is working fine on the good browsers. The code is all valid
I have some code (which I cannot change) that I need to get working
My code is working fine without any errors when running in Netbeans. If I
So basically this code was working fine before. I had some computer issues and
the below code is working fine if the user enters the USN number that

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.