IFrame a portion of a page?

Discussion in 'Programming' started by trosquin, Jul 27, 2009.

  1. #1
    trosquin, Jul 27, 2009 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    Offcourse u just have to put the iframe code wherever u want in the template

    
    <iframe src ="html_intro.asp" width="100%" height="300">
      <p>Your browser does not support iframes.</p>
    </iframe>
    
    Code (markup):
     
    Bohra, Jul 27, 2009 IP
  3. hostcoin

    hostcoin Peon

    Messages:
    75
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It's difficult to display only part of the page using IFrame. You can parse the page code and can display part of the code or can use embed code on your web page to display video.

    
    <object height="400" width="550" codebase="http://www.apple.com/qtactivex/qtplugin.cab" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B">             <param value="http://www.chicagolandcadillacdealers.com/video/mov/09555_400.mp4" name="SRC" />             <param value="true" name="AUTOPLAY" />             <param value="true" name="CONTROLLER" /> <embed height="400" width="550" pluginspage="http://www.apple.com/quicktime/download/" controller="true" autoplay="true" src="http://www.chicagolandcadillacdealers.com/video/mov/09555_400.mp4"></embed>  </object>
    
    Code (markup):
     
    hostcoin, Jul 28, 2009 IP
    trosquin likes this.
  4. trosquin

    trosquin Active Member

    Messages:
    681
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Thanks Hostcoin that worked perfectly....now how would i do this from scratch. How do I know the height and width and all that....
     
    trosquin, Jul 28, 2009 IP
  5. Zizzi

    Zizzi Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Why not download the video and host it on your site as well? While citing the original of course.
     
    Zizzi, Aug 3, 2009 IP