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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:35:48+00:00 2026-06-10T16:35:48+00:00

I have a web app in an iframe (Facebook Tab App) on a web

  • 0

I have a web app in an iframe (Facebook Tab App) on a web page (Facebook).

The web app plays audio and when the user navigates away, usually by clicking on another Facebook link, the page loads another Facebook page and the audio stops.

This works on all browsers except Internet Explorer (IE9). Audio continues to play when I navigate to another Facebook page.

Facebook seems to use the approach where many of their pages are displayed (using hashbang #! approach) without standard page reloading. For me: this means the web app’s audio continues to play (the iframe is somehow orphaned?).

The audio stops playing when you navigate to another site that doesn’t use the #! URL syntax and the browser properly reloads those pages.

What can I do to ensure the audio stops in my web app (Facebook Tab App) when I navigate to another Facebook page? I’m looking at how to:

  • Detect an appropriate event in the parent
  • Explicitly turn off the audio in my web app
  • 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-10T16:35:49+00:00Added an answer on June 10, 2026 at 4:35 pm

    I managed to resolve this by hooking onto the unload event on the window, like

    $(window).unload(function() {
      var a = $("#audio");
        a.get(0).pause();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have another web app, that uses the liferay user database. But before a
I have a web app shown in an Iframe on Facebook and I'm using
I have a web app that is being hit by facebook. The login page
I have a GWT web-app with a nearly full page Google map window. Inside
I have a web site www.chatmic.com, and I joined Developer app in facebook and
I have a reasonable workflow for developing an iFrame app for Facebook. It's reasonable
I have a php web app set up to handle my new facebook application.
Hello fellow developers. I have previously made a facebook fan page with an iframe
http://www.escapingaspinningroom.com/photos/photo/193 is a web page where I have the comment iFrame on. Litteraly, the
I have a Web application that is accessed via iframe, with user login. It

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.