Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shushugah/jekyll-sound_cloud-plugin
Jekyll SoundCloud plugin
https://github.com/shushugah/jekyll-sound_cloud-plugin
gem jekyll-plugin ruby soundcloud
Last synced: 21 days ago
JSON representation
Jekyll SoundCloud plugin
- Host: GitHub
- URL: https://github.com/shushugah/jekyll-sound_cloud-plugin
- Owner: shushugah
- License: mit
- Created: 2019-01-20T01:43:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-20T03:32:26.000Z (almost 6 years ago)
- Last Synced: 2024-10-04T18:07:02.325Z (about 1 month ago)
- Topics: gem, jekyll-plugin, ruby, soundcloud
- Language: Ruby
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jekyll SoundCloud Plugin
A Jekyll plugin for embedding SoundCloud tracks in your Liquid templates.
## Installation
Add this to your Gemfile and `bundle install`
```ruby
gem 'jekyll'group :jekyll_plugins do
gem 'jekyll-sound_cloud'
end
```## Usage:
```
{% soundcloud_sound 256241332 %}
{% soundcloud_sound 256241332 widgetname %}
{% soundcloud_sound 256241332 widgetname ffffff %}
{% soundcloud_sound 256241332 widgetname ffffff small %}
```
`256241332` is a sample SoundCloud trackID, `widgetname` is the sound's visual representation, `ffffff` is the `color`, and `size` is the size (SoundCloud gives you three options for the artwork widget).### Available SoundCloud widgets:
* html5 (default)
* *flash
* *mini
* *artwork*Requires a paid SoundCloud tier
### Contributors
* @cnunciato -- original repository [here](https://github.com/cnunciato/jekyll-soundcloud)
* @shushugah