Forums

[Plugin: Jwplayer for wordpress] How to use short code outside wordpress folder? (2 posts)

  1. atljeremy
    Member
    Posted 1 year ago #

    I am trying to figure out how to use the [jwplayer}, or any short codes for that matter, outside of the wordpress folder? For example, I've installed wordpress in to "rootDirectory/blog/" and I want to use short codes in files in the "rootDirectory". I have already got a slightly edited version of my themes header and footer files working outside of the "rootDirectory/blog/" directory but I can not get any short codes to work. They just output the text like "[jwplayer config="videoHome" file="files/path/..."]. Can anyone help me out with getting this working? Thanks!

  2. Ajay Karat
    Member
    Posted 1 year ago #

    I'm not the best technical help. so here's hoping this answer helps

    Correct me if I'm wrong, here goes

    You have installed the Jwplayer using wordpress's dashboard. The FLV files that you have are currently in another folder/root dire/where ever, rite?

    The shortcodes that is available on the Jwplayer site is

    [jwplayer type="highwinds" file="http://hwcdn.net/xxxxx/fls/xxxxxxx.smil"]
    do remember to remove the " when inputing those values... for example

    [jwplayer file=http://www.xyz.com/video.flv]

    the "type" is the custom player that you have created in the Jwplayer option ref: http://i.imgur.com/dD5Ci.png . If you don't create a player, it will take the default player vailues (width and height)

    there are more shortcodes available here http://goo.gl/746rI

Topic Closed

This topic has been closed to new replies.

About this Topic