Click here to Skip to main content
15,892,517 members
Please Sign up or sign in to vote.
1.40/5 (2 votes)
See more:
how to stop automatic video downloading in iframe when a page become load
Posted

1 solution

You're going to have to supply a lot more detail about the problem and the situation then that. Are you talking about stopping this on the client side or by running some server side code? What started this download in the first place and how?? Is this a site you wrote?? Are you trying to control a seperate browser process? ...??
 
Share this answer
 
Comments
prthghosh999 16-Dec-13 9:52am    
i have written this code bellow..
<iframe width="560" height="315" src='Content/ProductVideo/abc.mp4' autoplay="0" frameborder="0" allowfullscreen ></iframe>

but when my page become load it gets download automatically in the browser..
please give me some idea to stop this...
Dave Kreskowiak 16-Dec-13 12:00pm    
In that situation, the only way to stop the download is to not start it in the first place. Take the src and autoplay attributes out of the iframe tag.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900