When we use Iframe to load another website what happen to data usage? - html

I am developing website by using ASP.net
In there I have a page where I use a iframe to load another website inside my website. Lets say I am opening WWE.com, Youtube.com inside the iframe. When we normally surf these websites it will take while to load these.
So when I do that will the bandwidth will be serve from my website/Server? or theirs?

When you are using iframe, the clients bandwidth will be consumed.

Related

Pagination without affecting Audio streaming?

If my web app is not single page app, how can I build an audio streaming with audio player which continue playing while paginating.
You can :
use javascript for reloading other part of your web app (it's not only for single web app page)
use system like symfony for rending part of the page with single controller without reload all. (Ok this solution is based on AJAX call)
use iframe
use iframe with other domain

route website through proxy

I am making a website for school and am going to embed some youtube videos on my site. At my school youtube is blocked and I can get past it by using a vpn, however, the blocks are pretty good and block many proxies. Is there any way that I can in my HTML route the videos through a proxy or something so that my videos will always be accessable as long as the proxy isn't blocked. Thanks.
You can't do it using only HTML. You'll need a web server that downloads the videos and makes them available for the client to download. That's not cheap/convenient.
You can put them on Drive or Dropbox and reproduce them using a web player such as JW Player.

Link directly to video and nothing happens

I'm not sure why I thought the file should be handled by the browser (chrome in my case) and then do something (for chrome I think its use QuickTime to play) but instead I just get an untitled browser title, and the page doesn't actually load, as if its loading an empty html page
anyway the address is:
www.motionvideos.tv/video/1022_market_review_february_2012_taylors.mp4
Other details which may effect it:
The site uses WordPress, which is currently not functioning, due to someone's fiddling, and will be down for a day or so (stupid zeus server redirects)
The video is just under 9MB.
Possible causes?
This link is for video download.
Do you want it to show on page?
If so you need to open a HTML page to embed this in.
This is how you embed it via code:
http://www.mediacollege.com/video/format/mpeg4/streaming/example.html
For WP you`ll need to open up a post and use a dedicated plugin for embedding.
Also, you should know that :
MP4 is not a universally common codec - some users (many?) will not be able to view it
The file itself will load directly from the server, thus noticeably effecting total bandwidth usage (can reflect on site speed, hosting costs and etc)
Also not all hosters support (by default) media hosting. This got a lot to do with above mentioned bandwidth issue.
I would suggest re-coding to more common codec + using 3-rd party provider
(I.E. Flash + Youtube for one is a popular choice but you can also go with AVI + Media Hosting Provider X)
Hope this helps.

Load HTML content without external resources into an iframe

How can I only load the HTML of a page into an <iframe>, without automatically triggering the download of all the CSS, scripts, images and videos on the page?
In short: you cannot. Much like you cannot "load an HTML page in a browser" without making the browser load all the linked resources (images, stylesheets). It's up to the browser how it implements its iframes, but most browsers treat them like embedded separate websites that are treated just like ordinary websites in terms of loading linked resources.
What is it you are actually trying to do?

Integrate a mp3 player into a page with no reloading issue

Is there any way to integrate an flash mp3 player into a html site where an reload wouldn't stop music playing or make it start from beginning.
I wouldn't want to use ajax for the rest of the site cause it's not SEO friendly, and also pop-ups are not a good solution cause every browser nowdays blocks them.
AJAX can be made SEO friendly as long as you create distinct urls for the pages you are pulling in. One solution I have seen to this is to use a pop up for the player, and they are easily unblocked.
without pop-ups, ajax, or a full flash site, there is no way to prevent this.
You could have a container page that plays the MP3, and contains a 100% wide, 100% high IFRAME that embeds the actual site. However, this has numerous SEO and usability implications that you can look up under the keyword of "frames."
You could use frames. Put the player in a frame of its own and only change the other(s). But I think a reload would still reload all the frames unless you loaded the page then redirected so that clicking the reload button in the browser only reloaded the redirected page.
You're going to jump through some hoops and have to do some things that are not SEO friendly to get this to work. If you get it to work at all.