Embed Tag - Should I...

Discussion in 'HTML & Website Design' started by oo7ml, Aug 17, 2012.

  1. #1
    Hi, i am working on a site at the moment and i need to use the <embed> tag for YouTube videos, rather than <object> or <iframe> as both <object> or <iframe> are causing conflicts with other scripts when i view my site on an iphone or ipad.

    A - is the <embed> tag ok to you use

    B - which is newer <embed> or <object>

    Thanks in advance for your help...
     
    oo7ml, Aug 17, 2012 IP
  2. 3dy.ro

    3dy.ro Member

    Messages:
    100
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #2
    The <embed> tag is perfectly safe to use (I think it's somehow rendered in IE6 too), and it's a HTML5 tag, newer than <object>.
     
    3dy.ro, Aug 17, 2012 IP
  3. oo7ml

    oo7ml Well-Known Member

    Messages:
    656
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    105
    #3
    Cool, thanks...
     
    oo7ml, Aug 17, 2012 IP
  4. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #4
    You should NEVER use EMBED or IFRAME, they are deprecated in the current RECOMMENDATION document types, and technically no longer receiving future support. The ONLY tag you should be using is OBJECT -- You don't go using half assed 1990's markup just because some rubbish script is poorly written!

    This isn't 1998 people!!!

    AND NO, EMBED is not 'new' -- and it's completely ***tarded they put it into HTML 5. Just as ****tarded as the AUDIO and VIDEO tags, and the general pitching into the trash the past decade's progress in web development and everything STRICT did to improve the specification! Again, bleeding edge of crap code written by people who have their heads permanently wedged up 1997's backside! The re-re's who until a few years ago were vomiting up HTML 3.2 and slapping 4 tranny on it, now just get to wrap the HTML 5 lip service around it and still sleaze out their sites any old way.

    Go progress!
     
    deathshadow, Aug 17, 2012 IP