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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:44:40+00:00 2026-06-13T13:44:40+00:00

I have a jquery jplayer whose html version works fine. When I try to

  • 0

I have a jquery jplayer whose html version works fine. When I try to load the flash version as the default one, it stops working.

When I load the page Chrome console shows the error “PPB_Graphics2D.PaintImageData: Rectangle is outside bounds” twice. Firefox doesn’t show any JS error.

Here is the jQuery code.

     $("#jquery_jplayer_1").jPlayer({
            solution:"flash, html",
            play: function() { // To avoid both jPlayers playing together.
                 $(this).jPlayer("pauseOthers");
            },
            ready: function () {
                $(this).jPlayer("setMedia", {
                     mp3: "http://test.com/music.mp3"

                  });
             },

             swfPath: "player/jplayer",
             supplied: "mp3",
             cssSelectorAncestor: "#jp-audio-container1"
   });

If I reverse the solution to solution: “html, flash”, the player works fine.
This is the flash player generated by the script:

   <embed name="jp_flash_0" id="jp_flash_0" src="player/jplayer/Jplayer.swf" width="0" height="0" bgcolor="#000000" quality="high" flashvars="id=jquery_jplayer_1&amp;vol=0.8&amp;muted=false" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" style="width: 0px; height: 0px; ">

Verified that the mp3 url is working fine. I have also verified(using Chrome Network) that the JPlayer.swf file path is correct and is accessible from the above code.

What could be the reason?

  • 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-13T13:44:41+00:00Added an answer on June 13, 2026 at 1:44 pm

    Looks like the error “PPB_Graphics2D.PaintImageData: Rectangle is outside bounds” normally happens because of the PepperFlash plugin of Chrome. Some solutions suggest disabling it. That did not work for me.

    After a lot of searching around, I solved it by downloading a fresh jquery.jplayer.min.js. Not sure what was wrong with the other one.

    [EDIT] It happened to me again during the development. Noting down the result, for the benefit of anyone else having same issue. I used the debug version of Flash plugin for Chrome to troubleshoot this. The error was because JPlayer was not found on the relative URL specified in the “swf” attribute. After spending considerable time with jPlayer, looks like the two things to check in the event of an swf error are – the swf path and the version of JPlayer.swf.

    • 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 some jQuery working that starts a jPlayer playing an MP3 as shown
I have jQuery draggable set up and working ok on a table row. Currently
I have jQuery load asset on my layout and I want to use CHtml::ajaxButton/ajaxSubmitButton
I have jQuery code like this workig fine in FF, but totally fails in
I'm using the jQuery audio player 'jPlayer', I have a loop which creates a
I have jquery multi-file working as shown in link text . However, what I
I have JQuery dialog box for inserting new row in table. And everything works
I have jQuery tab, it works perfectly, I want to make the tabs to
I have an instance of Jplayer (HTML5 audio player for jQuery) and an instance

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.