Ckplayer fails to play a multi-level Directory (subdirectory) that calls the SSP video using the rtmp protocol.

Source: Internet
Author: User

The F value contains an rtmp video stream address. Pay attention to the format, rtmp: // ip/live (stream address)/livestream (instance name)

[Note] for multi-level directories, for example, the address is rtmp: // localhost/vod/AB/c. Two modifications are required for playing in ckplayer:
1. Modify ckplayer. js and ckplayer. ck. pm_spac = '|'; change to ck. pm_spac = ','; (you can use any symbol except the English half-width comma). In this case, | is used to distinguish the rtmp protocol and instance name, and the address is in front of the vertical line, the instance name is followed.
2. When calling the video address, change f: 'rtmp: // localhost/vod/AB/C' to rtmp: // localhost/vod | AB/c


In the index.htm file (as shown in the figure above)


Ckplayer/ckplayer. js file (as shown in the figure above)


Ckplayer/ckplayer. xml file (as shown in the figure above)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.