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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:19:36+00:00 2026-06-04T23:19:36+00:00

I have read the FAQ and could not find answer to my problem. http://jplayer.org/support/

  • 0

I have read the FAQ and could not find answer to my problem.

http://jplayer.org/support/

My requirement is if flash is not present in Firefox/Opera/Chrome browsers it should use the HTML5 “audio” to play the audio files.

Here is how my code looks like

/*Following code creates URL for M4A and OGG from MP3 url*/
var _oggurl = _url.substring(0, _url.lastIndexOf("."))+".ogg";
var _m4aurl = _url.substring(0, _url.lastIndexOf("."))+".m4a";

$('#jquery_audioPlayer').jPlayer("setMedia", {mp3:_url, m4a:_m4aurl, oga:_oggurl});
$('#jquery_audioPlayer').jPlayer("supplied", "mp3, m4a, oga");
$('#jquery_audioPlayer').jPlayer("play");

I have converted the audio in 3 different formats mp3, m4a and ogg and passing the arguments to jPlayer. Still when the flash plugin is removed from browser the audio does not play. I have checked the audio by embedding it seperately using audio tag of HTML5 (without jPlayer) and it plays correctly.

What changes should I incorporate to make it work correctly.

Thanks for any help.

  • 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-04T23:19:37+00:00Added an answer on June 4, 2026 at 11:19 pm

    Ok I figured the solution. I was not passing “supplied” during initialization of jPlayer. It does not cause any issue while using the flash solution but cause issue with HTML5 audio.

    $("#jquery_audioPlayer").jPlayer({
    swfPath: "../js",
    supplied: "oga, m4a, mp3",
    solution: "html, flash",
    wmode: "window"
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have read through the MSDN naming guidelines and could not find a clear answer,
i have read many posts but can not find my answer.my question is a
I have read the GOLD Homepage ( http://www.devincook.com/goldparser/ ) docs, FAQ and Wikipedia to
I am using JMeter and have 2 questions (I have read the FAQ +
I have read through the Web Services site at http://developer.rallydev.com/help/ The basic issue I
I have read a ton before posting this and tried what i could to
I have read their limits FAQ, they talk about many limits except limit of
Ok, I must be dumb cause I've already read this: http://www.csharp411.com/net-assembly-faq-part-3-strong-names-and-signing/ And I still
I know this is game design related, but I have read the StackOverflow FAQ
I have read some where that ruby fork are COW friendly ok here the

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.