WordPress.org

Forums

JW Player for Flash & HTML5 Video
How to embed multiple formats + multiple qualities? (14 posts)

  1. transitionality
    Member
    Posted 1 year ago #

    Per documentation:

    http://www.longtailvideo.com/support/jw-player/28842/working-with-playlists/

    "Even multiple formats + multiple qualities are possible (e.g. MP4 SD/HD + WebM SD/HD)."

    This is what I want to do. I want to provide multiple bitrates of video in multiple formats and I want the player to select video format, playback method (HTML5 or Flash) and bitrate transparently, depending on platform and bandwidth, like Youtube does.

    I can't see how to do this on JW Player 6 for WordPress. Is it possible? Is it possible with v5? If so, how? Please advise.

    http://wordpress.org/extend/plugins/jw-player-plugin-for-wordpress/

  2. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    Right now we don't support this setup in then plugin, but you can set a single format for SD/HD right now, something like this:

    [jwplayer sources="{file:'sd.mp4'},{file:'hd.mp4'}"]

  3. transitionality
    Member
    Posted 1 year ago #

    If your regular codebase supports it, why doesn't your plugin support it?

  4. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    We are planning on adding this to the plugin, but right now this functionality didn't make it into this release yet, sorry.

  5. bernardberry646
    Member
    Posted 1 year ago #

    You said to use "something like this" [jwplayer sources="{file:'sd.mp4'},{file:'hd.mp4'}"]

    This doesn't work, AND it doesn't even include the image used for splash.
    Can you PLEASE give a better example of needed code! Can you please give the exact line(s) of code to use for us that are spending hours trying to get this plugin working.

    Your JWPv6 for wordpress uses [jwplayer mediaid="331"] by default and that method does not allow for sd/hd.

  6. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    I used that and it absolutely works. Can I see where you are trying this?

  7. bernardberry646
    Member
    Posted 1 year ago #

    The reason it doesn't work is because you MUST have a space between the "{" and the word "file" for it to work.

    So, I don't know how you absolutely have it working otherwise.

  8. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    I used it. No spaces, or else it will break.

  9. bernardberry646
    Member
    Posted 1 year ago #

  10. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry, that is right. My apologies.

  11. transitionality
    Member
    Posted 1 year ago #

    Is it possible to list different formats without bitrate differentiation (mp4, webm, ogv)?

  12. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, just use the sources set up, but instead of using two mp4 files, use webm, mp4, for example.

  13. transitionality
    Member
    Posted 1 year ago #

    Is it possible to do this using mediaids, or must we refer to filenames directly, as above? Also, does the sources variable accept three consective arguments -- mp4, webm, ogv files?

  14. JW Player
    Member
    Plugin Author

    Posted 1 year ago #

    It is not, I'm afraid. Yes, it has to be set up like that. If you are using webm, no need for ogv, though.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • JW Player for Flash & HTML5 Video
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.