成人国产在线小视频_日韩寡妇人妻调教在线播放_色成人www永久在线观看_2018国产精品久久_亚洲欧美高清在线30p_亚洲少妇综合一区_黄色在线播放国产_亚洲另类技巧小说校园_国产主播xx日韩_a级毛片在线免费

資訊專欄INFORMATION COLUMN

DoubanFMPlayer, A mimic of Douban.fm player

lastSeries / 2846人閱讀

Project Page: https://github.com/cheng-kang/DoubanFMPlayer

DoubanFMPlayer

A mimic of Douban.fm player on Douban.fm. Also a Flex practice project.

You can use it on your website or embed it in your Hexo theme.

Showcase

Click here to check live demo.

Dark Theme (the color of the player is dark, used in light color web page)

Light Theme (the color of the player is light, used in dark color web page)

Usage

Feel free to download source code from /src folder.

Alternatively, use the cdn I"ve set up:

dbfmplayer.js: http://7u2sl0.com1.z0.glb.clouddn.com/dbfmplayer.js
dbfmplayer.css: http://7u2sl0.com1.z0.glb.clouddn.com/dbfmplayer.css
1. Use it on your website

Add any numbers of dbfmplayer tag to your HTML file.

You must set title, singer, album and music attributes of your dbfmplayer tags.

title: name of the music

singer: name of the singer/musician

album: URL of a picture related to this music (both absolute URL or relative URL)

music: URL of the music (both absolute URL or relative URL)

Optional attributes are theme and loop.

theme: "dark" or "light". Default theme is "dark", which is suitable for light color background web pages; theme "light" is suitable for dark color background web pages.

loop: "true" or "false". Default value is "false". If loop is set to "true", the music will loop after it ends.

autoplay: "true" or "false". Default value is "false". If autoplay is set to "true", the music will automatically start when it"s loaded.

You can set loop and autoplay to "true" in a convenient way:

Add the following script to your HTML file.

2. Embed it in your Hexo theme

Add the following script to your layout file for Post (or anywhere else you want):

Now users can add music to their page by adding the dbfmplayer tag to their articles (markdown files) by following 1.1 Add any numbers of dbfmplayer tag to your HTML file..

Acknowledgements

Most SVG icons come from Iconmoon.io.

Designed by Douban.fm.

Copyright

All copyright of the design belongs to who creates it.

Any copyright issue, please contact [email protected].

文章版權(quán)歸作者所有,未經(jīng)允許請勿轉(zhuǎn)載,若此文章存在違規(guī)行為,您可以聯(lián)系管理員刪除。

轉(zhuǎn)載請注明本文地址:http://systransis.cn/yun/81398.html

相關(guān)文章

  • 基于python的豆瓣FM(終端命令行界面)

    摘要:這個版本的命令行界面是參考了版本的制作的向原作者致敬終端界面設(shè)計的非常好看感謝的修改已經(jīng)支持其實版本已經(jīng)很好了功能齊全但是我發(fā)現(xiàn)在我的環(huán)境下顏色竟然顯示不出來感覺很蛋疼需要播放器依賴如未安裝在終端下直接輸入第一次登陸需要輸入賬號密碼程序不 douban.fm showImg(https://pypip.in/version/douban.fm/badge.svg); showImg(h...

    xiaoqibTn 評論0 收藏0
  • GitHub:目標檢測最全論文集錦

    摘要:的目的是為了提供一個目標檢測學(xué)習(xí)的平臺。注看一下這篇聯(lián)名的機構(gòu)發(fā)布在熱乎乎的還燙手總結(jié)這個庫的目的是為了盡可能介紹的關(guān)于目標檢測相關(guān)的工作。由于還是初學(xué)者,所以整理不好不規(guī)范的地方,還請大家及時指出。 Object Detection WikiObject detection is a computer technology related to computer vision and im...

    ybak 評論0 收藏0
  • 348. Design Tic-Tac-Toe

    摘要:當(dāng)有一行完全只有這兩個中的其中一個人時,的絕對值應(yīng)該等于這個數(shù)列的長度,這樣就不需要每次再掃一遍數(shù)組。 題目:Design a Tic-tac-toe game that is played between two players on a n x n grid. You may assume the following rules: A move is guaranteed to b...

    zhkai 評論0 收藏0
  • Start Using Java Lambda Expressions(轉(zhuǎn)載)

    摘要:原文 Introduction (Business Case) Lambda expressions are a new and important feature included in Java SE 8. A lambda expression provides a way to represent one method interface using an expression...

    FullStackDeveloper 評論0 收藏0

發(fā)表評論

0條評論

最新活動
閱讀需要支付1元查看
<