WordPress.org

Ready to get started?Download WordPress

Forums

JW Player for Flash & HTML5 Video
[Plugin: JW Player Plugin for WordPress] Customizing HTML videoplayer (6 posts)

  1. b-lame
    Member
    Posted 4 years ago #

    Hi,
    I would like to add custom variables to the HTML <video> tag generated by the plugin. Like onclick="this.play();". I would also like to change the value of the controls="controls" variable. Could you please tell me where to do that?

    thanks!

  2. anemo
    Member
    Posted 4 years ago #

    I'm sorry but I can't help you with an exact solution but maybe I can point you in the right direction. jQuery is really good for manipulating and enrich regular HTML/XHTML code.

  3. b-lame
    Member
    Posted 4 years ago #

    The reason I'm asking is: My h264 videos play well with the HTML player on Iphone 4 but on Iphone 3 with iOS 4.2.1 I can only see the poster image, but not controls to start the video do ever appear. Anyone got an idea why this could be happening?

  4. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    @b-lame,

    This is likely a result due to the h264 profile level you are using. To support most of the iDevices we recommend using 3.0 Base Profile when encoding your video.

    Thanks.

  5. b-lame
    Member
    Posted 4 years ago #

    Alright, that solved my issue, thanks.
    One last thing though: I still need to be able to provide multiple sources for the different versions of the same video. Like one being "source = movie.mp4" and another being "source = movie.ogg". Is there a way to achieve this?

  6. JW Player
    Member
    Plugin Author

    Posted 4 years ago #

    @b-lame,

    There currently isn't an easy way to do this in the plugin right now. However, we'll be looking to add support in the next major release of the plugin.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic