• Resolved corienb

    (@corienb)


    (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 https://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

Viewing 6 replies - 1 through 6 (of 6 total)
  • switch to 2010 theme and try inserting the code again, may be its a theme related issue!

    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?

    Thread Starter corienb

    (@corienb)

    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?)

    Thread Starter corienb

    (@corienb)

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

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

    Thread Starter corienb

    (@corienb)

    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..)

    Awsome! I am glad you got it sorted.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Embed Youtube – double video’ is closed to new replies.