Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: embed tags help  (Read 11563 times)

0 Members and 1 Guest are viewing this topic.

nymph4

    Topic Starter


    Specialist

    embed tags help
    « on: July 13, 2010, 03:26:43 PM »
    When I place  embed  tags   do they go in the  Head  Tags   or  Body  tags???

    soybean



      Genius
    • The first soybean ever to learn the computer.
    • Thanked: 469
    • Computer: Specs
    • Experience: Experienced
    • OS: Windows 10
    Re: embed tags help
    « Reply #1 on: July 13, 2010, 03:42:45 PM »
    Embedded CSS goes inside the Head tags. Example: http://www.blooberry.com/indexdot/css/examples/cssembedded.htm

    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: embed tags help
    « Reply #2 on: July 13, 2010, 04:52:19 PM »
    Embedded CSS goes inside the Head tags. Example: http://www.blooberry.com/indexdot/css/examples/cssembedded.htm
    No, the <embed> HTML tag, I believe.

    When I place  embed  tags   do they go in the  Head  Tags   or  Body  tags???
    Body.

    soybean



      Genius
    • The first soybean ever to learn the computer.
    • Thanked: 469
    • Computer: Specs
    • Experience: Experienced
    • OS: Windows 10
    Re: embed tags help
    « Reply #3 on: July 13, 2010, 05:28:32 PM »
    No, the <embed> HTML tag, I believe.
    Ah, you're probably right about that, which means he wants to embed sound or video in a web page.

    nymph4

      Topic Starter


      Specialist

      Re: embed tags help
      « Reply #4 on: July 15, 2010, 12:08:38 PM »
      I put this tag in the body  section

      <embed src="beach.wav" autostart="true" loop="6"></embed>

      And it works and plays sound good.

      How can I ad  or were do I ad the Height and width  to the  player?

      Right now I just have a Black Box with not controles or anything.  So I thought maybe it's because I have no  Width and Height  attributes?

      kpac

      • Web moderator
      • Moderator


      • Hacker

      • kpac®
      • Thanked: 184
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 7
      Re: embed tags help
      « Reply #5 on: July 15, 2010, 02:45:39 PM »
      Quote
      Right now I just have a Black Box with not controles or anything.  So I thought maybe it's because I have no  Width and Height  attributes?
      No, it's just a sound file you're embedding, not a player.

      nymph4

        Topic Starter


        Specialist

        Re: embed tags help
        « Reply #6 on: July 16, 2010, 08:38:46 AM »
        So if I am not puting a player on the page  why is it puting a black box?????????

        And can I get rid of this black box?

        nymph4

          Topic Starter


          Specialist

          Re: embed tags help
          « Reply #7 on: July 16, 2010, 10:15:30 AM »
          I forgot to ask can this tag
          <embed src="beach.wav" autostart="true" loop="6"></embed>

          Have  mp3s  play?

          It works great playing  wav  files  in Firefox and  Internet Explorer???

          BC_Programmer


            Mastermind
          • Typing is no substitute for thinking.
          • Thanked: 1140
            • Yes
            • Yes
            • BC-Programming.com
          • Certifications: List
          • Computer: Specs
          • Experience: Beginner
          • OS: Windows 11
          Re: embed tags help
          « Reply #8 on: July 16, 2010, 10:45:40 AM »
          you could try it???

          then you would know???

          while you're at it stop phrasing statements as questions???

          I was trying to dereference Null Pointers before it was cool.

          nymph4

            Topic Starter


            Specialist

            Re: embed tags help
            « Reply #9 on: July 17, 2010, 10:54:38 AM »
            I have got my code to work

            <embed src="people.wav" hidden="true" autostart="true" loop="true"></embed>

            And my sound file is  25 kB in size  so all works good.

            But one thing I can't get it to LOOP  I tryed   loop="6"  I tryed  LOOP="true"  and  playcount="6"

            They all play but just one time???????????
            I am useing  firefox  but this can't be it   because I went to  Hula Hands  website and they have music and it  loops????????????????????????????????

            nymph4

              Topic Starter


              Specialist

              Re: embed tags help
              « Reply #10 on: July 17, 2010, 10:17:27 PM »
              my file is called   people.wav  how do I use this code

              <object type="audio/x-mpeg" data="fileName.mp3" width="200" height="16" autoplay="false">

              </object>

              what do I change  do I do this

              <object type="audio/wav" data="people.wav" width="200" height="16" autoplay="false">

              </object>

              I dont think I am doing it right

              soybean



                Genius
              • The first soybean ever to learn the computer.
              • Thanked: 469
              • Computer: Specs
              • Experience: Experienced
              • OS: Windows 10
              Re: embed tags help
              « Reply #11 on: July 18, 2010, 10:17:53 AM »
              nymph4, do you not understand what this means?:

              stop phrasing statements as questions???


              nymph4

                Topic Starter


                Specialist

                Re: embed tags help
                « Reply #12 on: July 20, 2010, 09:58:52 PM »
                Ok I used this code
                <embed src="people.wav" hidden="true" border="0" autostart="true" autoplay="true" loop="true"></embed>

                and I am useing Firefox and it work good even though the internet tells me that the Embed Tag is Out Dated.

                But I still can't get my sound to LOOP or Repeat   is it a Firefox thing?????

                nymph4

                  Topic Starter


                  Specialist

                  Re: embed tags help
                  « Reply #13 on: July 22, 2010, 12:30:27 PM »
                  I used this

                  <embed src="rain.wav" hidden=true autostart=true loop=true>
                  <noembed>
                  <bgsound src="rain.wav" loop=infinite>
                  </noembed>

                  And it works great and it repeats my audio file.

                  what is this part for
                  <noembed>
                  <bgsound src="rain.wav" loop=infinite>
                  </noembed>?????????

                  kpac

                  • Web moderator
                  • Moderator


                  • Hacker

                  • kpac®
                  • Thanked: 184
                    • Yes
                    • Yes
                    • Yes
                  • Certifications: List
                  • Computer: Specs
                  • Experience: Expert
                  • OS: Windows 7
                  Re: embed tags help
                  « Reply #14 on: July 22, 2010, 12:52:55 PM »
                  Quote
                  what is this part for
                  If the user's browser does not support the <embed> tag, the code inside it will be executed. Although I've never seen or heard of that tag before.