WordPress.org

Support

Support » Themes and Templates » Using Vidavee, Display Video in Sidebar?

Using Vidavee, Display Video in Sidebar?

  • I’m using the wp-vidavee plugin to upload and show videos on my blog. I want to display one video in my sidebar that I have uploaded via vidavee. So I tried to do this using custom fields, but nothing worked – just the code to call the video displayed (which looks like this – {vidavee id=”3228″ w=”320″ } )

    I want that code that vidavee uses to display the video in my sidebar. Is there a way for me to have my custom fields translate that code as if I was using the_content()?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I imagine you will have to paste in the whole nasty html in to make it work in the sidebar.

    since the search/replace happens on the “the_content” filter…. it’s not easy to put a player into the side bar.

    However, there is a workaround. If you put a video into a temporary post, you can view that source and look for a script tag which will contain the remote call to the vidavee servers. You can then copy that code and paste it into your sidebar.

    I’ve included a function that you can call from your wordpress template in the new version of the plugin. this allows you to embed a call directly in the sidebar with a simple php call. Read the faq/readme.txt for a quick howto.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using Vidavee, Display Video in Sidebar?’ is closed to new replies.