WordPress.org

Ready to get started?Download WordPress

Forums

Google XML Sitemap for Videos
A way to better find Youtube embed code! (2 posts)

  1. WP-er
    Member
    Posted 3 years ago #

    I'm using a video theme called OnDemand. Evidently, since the theme is set up so that one enters Youtube URL's in a separate field from the standard blog entry field, your plug can't find any of the videos that are on my site. Possibly because they are enclosed in a <div id="video-container">... BUT the YouTube embed code is there in the source code!!

    Can you think of a way to make your plugin to scan the ALL of the html source code for YouTube URL's? I would think this would solve a lot of problems people are having with your plugin.

    Here's the code for where the YouTube embed code exists on my blog:

    <div id="content">
    <div id="content-inside">
    <div id="video-container">
    <div class='video-embed'><object width="560" height="340"><param name="movie" value="http://www.youtube-nocookie.com/v/xaPepCVepCg?fs=1&hl=en_US&rel=0&autoplay=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/xaPepCVepCg?fs=1&hl=en_US&rel=0&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></div>
    </div> <!-- video-container -->

    http://wordpress.org/extend/plugins/xml-sitemaps-for-videos/

  2. socialprofilr
    Member
    Posted 3 years ago #

    make sure you are using the older embed codes from youtube [a tick box option available] and then have at least one video for the sitemap to be created.

    Not in the html code, it has to scan wordpress and not html codes, hthml codes in the source is something that the browser produces

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic