• Hello. As you may know, at the time of this posting, the code you get from Google Video to embed in your website does not work for WordPress. I know that you can modify the code to embed it, but Google does not allow this as far as I know. So, my question is, how can I embed videos from Google Video without modifying the code? What would be the additional code to _wrap_, _not_ modify the code, to make it work with WordPress?

Viewing 10 replies - 1 through 10 (of 10 total)
  • hummm why it doesnt work ?

    it work perfectly all what you have to do is copy past the code .

    oh maybe i know why , maybe you are using the text rich editor…

    if so , you will have to disable the text rich editor to be able to copy/past html codes .

    This plugin from Viper007Bond works like a charm:

    https://www.viper007bond.com/wordpress-plugins/vipers-video-quicktags/

    It puts a button for each on your editor (both the rich and the quicktags one). Give it a whirl.

    It’s pretty straight forward.

    I’ve done this here:
    How to suspend random computers at your office via cellphone

    I don’t know if the HTML will come through on the forum or not. So just go to that post, do a view source and look for the word embed. You’ll see an example of the html to do it. Just grab everything on that line including the <embed> and </embed> tags.

    You just need to change the height width and docID to what you want. To get the doc id, just go to the video page and do a view source and get a new doc ID. For example the Mentos one:
    3673360343168243565 can replace the one about the cell phone shutting down dell computers: 2693154430071088233
    .

    Notice that the %3d is not part of the DocID. Ignore it.

    Here’s what it should look like:

    <embed style=”width:400px; height:326px;” id=”VideoPlayback” align=”middle” type=”application/x-shockwave-flash” src=”https://video.google.com/googleplayer.swf?docId=3673360343168243565″ allowScriptAccess=”sameDomain” quality=”best” bgcolor=”#ffffff” scale=”noScale” wmode=”window” salign=”TL”  FlashVars=”playerMode=embedded”> </embed&gt;

    Thread Starter pascalparvex

    (@pascalparvex)

    Thank you for all your help. But as I told you, I don’t want to modify the code, as this is not allowed. I also saw the thread about this nice plugin, but as I said, I dont want to modify the code I get from Google.

    I have been working with the built-in rich text editor. To paste the code, I use the HTML source icon. I have now even installed a better WYSIWYG editor, as I chose WordPress because of it’s ease of use and not to do it all by hand in HTML. You get my idea.

    It seems that the WYSIWYG editors ad some code even when working with the source HTML. And completely disabling the WYSIWYG editor is not the point of using WordPress.

    By the way, this forum here, and the plugins for WordPress and even WordPress itself does not really work with Internet Explorer (newest version) nor Opera (newest version), but it all works flawlessly with my old Firefox 1.0. WordPress seems to be too Firefox oriented, at least from the editing side.

    The method I referenced isn’t modifying the the source code. You are using Google’s tools to do everything and you are in fact using the same source code they use to diplay the image.

    See the “https://video.google.com/googleplayer.swf&#8221;

    That is grabbing the current player from their site. That’s why you have the dropdown on the player that says “Go to Google Video” in it. The request grabs the video from their site and does nothing to hide that it is coming from another domain.

    This is the legit way to do it. I wouldn’t have recommended otherwise, publicly or privately.

    One quick thing to remeber is that the <embed> element will keep your pages from validating as it is a proprietary element for Internet Explorer.

    Thread Starter pascalparvex

    (@pascalparvex)

    Okay, thank you. I’ll have a look at it.

    Hi, I seem to have big trouble getting it up and running. I am NOT using www.ads-software.com but only the free hosted solution with wordpress.com In windows live writer it looks just fine but when i post it to https://n0comment.wordpress.com wordpress takes all the html code out. an anybody please help? thanks

    n0comment: WordPress.com has their own forums. You need to use those.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Embedding Google Video _without_ modifying the code?’ is closed to new replies.