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 8912535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:13:31+00:00 2026-06-15T04:13:31+00:00

I am using jplayer for audio in HTML5. The audio works when I am

  • 0

I am using jplayer for audio in HTML5. The audio works when I am testing in Visual Studio 2010 and viewing in browser (from VS2010). However, if I am not in VS2010 and doubleclick on the .htm file to view in browser the audio is not working. I am using IE9. Here is my code:

html5:

<script type="text/jscript" src="jQuery.jPlayer.2.2.0/jquery.jplayer.min.js"></script>
   <!-- <script type="text/jscript" src="http://www.jplayer.org/2.2.0/js/jquery.jplayer.min.js"></script> -->

Jquery:

$(document).ready(function () {
                $("#jpId").jPlayer({
                ready: function () {
                    $(this).jPlayer("setMedia", {
                        mp3: "/HolidayCard/179_short_all-the-family-together_0033.MP3"
                    }).jPlayer("play");
                },
                //swfPath: "http://www.jplayer.org/latest/js/Jplayer.swf",
                swfPath: "http://www.jplayer.org/2.2.0/js",
                solution: "html,flash",
                supplied: "mp3",
                wmode: "window"


            });

        });

HTML5 div tag:

<div id="jpId" ></div>
  • 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-15T04:13:32+00:00Added an answer on June 15, 2026 at 4:13 am

    This is most likely caused by not having an absolute path to your file. If you view this in visual studio, it most likely knows the relative path to your file and that’s why you can view it through VS. Try adding the full path to your .htm file and see if that helps. You can also use Chrome Dev Tools, Firebug or IE Dev Tools to see what error your .htm file is throwing to help you solve the problem. Generally as a rule of thumb, the majority of your testing should be done through a browser as opposed to the VS browser. Also, if this is a web page that is for a live website, I would suggest testing it in the 3 major browsers too (IE, Chrome and Firefox) to be sure of cross browser compatibility.

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

Sidebar

Related Questions

I am using Buzz to abstract HTML5 audio for internet radio. This works well,
I am working on incorperating the jplayer html5 audio playlist I'm using a foreach
I've been syncing some text with audio, using jPlayer and jQuery's .fadeIn/.fadeOut. It works
I am trying to play audio file using jPlayer in iPad. It works fine
I'm using the jQuery audio player 'jPlayer', I have a loop which creates a
I'm using jPlayer to show an audio player for mp3 files, and the duration
I am using jPlayer to embed two audio files in my page, basically the
I've got a flash player (using JWPlayer) that plays an audio file. The file
I'm using jPlayer and it's working in all browsers except IE 9. If i
I am using jPlayer library but i don't know how to set width and

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.