Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    stop video from downloading

    Once a user hits play on an html5 <video> tag, is it possible to stop the video from caching? I am using jquery mobile and when I go to the video page and then back to the main page, the video doesn't actually go away.

    I have it being paused right now when it leaves the video page, but it still downloads in the back ground. I read that you could set the src attribute to "", but that doesn't seem to work.

  • #2
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,785
    Thanks
    8
    Thanked 131 Times in 129 Posts
    I haven't tried this exactly but can you do something like instead of having jquery do src="" have it do: $('video').remove();
    Stop making things so hard on yourself.
    i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •