Shop Forums JW Player 7 for WordPress JW Player for WordPress – Shortcode options

This topic contains 5 replies, has 3 voices, and was last updated by ilGhera ilGhera 1 year, 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2032
    ilGhera
    ilGhera
    Keymaster

    The release of JW Player for WordPress 1.4.0, has Introduced new options for the shortcode [jwp-video].
    This page wants to be the reference for this, it will be kept updated with the future changes that will come.

     

    n=” “

    Video number
    A page or post can have more than one video and this option lets insert a specific video into the content.
    For the first video, this option can be omitted, then adding [jwp-video] is enough.
    The example below will add the video number three.
    [jwp-video n="3"]

     

    p=” “

    Post/ Page ID
    This option let you publish a video from a different post or page.
    Down here, you can see how to add the video 2 from the post/ page 243.
    [jwp-video n="2" p="243"]

     

    width=” ” height=” “

    Custom measures
    Even if the measures of the player are set in general in the plugin options page, is possible to assign specific measures for each video player using these shortcode options.
    [jwp-video width="640" height="360"]

     

    ar=””

    Aspect ratio
    With this option is possible to change the aspect ratio of the single video player, like for the vertical video in the example below.
    [jwp-video ar="9:16"]

     

    pl_autostart=”1″

    Playlist autostart
    This option activates the automatic playback on page load for a playlist.
    [jwp-video pl_autostart="1"]

     

    pl_mute=”1″

    Playlist mute
    It mutes the playlist videos during playback.
    [jwp-video pl_mute="1"]

     

    pl_repeat=”1″

    Playlist repeat
    With this option is possible to loop the content after the playlist completes.
    [jwp-video pl_repeat="1"]

    #2238

    Victor
    Participant

    I’m a bit confused with available documentation and explanations.

    – Where does the user upload the video? What does the shortcode syntax look like with that uploaded video?
    – What does the shortcode syntax look like with an external video (YouTube, Vimeo)?
    – How should we troubleshoot when the player doesn’t appear?

    Thanks in advance.

    #2240
    ilGhera
    ilGhera
    Keymaster

    Hi @Victor.
    Did you upload the player on your site? If not, please have a look here:

    JW Player self-hosted setup

    In the plugin option page you can active the plugin functionalities for posts, pages and all the others post types.

    How to publish a video? This video can be useful:

    Playlist shortcode with JW Player 7 for WordPress – Premium 1.2.0

    You can upload videos by the WordPress media system or directly in ftp but remember, you have always to use di direct link to the media source, the only exception is YouTube.

    Hope this helps 😉

    #2241

    Victor
    Participant

    that was it!!!! thanks man!

    #2709

    reginald williams
    Participant

    The plug-in does not play or even display .m3u8 files but the jw player tester does. Can this plug-in handle .m3u8 formats? if so, how

    #2715
    ilGhera
    ilGhera
    Keymaster

    Hi Reginald, sorry for the late 🙁
    JWPlayer requires a premium license for .m3u8 format, that’s the reason.
    More informations here:
    https://support.jwplayer.com/customer/portal/articles/1403635-media-format-reference
    https://www.jwplayer.com/pricing/

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.