How to Make jPlayer Smaller

JPlayer is a media player plugin that can be used on websites to play back audio or video media to your visitors. JPlayer allows you to embed a video or audio file on your website, and provide user controls such as "Play" and "Stop." You can also control the size and settings of the jPlayer by adding the "jPlayer({size:Object})" parameter in the embed code.

Instructions

    • 1

      Open the HTML file of the website page where you want to change the size of the jPlayer.

    • 2

      Scroll through the HTML file and locate the the jPlayer embed code.

    • 3

      Move the cursor to just before the script closing code, which looks like the following:

      });
      </script>

      Type the following sizing code:

      size: {
      width: "200px",
      height: "100px"
      }
      });

      Replace "200px" with the width, in pixels, that you want the media to be. Replace "100px" with the height, in pixels, that you want the media to be.

    • 4

      Save the HTML file.

    • 5

      Open your FTP client and log into your website's server. Upload the new HTML file with the resized jPlayer by dragging it from the local computer side of the FTP client to over the old file with the same name on the live server side of the FTP client. Drop the file and confirm that you want to overwrite the old file.

Related Searches:

References

Resources

Comments

Related Ads

Featured