calling external object code problem

Discussion in 'HTML & Website Design' started by ronmojohny, Jul 26, 2007.

  1. #1
    Hi, I want to call an external file into my webpage that shows a youtube video. I could just paste the "embed" code from youtube on my page, but I would rather call it from an external file so that my page code would be less bloated, and the page text would be closer to the top, for SEO purposes. Can anyone please help me?

    Thanks
     
    ronmojohny, Jul 26, 2007 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can't. As is, OBJECT (and the non-standard, properietary and invalid EMBED) elements call external files as it is.

    If you want to use a Flash file though, I suggest you read Flash Satay.
     
    Dan Schulz, Jul 26, 2007 IP