1 Reply Latest reply on Aug 15, 2007 3:52 PM by Newsgroup_User

    Flash Video in template child pages

    cybergrace7
      I have created templates with editable regions for my websites. When I try to insert a Flash video file (.flv) it wants to put code in the header region and body region. I have tried erasing the editable areas, making the entire header an editable area, making the entire site an editable area. I've tried looking on Google and the Dreamweaver Developers section (there is a link to an answer but the link is broken). I unfortunately only have Dreamweaver 8. If this problem is fixed in CS3 I'd be happy to go to Kinkos and rent a machine. Any suggestions?
      Thanks!
        • 1. Re: Flash Video in template child pages
          Level 7
          Here's how you will have to manage this.

          When you insert a Flash video on the page, several things happen -

          1. DW inserts a link to a javascript file in the head of the page.
          2. If you elect to check for Flash versions, DW inserts a call to that
          javascript in the <body> tag of the page.
          3. DW then inserts a javascript call to the file (in #1) on the page at the
          location where the Flash is to appear.

          In a Template child page -

          1. The head region must have an editable region in it, so that the link can
          be inserted.
          2. The Flash check call will fail to be written to the body tag, since that
          is LOCKED by the template.
          3. The javascript will be written to the body of the page where you
          inserted the Flash.

          Thus, 2 of the 3 elements should work fine.

          My suggestion? Do it again, and do not select the check for Flash version -
          that should work for you.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "cybergrace" <webforumsuser@macromedia.com> wrote in message
          news:f9vjls$a9n$1@forums.macromedia.com...
          >I have created templates with editable regions for my websites. When I try
          >to
          > insert a Flash video file (.flv) it wants to put code in the header region
          > and
          > body region. I have tried erasing the editable areas, making the entire
          > header
          > an editable area, making the entire site an editable area. I've tried
          > looking
          > on Google and the Dreamweaver Developers section (there is a link to an
          > answer
          > but the link is broken). I unfortunately only have Dreamweaver 8. If
          > this
          > problem is fixed in CS3 I'd be happy to go to Kinkos and rent a machine.
          > Any
          > suggestions?
          > Thanks!
          >