Need help? Check out our Support site, then


Does shortcode work with Godtube?

  1. yankeegospelgirl
    Member

    I've been experimenting with shortcode recently, trying to embed videos from other websites. So far I don't seem to have the hang of it. For example, I took this code for a Godtube video:

    <script type="text/javascript" src="http://www.godtube.com/embed/source/7pdyg7nx.js?w=400&h=255&ap=true&sl=true&title=true"></script>

    and tried to convert it to shortcode like this:

    [gigya src="http://www.godtube.com/embed/source/7pdyg7nx.js?w=400&h=255&ap=true&sl=true&title=true"></script>]

    And when I tried to preview it, it said something like "embed_shortcode is not a valid command."

    Did I do something wrong, or am I just out of luck?

    The blog I need help with is southerngospelyankee.wordpress.com.

  2. The stuff you have above is javascript, not flash. The gigya shortcode only works with flash. You have to work with the embed code in the lower box that starts with the object tag.

  3. yankeegospelgirl
    Member

    Okay. Then how do I convert this to shortcode?

    <object height="255" width="400" type="application/x-shockwave-flash" data="http://media.salemwebnetwork.com/godtube/resource/mediaplayer/5.6/player.swf"><param name="movie" value="http://media.salemwebnetwork.com/godtube/resource/mediaplayer/5.6/player.swf"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="wmode" value="opaque"><param name="flashvars" value="file=http://www.godtube.com/resource/mediaplayer/7PDYG7NX.file&image=http://www.godtube.com/resource/mediaplayer/7PDYG7NX.jpg&screencolor=000000&type=video&autostart=true&playonce=true&skin=http://media.salemwebnetwork.com/godtube/resource/mediaplayer/skin/default/videoskin.swf&logo.file=undefinedtheme/default/media/embed-logo.png&logo.link=http://www.godtube.com/watch/%3Fv%3D7PDYG7NX&logo.position=top-left&logo.hide=false&controlbar.position=over"></object>

  4. See here please > The gigya shortcode 1 – inserting videos
    http://wpbtips.wordpress.com/2010/07/03/gigya-shortcode-1-videos/

  5. Wow, that is some strange flash code. Never seen anything like that.

    I'm afraid that if it can be made to work with gigya, it would take Panos, the gigya guru, to do it. I've tried several things, but the code is so different compared to all the other video services that I can't get it to work. Of course I do very little video.

    Hopefully Panos will see this thread and take a look.

  6. yankeegospelgirl
    Member

    While I'm at it, how about vimeo? Random example:

    <iframe src="http://player.vimeo.com/video/17825639?title=0&byline=0&portrait=0" width="400" height="226" frameborder="0"></iframe><p>Welcome Home from Elizabeth Roberts on Vimeo.</p>

    Simply tacking on the "gigya" thing at the beginning doesn't seem to do it, for some reason.

  7. That's an iframe. As thesacredpath said:

    The gigya shortcode only works with flash.

  8. There's a special shortcode for Vimeo videos. See here please:
    http://en.support.wordpress.com/videos/vimeo/

  9. Shortcode:

    [gigya height="255" width="400" src="http://media.salemwebnetwork.com/godtube/resource/mediaplayer/5.6/player.swf" allowfullscreen="true" allowscriptaccess="always" wmode="opaque" flashvars="file=http://www.godtube.com/resource/mediaplayer/7PDYG7NX.file&image=http://www.godtube.com/resource/mediaplayer/7PDYG7NX.jpg&screencolor=000000&type=video&autostart=true&playonce=true&skin=http://media.salemwebnetwork.com/godtube/resource/mediaplayer/skin/default/videoskin.swf&logo.file=undefinedtheme/default/media/embed-logo.png&logo.link=http://www.godtube.com/watch/%3Fv%3D7PDYG7NX&logo.position=top-left&logo.hide=false&controlbar.position=over" ]

    Dimensions can be changed.

    More details here:
    http://wpbtips.wordpress.com/2010/07/22/gigya-shortcode-3-widgets/

  10. yankeegospelgirl
    Member

    Wheeee! Panos to the rescue. I tried it and it works. My main question now is how I can tweak the code so that it doesn't automatically start playing when the page loads. Is there info on that in the link you gave?

  11. yankeegospelgirl
    Member

    Oh wait, never mind, I think I've got it: Change "autostart" from "true" to "false" in the code.

  12. yankeegospelgirl
    Member

    There's just one odd thing: When I turn off autoplay, the video is a bit sluggish when I try to watch it. Any idea why?

  13. yankeegospelgirl
    Member

    Actually, scratch that, it's moving slowly anyway. I have a feeling there's not much I can do about that. But it's still way cool to know how to embed. I compared the old code with the shortcode, and it looked like you were systematically removing a lot of different pieces---like quotation marks and the word "value."

  14. @Panos, thanks for the rescue on this one. I was close with what I had and perhaps would have gotten it in a week or two.

    :-)

Topic Closed

This topic has been closed to new replies.

About this Topic