Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Stoping HTML 5 video when removing a webview

I have a webView that displays HTML 5 video but if I remove the the webView you can still hear the audio from the video.

How can I stop this?

— asked September 2nd 2010 by Chris Schultz
  • 5
  • html
  • ipad
  • video
  • webview
0 Comments

3 Answers

  • My 5-cent trick is to set webview url = google before closing or remove the webview.

    — answered September 2nd 2010 by Daniel Lim
    permalink
    1 Comment
    • Gotta love the simple hacks.

      — commented September 2nd 2010 by Chris Schultz
  • when the view is closed, why isn't the webview getting destroyed?

    — answered September 2nd 2010 by Sj Singh
    permalink
    1 Comment
    • Great point…

      — commented October 1st 2010 by Todd Soligo
  • In my app, I just set the url to "". Seems to work, but as mentioned above, I am concerned that the view is not being destroyed.

    — answered October 1st 2010 by Todd Soligo
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.