WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Wordtube] How do I programatically include the player?

[Plugin: Wordtube] How do I programatically include the player?

  • Steven
    Member

    @spstieng

    I’ve managed to get it working if I write e.g. [MYPLAYLIST=last15] in a post.

    But I want the player to be in a specific place on the page.
    What do I need to write in my PHP code to display the player?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same issue!

    I would like to use wordtube tag inside a custom field and then display the video on a specific place on my page.

    It works perfectly with a real embed code.

    <div id="video">
        	<div id="inside">
            	<div id="videoembed">
                <?php $key="topvideo"; echo stripslashes(get_post_meta($post->ID, $key, true)); ?>
            	</div>
        	</div>
        </div>
    <embed
    src="player.swf"
    width="720"
    height="400"
    bgcolor="undefined"
    allowscriptaccess="always"
    allowfullscreen="true"
    flashvars="file=***&image=***&backcolor=CCCCCC&frontcolor=333333&lightcolor=888888&screencolor=000000&skin=1&controlbar=over"
    />
    Steven
    Member

    @spstieng

    Exactly. I would also like to have a custom field for a specific page.

    Have you tried the above code with a video list? I would like to list 5-6 videos and play these without having to reload the page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Wordtube] How do I programatically include the player?’ is closed to new replies.