Fake QQ music web player implementation

Source: Internet
Author: User

Http://www.cnblogs.com/Xer-Lee/archive/2012/05/18/2508141.html

From the above address I learned how to get QQ music data, I do add here.

1: Get Music lyrics

Get http://music.qq.com/miniportal/static/lyric/{songid%100}/{songid}.xml Replace {SongID} to get the lyrics in XML format.

2:.wma music files in the Web page support is not good (and not support almost), according to the above address of the article can get music address: http://stream7.qqmusic.qq.com/21058628.wma, HTML5 audio does not support. WMA, Flash I don't know.

This address is actually "http://stream7.qqmusic.qq.com/" +songid+ ". wma", trying to change to this

"http://tsmusic24.tc.qq.com/" +songid+ ". mp3", the song has been successfully played in the web.

Combined with a set of UI, the personal cottage version of the QQ music player (according to the QQ number to play the collection of songs) on the success.

Fake QQ music web player implementation

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.