Giter Site home page Giter Site logo

jekyll-miniaudio's Introduction

Jekyll::Miniaudio

A minimal audio plugin for Jekyll.

The implementation is based on HTML5 audio element (without fallback support for flash), so a morden browser is expected.

Audio formats support also depends on browsers, but generally mp3, wav, ogg are supported.

See Live Demo

Installation

  • In your Jekyll project's Gemfile:
      group :jekyll_plugins do
          ...   # other plugins
          jekyll-miniaudio # add here
      end
    then bundle install.

Usage

This plugin is a Jekyll Tag, you just pass either an audio link or file path.

  • Use with audio link:

    {% miniaudio 'https://somewhere/themusic.mp3' %}

  • Use with file path. For example if you have a demo.ma3 located in your assets/music folder, then just put:

    {% miniaudio '/assets/music/demo.mp3' %}

    ** Note: Ensure your file is accessible via http(s)://YOUR_HOST/assets/demo.mp3**

Issues and feature requests

Feel free to create issues or send me email [email protected].

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/hailengc/jekyll-miniaudio.

License

The gem is available as open source under the terms of the MIT License.

jekyll-miniaudio's People

Contributors

hailengc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.