WordPress.org

Ready to get started?Download WordPress

Forums

Problems Displaying videos (6 posts)

  1. lehenryjr
    Member
    Posted 3 years ago #

    I'm using the latest version of WordPress, and using the Atahaulpa theme; and I use Windows Live Writer 2011 to post.

    I don't insert a lot of video [http://www.thatbeatsall.com/], so when I tried to insert video on a post and it didn't work, I was curious...

    I found that the video's normal code [embed code] was being changed to something else...

    example:

    <param name="allowFullScreen" value="true" />
    <param name="allowscriptaccess" value="always" />
    <param name="src" value="http://www.youtube.com/v/2TCHSGvNwRY?fs=1&hl=en_US" />
    <param name="allowfullscreen" value="true" />

    First, I started with Windows Live Writer... Checked to ensure the embed code was being placed in the the post. [not being rewritten] Everything looked good there...

    I then went to the Site, viewed the source code [HTML] of the site, and saw the NEW code for the video... It's not what I pasted.

    I went to WordPress and found that Windows Live Writer was uploading the correct embed code [as it should], but once the page is rendered the code gets changed.

    I tried changing the code manually via the WordPress editor, on the post, and nothing seems to work. It all gets converted, and the videos don't show up...

    When I compared it to some of my Blogger posts the embed code was there just fine...

    So my question is, why or where would I check to stop the actual HTML code from being changed?

  2. Alx
    Member
    Posted 3 years ago #

    Quick question. When you're pasting the code into the WordPress editor, are you pasting it into the WYSIWYG editor or using the HTML tab? It sounds like you might be posting the code into the WYSIWYG editor and then WordPress is not able to treat it like its code.

  3. lehenryjr
    Member
    Posted 3 years ago #

    I was posting it directly in to the HTML code [source]...
    I know what your stating, but that's not the case... As I pointed out the code is being completely changed by WordPress... I don't understand why exactly, and not sure where to change it right now.

    I appreciate it...

  4. Alx
    Member
    Posted 3 years ago #

    You could always try a plugin like this one: http://wordpress.org/extend/plugins/smart-youtube/ and see how it displays.

  5. lehenryjr
    Member
    Posted 3 years ago #

    I tried the plug-in— no dice.

    I'm still having issues with WordPress.
    I'm running Atahualpa 353 and WordPress [latest version 303].
    I can NOT get Atahualpa to post a single video in my blog. I'm trying to simply take videos from YouTube and put them in my blog posts; I used to be able to do this...

    I have tried the embed code; I've tried the URL and the videos just don't work anymore.

    I have pasted the embed code manually and it just gets stripped from the post and converted to some crap that doesn't work.

    Example
    This is a working embed link:
    Code:

    <object width="640" height="390"><param name="movie" value="http://www.youtube.com/v/nxPB9yy7IJ4&hl=en_US&feature=player_embedded&version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/nxPB9yy7IJ4&hl=en_US&feature=player_embedded&version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="390"></embed></object>

    and I save it as a draft, and preview it...
    And I get this from the browser source code:

    Code:

    <param name="movie" value="http://www.youtube.com/v/nxPB9yy7IJ4&hl=en_US&feature=player_embedded&version=3"></param>

    That doesn't work— There's no video, no place holder, nothing.
    WHY is the code being changed to something completely different?
    And it's not the themes, I have tried 5 different themes and they all have the video stripped out of the posts? What gives?

    Is ANYONE else having this issue? Please what's the correction for this?

    Thanks in advance...

    Until next time,
    Larry Henry Jr.

  6. lehenryjr
    Member
    Posted 3 years ago #

    Nevermind… I reloaded the site, reimported the database; it's fine now- something was jacked up, but reloading it fixed it.

    Thank you,
    Larry Henry Jr.
    http://www.LEHSYS.com

Topic Closed

This topic has been closed to new replies.

About this Topic