I want to show a specific part of an external website on my website.
How do I do this? Can this action be illegal in some way?
**no embed available on this website. It looks pretty old too.
I want to show a specific part of an external website on my website.
How do I do this? Can this action be illegal in some way?
**no embed available on this website. It looks pretty old too.
<div id="ab"><iframe src="//hodekar.tk"></iframe></div>
and this css#ab {
use minus margin so it will goes in that div and unuseful content will not be displayed in webpage. specify height of div and iframe
display : block;
overflow : hidden}
iframe{
margin: -50px -60px}
im not sure if u can do that.. der may be a few privacy issue.. But u can show a different page in you webpage by using the iframe tag. http://www.w3schools.com/tags/tag_iframe.asp Or HTML 5 supposrt video tags.. So if you can download the video u can display it using the video tags.. http://www.w3schools.com/html/html5_video.asp
You can do it using iframes. This HTML element can embed another document from another page, but it also acts as other page.
Simple targetting with the selectors does not seem to be a solution. But you could use iframe to load the page and than extract part of it with jQuery.
I think this should work for you:
video = $("your_frame_selector").contents().find("selector_of_the_DOM_element")
Here is the simplest way to do this: http://jsfiddle.net/hAtul/vk9avk7e/
Thank you guys :) !
CSS:
#ab { display : block; overflow : hidden; width: 724px; height: 391px;
}
iframe { height: 387px; width: 641px; margin-left: -42px; }
HTML:
<div id="ab">
<iframe src="http://www.mycampage.com/webcamtelaviv#player" scrolling="no" onload="javascript:jumpScroll()"></iframe>
</div>