Forums

[resolved] Embed Youtube - double video (7 posts)

  1. corienb
    Member
    Posted 1 year ago #

    (when I try to add information to my previous topic it says the topic is closed.. no reason or reply, so I'm posting again.. if this doesn't belong here, please let me know.)

    When I embed a YouTube video (by pasting the URL into the post), the video gets posted twice for some reason.
    How do I fix this?

    Screenshot http://tinypic.com/view.php?pic=28994aq&s=7
    (URL obviously entered once into the post, wordpress site is not online yet, redirecting until done building and until all issues are fixed.).

    Theme used: Fresh Theme from wp corner . com

  2. wrool
    Member
    Posted 1 year ago #

    switch to 2010 theme and try inserting the code again, may be its a theme related issue!

  3. Aaron Blakeley
    Member
    Posted 1 year ago #

    I installed a fresh WordPress on my local server and gave this a try. I did not have any problems posting YouTube videos by pasting the URL. I did have problems with the theme handeling pages with children.

    Are you useing any plugins? Have you edited the theme's source code?

  4. corienb
    Member
    Posted 1 year ago #

    Thanks! When I switch themes the video shows up once so it must be something I did. Because yes, I adjusted the theme files (creating a child theme for it somehow didn't work, my child files sometimes overrode the originals, but sometimes didn't.. Once it's working it won't be updated anyway, so I adjusted the original)

    What and where should I look for something in the code that handles this video embedding stuff?

    For pages with children, I adjusted the CSS so submenus show up correctly (is that what you meant?)

  5. corienb
    Member
    Posted 1 year ago #

    Hum. If I install the original Fresh Theme the video shows up once like it should.

    I'll use http://www.prestosoft.com/edp_examdiff.asp ExamDiff to compare the original files with my alterations, hope I can figure out what caused this.

  6. corienb
    Member
    Posted 1 year ago #

    OK. fixed.

    page.php had
    <?php the_content(__('(more...)')); ?>
    <?php the_content(); ?>

    I removed one of those and now it's working (I think I tried to get rid of ''more.."and wanted to show the full post and forgot to delete it..)

  7. Aaron Blakeley
    Member
    Posted 1 year ago #

    Awsome! I am glad you got it sorted.

Topic Closed

This topic has been closed to new replies.

About this Topic