Google Video Plugin (27 posts)

  1. chaoswarp
    Posted 10 years ago #

    I wanted to be able to view my own, and other users, videos from google's new online video service.

    The Google Video Plugin allows you to use a simple tag like
    [gv data="url" width="300" height="400"][/gv]
    in your post and it will include the video and the player.

    All you need is this plugin and then copy and paste the data variable from google. Instructions are better in the plugin and on my website.

    I have only tested it on WP 2.0 and it seems to be working great, so if anyone is willing to mess around with it and let me know how it goes, maybe someone can take this and make it into something even better :) Until then I will spend my time hosting my videos at google and writing about some of the stupid crap that goes up there :)

    Anyways go here to get it. Please leave comments, and if you need any help please ask!

    Hope this helps someone!

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    If you are after something to test this plugin with, I totally recommend this one :)


  3. IAMalik
    Posted 10 years ago #

    i don't understand, why use this instead of the code google gives you when you click on "put on site"

    (not being rude, just wondering)

  4. IAMalik
    Posted 10 years ago #

    oh wait, I see, it breaks up the page, sorry I never tried it before, I'm going to go ahead and try out this plugin.

  5. IAMalik
    Posted 10 years ago #

    hey it works really great, is there any way to make it work under the '<!--more-->' function?

  6. chaoswarp
    Posted 10 years ago #

    Hey Thanks for giving it a try! And actually I went ahead and tested it under the more section it seems to work as is.

    I ended up with my post looking like this
    Testing plugin in "more" section"
    <pre>[gv data="http://video.google.com/googleplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DjAAAAO4LOQuOtbu2Swx5v9wxTTZI7u6Iha-OpFW6CZV4zLlK4UaVVp4Cpe6DWR8FcJjkvHLfv79shJDEKpS0Yu9r1x7GD1AGc2gi98rrnJPV5GavAqsiMxqckGw2yNdzuVdd5kV78hRewR8tSNxPgd4rnNDFGguGRPu9I55r7avV334cmcZZEQex1mpGw5nZMlCvEQ%26begin%3D0%26len%3D221766&thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer%3Fcontentid%3Db873e8f746cbecdd%26second%3D5%26itag%3Dw320%26urlcreated%3D1137210455%26sigh%3DN8BAvSE9b8rV4nsaqNqritVyd04&playerId=-6238953685626218421&playerMode=embedded"][/gv]</pre>

    When I clicked "read the rest of this entry" the player came up no problem. Where you having issues using this plugin in the more section?

    And yes not only does the page break when you copy and paste the code in from google. This plugin also allows everything to just be easier managed.

    You dont have to have a giant pasted object tag in your post, just one nice compact little tag that points to the video. A little easier to work with. :)

    Hope its working well for everyone!!!


  7. IAMalik
    Posted 10 years ago #

    Yeah, it doesn't hide for me when I put it under the more tag. Also, it seems it's not working in IE. My latest post has an example using your plugin.

  8. IAMalik
    Posted 10 years ago #

    nevermind about the more tag, now it's working great, it was a CSS error on my part.

    But it's still cutting it off in IE. I tried resizing it to what you have in your demo (400x326) since yours is working in IE. any clue how to fix that?

  9. nearlythere
    Posted 10 years ago #

    cool! i can't wait to get video into my site.

    FYI: i added this to the codex plugin page to facilitate people locating this handy plugin,


  10. testbr
    Posted 10 years ago #

    The option FULL SCREEN dont work here... any solution?

  11. chaoswarp
    Posted 10 years ago #


    I was not able to reproduce the same problem.
    I have some screen shots, of my IE before and after clicking on "Read the rest of this entry".


    One recommendation is to go back to my site and download the plugin again. A change has been made to fix IE from cutting off the flash movie.

    This was not only related to the more tag, but IE would always shift the movie to the left.

    If you do not wish to download it again the fix is

    Line 96: wp-GoogleVideo.php - Edit To Read:

    $flashStr .= "<param name='salign' value='TL' />";

    the value "TB" was causing issues in IE.


    I am not sure what option "FULL SCREEN" you are talking about? Do you mean the "view this video on google" link is not working?



    and Thanks to everyone for helping out with this! Glad to see it is useful for people!

  12. testbr
    Posted 10 years ago #

    "I am not sure what option "FULL SCREEN" you are talking about? Do you mean the "view this video on google" link is not working?"

    The player have the option FULL SCREEN... but dont work in my blog.

  13. IAMalik
    Posted 10 years ago #

    thanks! it's working perfectly now :)

  14. chaoswarp
    Posted 10 years ago #

    Hello Again, :)

    This plug-in has been downloaded about 214 times in the last 6 days. Now for me that’s pretty crazy seeing it’s my first real plug-in. Then again maybes that’s nothing, what do I know :)

    Anyways Version 1.1 of this plug-in is pretty much done. Some of the issues that have been addressed are:

    • Names of style classes are now customizable. So you can decide what you want to call the CSS classes holding all the pieces, also the text in the link that defaults to "view this on google" is also customizable.
    • JavaScript has been added directly from google to allow the Full Screen button to work. This requires a whole new way of copying and pasting the code, and also requires downloading the googleplayer.swf to your own server or using my "hack the sandbox" method I will be writing about. BUT! worry not this plug-in has been written so if you upgrade you will see no changes to your current entries and you can still add entries the basic way just like always. Advanced features have just been added, not required :)
    • Javascript Flash Detection has been added to tell user they need Flash Player Version 7, if they dont have it
    • The code has now been reorganized into better functions to allow other plug-ins to use them. Now other plug-ins can simply call a GV function passing in variables like URL, width, height, linkText, and class names to provide a custom look in there own plug-ins. Then they will be returned a string of HTML all set to display the video.

    Definitely has me thinking about a new WordPress Video Gallery plug-in that could be my next venture :).

    I will get to posting the new version of the plug-in sometime in the next few days. It is actually pretty set, just want to test out a few more things, and sleep :) its 2am!

    Thanks again to everyone who has tried it, and any other feedback is always extremely helpful!

  15. kineda
    Posted 10 years ago #

    Have you thought about including youtube videos as well?

  16. chaoswarp
    Posted 10 years ago #


    Yes I have. You got ahead of me :)

    surprise surprise as of this post the GV plugin will also support all video from You Tube. You will now be able to add the following data types

    For Google
    data="path to google video from 'put on site' link"
    data="path to enhanced Google player from view source"

    For You Tube
    data="You Tube Video Id (ex: WXeVggCd164)"
    data="Path to You Tube Perm Link"
    data="Path to You Tube Embedable Player"

    No extra variables are needed the plug-in can detect which site and video you wish to show. Google video and You tube have separate customizable CSS classes to change the look and feel of each. Also separate customizable link text.

    Both Have seperate functions that can be called from other plugins to add a Google Video Content or You Tube video by simply passing the function the same information you would pass the "data" type

    Sorry for the delay on actually getting the plugin up. I promise you it is working well. I just want to clean it up, and make sure I haven’t mistyped anything. It is working well on my site currently.

    Check it out

    Next on to the You Tube API and get a Nice Gallery going! :) Would anyone else be interested in that?

  17. kineda
    Posted 10 years ago #

    Nice improvements! :) Seems like embedding videos from one's local server would be a nice added touch as well. Would that be an easy addon?

    A gallery feature with thumbnails would be awesome. Definately interested. Glad you took on this task, otherwise I'd be spending endless nights coding this thing. Good job!

  18. thedawg
    Posted 10 years ago #

    When I copy and paste the text from Google Videos, WordPress does not fully save the code.

    It omits the closing </object> tag and as a result my sidebar goes to the bottom of the page.

    Anyone know how to fix this?


  19. thapasunil
    Posted 10 years ago #

    Can this podcasting thing be done in website like


    I dont have any server or own hosting, i am using it from wordpress.com

    Is there anyway i can podcast viseo in my blog ??

    please help

  20. Les Bessant
    keeper of the Tiggers
    Posted 10 years ago #

    We can't really answer questions about wordpress.com here. You can try the forums:


    and the unofficial Yahoogroup:


    But, I can tell you that wordpress.com is very restricted regarding plugins.

  21. chaoswarp
    Posted 10 years ago #


    Always one more new idea to keep me from releasing :) but that’s great and yes embedding from your local server is great SO I added that also. But I took it even farther.

    Now with the plug-in you can download my optional Flash FLV player. Simply SWF that allows you to embed ANY flv into your blog. Just simply use the plug-in as normal like this
    [gv data='http://www.serverwithflv/myflv.flv'][/gv] and that’s it. The included player will then stream that video into your blog.

    On top of that you can also embed Quick Time .MOV files using the same idea
    [gv data=?http://serverwithmov/mymov.mov?][/gv]

    This then uses the embedded QuickTime player ?

    So to recap the new plug-in will have a PHP file containing the actual plug-in and a SWF that you need to put somewhere on your server that will allow streaming of ANY flv from any server. It also allows streaming of any MOV file.

    So now that this plug-in can span google, youtube, any FLV, and any MOV on the net I think its time to rename it. It is not longer just the small google video plug-in it began as. I will be keeping the [gv] tags because I don’t want people to have to change them. But the new plug-in will be released under a different name. So searches can find it as an all around video plug-in for wordpress....

    As expected the QuickTime and FLV additions both have separate customizable classes for each part, and separate functions to allow other plug-in’s to use there features.

    Now I will yet again hunt through this code and optimize it to the best I can. I will soon be releasing the New Video Plugin, along with the SWF video player


    If you are using the plug-in properly you should not be copying and pasting any object tags at all. You should be copying everything after “googleplayer.swf??

    Only the URL to the video, your entry should look this like
    [gv data=?http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DgwAAAGZy_WHNkcbGE9Rez_2MRG0Fx8I0hM5TyR0ENZY42-RtHrUtIU5D8cjhssUsQ8lvr3P9haX5W_NcUnXNWNU__LbpeLv4Hhse39HVzRXM0a_l--XdvmxJrRGjRxizmbkvEvOzwYxgl_U4biLu5meRISvz8WAqNKJvTd3hBhnBaUcXG_N-5WADcObU0jb0ZBrI8w%26sigh%3DJ8klFZQUyMqlQ7nV25t6zRqkrsg%26begin%3D0%26len%3D303536&thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer%3Fcontentid%3Dbf13cc0d220f44e1%26second%3D5%26itag%3Dw320%26urlcreated%3D1137884236%26sigh%3DxWSxf49MnOeWTqK9uGuju5aPYwo&playerId=1462437490124980266&playerMode=embedded?][/gv]

  22. chaoswarp
    Posted 10 years ago #

    Hey everyone the plugin has been release with all the new features under the name the WordPress Extreme Video Plugin

    A New thread has been started so visit there and please leave me more comments and tell me about any problems you run into.

    Thanks to everyone who has been helping and thanks to everyone who has been using the plugin.

  23. Mili Ombasic
    Posted 10 years ago #

    How come i cannot download the plugin from the official site ?

    Where else can i download it from ?

  24. yfs1
    Posted 10 years ago #

    You need to install the "update" link (The directions for a new install using that link are below)

    Worked perfect for me...Great plugin!

  25. creativegenius
    Posted 9 years ago #

    To support the display of Google Video clips on your WordPress blog - I opted to use vipers_videoquicktags ... the plugin works like a charm - its easy to configure and best of all it really works.

    Get it from:


    Its a great plugin.

  26. semmystumpp
    Posted 9 years ago #


  27. fcanzoniere
    Posted 9 years ago #

    I posted some instructions on how to add a Google Video into a WorlPress post http://wordpress.org/support/topic/89173?replies=1
    I hope this helps

Topic Closed

This topic has been closed to new replies.

About this Topic