Git Product home page Git Product logo

ckeditor-audio-plugin's Introduction

Ckeditor html5 audio plugin

Installation

1. Copy plugin to your project in any convenient way

Using Bower:

bower install ckeditor-audio-plugin

Using composer asset plugin:

composer require bower-asset/ckeditor-audio-plugin

2. Configure Ckeditor

CKEDITOR.plugins.addExternal("audio", "assets/vendor/ckeditor-audio-plugin/audio/plugin.js");

Optional: You can use default browser for browsing server files

filebrowserBrowseUrl: "{{ admin.generateUrl('browse', {'type': 'image'}) }}"

or custom

filebrowserAudioBrowseUrl: "/browse/audio"

(or other installation path)

Inside config:

extraPlugins: "...,audio"

About

This is only an adaptation of Video plugin for CKEditor created by Alfonso Martínez de Lizarrondo

Originally forked from https://github.com/Philalawst/cke_audio

###List of improvements

#####by aemr3

  • Added autoplay/loop/controls options
  • Changed default audio formats to mp3/wav
  • Removed div around audio tags. (Causes some trouble)

#####by harentius

  • Added plugin button to 'insert' group, stylized for Ckeditor 4
  • Removed redundant second upload field
  • Improved this readme
  • Added file upload tab

ckeditor-audio-plugin's People

Contributors

philalawst avatar

Watchers

James Cloos avatar DougTI 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.