• I wanted to be able to specify both an rtmp stream as well as a different url for HTML5 fallback (for the iPad/iPhone/etc). The plugin doesn’t support this natively so I added as alt_file field, which, if specified, the plugin will use as the HTML5 player source. If you need to accomplish the same thing, the patch is attached. Additionally, I think the logic in generate_embed_code() when deciding if the User-Agent was an iPad was backwards, so I corrected that as well.

    Finally, I think a feature like this (if not this exact implementation) would be nice for the plugin to have.

    Here is the patch.

Viewing 1 replies (of 1 total)
  • Plugin Author JW Player

    (@longtail-video)

    @ljg3,

    Thanks for posting a patch. We’re currently working on adding mode support to the plugin now that it’s officially supported by JW Player 5.5. Expect an update soon.

    The logic regarding iPad detection was correct. This code should only run if the embedder is not present as the embedder handles iPad detection on it’s own.

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: JW Player Plugin for WordPress] Support RTMP and HTML5 urls – patch’ is closed to new replies.