Forums

[resolved] Embedded videos mess up RSS feeds (8 posts)

  1. kcaluwae
    Member
    Posted 2 years ago #

    I currently use "WordPress Video Plugin" to plugin videos from yahoo, google video, youtube, .... and other sites into the posts.

    This works fine except for the RSS feeds. The method of embedding seems not compatible with RSS. RSS feeds show code instead of the video. Code :

    var button = document.getElementById('facebook_share_link_51') || document.getElementById('facebook_share_icon_51') || document.getElementById('facebook_share_both_51') || document.getElementById('facebook_share_button_51');
    if (button) {
    	button.onclick = function(e) {
    		var url = this.href.replace(/share\.php/, 'sharer.php');
    		window.open(url,'sharer','toolbar=0,status=0,width=626,height=436');
    		return false;
    	}
    
    	if (button.id === 'facebook_share_button_51') {
    		button.onmouseover = function(){
    			this.style.color='#fff';
    			this.style.borderColor = '#295582';
    			this.style.backgroundColor = '#3b5998';
    		}
    		button.onmouseout = function(){
    			this.style.color = '#3b5998';
    			this.style.borderColor = '#d8dfea';
    			this.style.backgroundColor = '#fff';
    		}
    	}
    }

    The method suggestes by wordpress to embed google videos does not seem to work anymore. (http://en.blog.wordpress.com/2006/02/06/google-video/) Shane Bill's comment doesn't seem to work either.

    Thanks for your advice!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Is this a self-hosted WordPress site or a wordpress.com site?

  3. kcaluwae
    Member
    Posted 2 years ago #

    Thanks!

    It's a self hosted site.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

  5. kcaluwae
    Member
    Posted 2 years ago #

    I just put in the URL now. WordPress indeed did do the auto-embed. So the post still looks the same.

    I had a look at the RSS feed. Problem is not solved. It still shows the code shown above.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Try deactivating any facebook plugins.

  7. kcaluwae
    Member
    Posted 2 years ago #

    Tx, solved the problem. It's related to the "share on facebook" plugin I use as well!

    Tx!

  8. mstover
    Member
    Posted 2 years ago #

    kcaluwae - can you please elaborate? We're having the same problem but don't know how "share on facebook" would cause this issue.

Topic Closed

This topic has been closed to new replies.

About this Topic