简体   繁体   中英

Use Object Tag with JWPlayer and HLS

I have jwplayer set up with an hls stream, it works fine.

I need to implement this on a page using the tag however. I cannot find documentation to support using JWPlayer as object for use with HLS streams. All combinations of variables I use seem to fail.

I'm willing to use another OSMF based player if it could be easier to use object and an hls stream.

Thanks if you can help. :)

(Posting my comments as the answer, for posterity.)

In JW Player 6, you must use the jwplayer.js script to embed the video. You can't use an object tag (or a video tag, for that matter).

JW Player 5 allowed the use of the object tag, but has no HLS support. In addition, all support for JW Player 5 ends on July 1, 2014.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM