• Modifiedcontent

    (@modifiedcontent)


    First, congratulations WordPress with 2.2! It’s slick!

    I’m trying to put video in a post using a very straightforward method; simply adding the <object> code under the text code.

    The video shows up fine. It works. But it messes up the entire page structure and I can’t figure out why. The video ends up in the upper right corner and the flow of the page is broken.

    In the source code I don’t see any </div> or whatever that shouldn’t be there. Is there something in CSS that does something with <object> or <embed> or other elements of the flv embed code? I can’t find it…

    Is there a way to include the embed code “in isolation” so it doesn’t interfere with the structure of the page? I’ve tried putting it in a <div></div>, but the editor didn’t allow that. Putting it in <p></p> had no effect.

    I’m not looking for complicated plugins to include YouTube video or whatever.

    Any help very much appreciated!

Viewing 6 replies - 16 through 21 (of 21 total)
  • Same here. Very annoying indeed.

    Same here, in addition to removing line breaks and messing up with the code after posting. Unfortunately we wasted so much time with no solution, and we are considering to dump WP all over and switch to a more reliable CMS/blogging package.

    A key point in selecting a CMS solution is its editor’s power and flexibility. If the latest version of WP cannot maintain our code and formatting and mess up our posts, then we don’t need it!

    Thread Starter Modifiedcontent

    (@modifiedcontent)

    Any progress on this? Has it been fixed in the latest version?

    I must say I find it ridiculous and a bit pathetic this still hasn’t been fixed in 2.3.3. Also comments like “you googled with the wrong words, dumbass” are not very encouraging, considering that the issue is something that WP should have originally been able to handle.

    Other than that, I have been happy to notice WordPress seems to have significantly developed since the last versions.

    I don’t understand half of this discussion but I just checked the code I was trying to use and it includes both “embed” and “object” so it’s possible my question is relevant (or maybe I need to start a new topic?)

    I happened on a video that I liked, decided to try the embed feature, went to ‘write post’ in my dashboard, clicked on the Code tab, pasted the code in there, selected Save and View, and it was amazing. The results looked great! Perfect. But that’s not the end of it.

    After seeing the post previewed and how great it looked, I selected Publish. At which point, the published results were all out of whack. Video off to the right side, template visuals off kilter (Firefox). The whole page was messed up.

    Is that the same thing you all have been discussing? I don’t know if this is the same problem or a different one. But I don’t understand why it looks great in draft mode and publishes as a mess. I undid it and tried again a couple times with the same results.

    Any suggestions would be much appreciated, thanks!

    yilmazurgun

    (@yilmazurgun)

    Hi everyone, i am using JW player and i fixed the same issue by using this javascript object code:`<script type=”text/javascript” src=”http://www.jeroenwijering.com/embed/swfobject.js”></script&gt;

    <div id=”player”>This text will be replaced</div>

    <script type=”text/javascript”>
    var so = new SWFObject(‘http://www.jeroenwijering.com/embed/player.swf&#8217;,’mpl’,’400′,’134′,’8′);
    so.addParam(‘allowscriptaccess’,’always’);
    so.addParam(‘allowfullscreen’,’true’);
    so.addVariable(‘width’,’400′);
    so.addVariable(‘height’,’134′);
    so.addVariable(‘file’,’http://www.jeroenwijering.com/upload/statistics.xml&#8217;);
    so.addVariable(‘displaywidth’,’140′);
    so.addVariable(‘searchbar’,’false’);
    so.write(‘player’);
    </script>`

Viewing 6 replies - 16 through 21 (of 21 total)

The topic ‘Adding video with object embed’ is closed to new replies.