Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2009
    Posts
    84
    Plugin Contributions
    0

    Default Videos Cause Footer to Disappear

    Version 1.3.9h

    Inserting a video onto a category page or EZ page causes everything below the video, including the footer to disappear.

    Here is an example of a category without the video
    http://www.findmypromdress.com/red-77/

    and one with the video.
    http://www.findmypromdress.com/pink-78/

    The code comes over from Youtube Embed and is added to the bottom where the video resides.

    </p><iframe height="315" src="https://www.youtube.com/embed/nl8KDRpEa38" frameborder="0" width="420" />

    Anyone know what the problem could be?

  2. #2
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Videos Cause Footer to Disappear

    Works fine for me in Chrome

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,546
    Plugin Contributions
    127

    Default Re: Videos Cause Footer to Disappear

    Works in FF 7 (Linux).
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Aug 2007
    Location
    Amarillo, Tx
    Posts
    1,674
    Plugin Contributions
    0

    Default Re: Videos Cause Footer to Disappear

    Also works fine in IE8

  5. #5
    Join Date
    Jan 2009
    Posts
    84
    Plugin Contributions
    0

    Default Re: Videos Cause Footer to Disappear

    I am still struggling with this. Every time we edit the page, everything below the video disappears. Using IE8 myself and I don't see anything below the video. Here is an example of what the page should look like. Notice the footer is showing.

    http://www.findmypromdress.com/red-77/


    Here is an example of where we did edits and the footer disappears.

    http://www.findmypromdress.com/blue-80/

  6. #6
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Videos Cause Footer to Disappear

    Quote Originally Posted by nfallat View Post
    I am still struggling with this. Every time we edit the page, everything below the video disappears. Using IE8 myself and I don't see anything below the video. Here is an example of what the page should look like. Notice the footer is showing.

    http://www.findmypromdress.com/red-77/


    Here is an example of where we did edits and the footer disappears.

    http://www.findmypromdress.com/blue-80/
    The 78 errors on the page might have something to do with it.
    The text "What is the Meaning of Blue?" just before the video has nested <p> elements and elements such as <p />

    I would try to tidy up these code problems
    You might just find that the problem "goes away"

  7. #7
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Videos Cause Footer to Disappear

    Just work through process of elimination. Does it only happen on pages with videos? Then remove the video embed code and see if it stops. If the problem goes away, then have a look at your video embed code.

    The main thing is if you look at your html source, the page stops the moment it tries to load the banner below your video. So turn that off for the moment and see if the problem stops.

  8. #8
    Join Date
    Jan 2009
    Posts
    84
    Plugin Contributions
    0

    Default Re: Videos Cause Footer to Disappear

    Thank you so much for taking the time to help. It is the video code, already know that. Taking that out fixes the problem but I did try turning off the banner below it as you suggested. That did not fix it.

    I have found a solution (see below) but, for those who are having this problem, this is also interesting:

    The code for the video is just the code we copied from the youtube embed function. The code is:

    <iframe width="640" height="480" src="https://www.youtube.com/embed/YXf30DzklyE?rel=0" frameborder="0" allowfullscreen></iframe>

    However, once saved on the page, the code changes slightly. Notice how it movew the width= to the end for some reason and takes out the allowfullscreen.

    <p align="center"><iframe height="480" src="http://www.youtube.com/embed/YXf30DzklyE" frameborder="0" width="640" /></p>

    The solution is using the <object "old embed code" from youtube instead of <iframe code. This is an option when embedding the video. The only thing is that the new <iframe code works for Flash or HTML5, the old code works only for Flash.

    Thanks again for your help and I hope this helps someone else who is struggling with this.

  9. #9
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Videos Cause Footer to Disappear

    Quote Originally Posted by nfallat View Post
    Thank you so much for taking the time to help. It is the video code, already know that. Taking that out fixes the problem but I did try turning off the banner below it as you suggested. That did not fix it.

    I have found a solution (see below) but, for those who are having this problem, this is also interesting:

    The code for the video is just the code we copied from the youtube embed function. The code is:

    <iframe width="640" height="480" src="https://www.youtube.com/embed/YXf30DzklyE?rel=0" frameborder="0" allowfullscreen></iframe>

    However, once saved on the page, the code changes slightly. Notice how it movew the width= to the end for some reason and takes out the allowfullscreen.

    <p align="center"><iframe height="480" src="http://www.youtube.com/embed/YXf30DzklyE" frameborder="0" width="640" /></p>

    The solution is using the <object "old embed code" from youtube instead of <iframe code. This is an option when embedding the video. The only thing is that the new <iframe code works for Flash or HTML5, the old code works only for Flash.

    Thanks again for your help and I hope this helps someone else who is struggling with this.
    If you are simply pasting the code in there is no reason for Zencart to 'remove' any of it. How are you pasting it in and using which editor? Or simply in HTML mode? Im running iframed YT vids with no issues.

 

 

Similar Threads

  1. v151 HELP! Footer Disappear on Categories only
    By Green Books in forum General Questions
    Replies: 10
    Last Post: 7 Sep 2015, 12:51 PM
  2. Streaming videos
    By grimrita in forum General Questions
    Replies: 6
    Last Post: 26 Jun 2009, 06:59 PM
  3. Footer disappear after log in
    By harlem1001 in forum General Questions
    Replies: 2
    Last Post: 8 Aug 2008, 02:20 PM
  4. add streaming videos
    By nicola87 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 12 Jun 2007, 09:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg