iFrames
- Started
- Last post
- 13 Responses
- rtr
do good web designers still use iframes to embed video so it doesn't have to open up another window? I emailed Fouty about this but he never got back me so now I must ask the next best resource around.
Is there a better way to do it?
- rtr0
using quicktime and not flash i should have mentioned
- amullins0
i generally use flash to embed video. i only use iframes for third party embedded content (a last resort). what video format are you trying to embed?
- Jaline0
I like iframes sometimes.
- flashbender0
i like I frames. Another option would be to use a show/hide div instead of a popup
- or even just create the element on the fly via js.heavyt
- vague0
there is nothing wrong with iframes whatsoever.
anyone who says different, i dare you to present 2 real reasons why they shouldnt be used.
- ETM0
I have 3.
1) Causes SEO issues
2) Cross-domain security issues and warning (if applicable).
3) iFrames, like lies, make baby Jesus cry.Better to use Divs IMO only.
- ETM0
Sorry, vague, sorry, I forgot you know all about all things Internet. But lets not all revisit Pinkberry again.
I dare you to present 2 real reasons how iFrames don't effect SEO. Also 'SEO' is more expansive that just Google.
Yes, Google will see the content of an iFrame, however, it is a different url and be viewed as a link. So the frame content may not be part of the indexed content for that particular page.
As well, as the iFrame content will be indexed separately using that URL, the content of the frame may show up in searches and be displayed without it's parent page, and thus, possibly, in incorrect context.
You can work around it by using tags like "longdesc" to help the search engines understand what may be in the iFrame in context to the parent page, but really, why? You can use a simple server side include from any language so that the content is actually embedded within the html page that is served and not just linked. You can contain the content like an iframe within a div using CSS.
If you love iFrames, all the power to you, but there are arguably better ways to achieve the same thing.
- vague0
@etm, no, not any longer, most spider engines are fully aware of parent/child relationship with iframe content and report it as such, its all the same data, they simply value it as the same assuming the conditions arent abnormal, like outer-domain content.
that said, theres no real NEED for iframes but employing them is not that big a damned deal and needless hatin on them be needless hatin on them.
- vague, which would you choose then...show/hide div or iframes if you had to embed quicktime without flash?rtr