diff --git a/.DS_Store b/.DS_Store
deleted file mode 100644
index 96ae504..0000000
Binary files a/.DS_Store and /dev/null differ
diff --git a/plugins/soundcloud_filter/plugin.js b/plugins/soundcloud_filter/plugin.js
new file mode 100755
index 0000000..78eb815
--- /dev/null
+++ b/plugins/soundcloud_filter/plugin.js
@@ -0,0 +1,52 @@
+(function() {
+
+CKEDITOR.plugins.add('soundcloud_filter',
+{
+  init: function(editor)
+  {
+    /* COMMAND */
+    editor.addCommand('insertSoundcloud', new CKEDITOR.dialogCommand('soundcloud_filterDialog'));
+
+    /* BUTTON */
+    editor.ui.addButton('soundcloud_filter',
+    {
+      label: 'SoundCloud',
+      command: 'insertSoundcloud',
+      icon: this.path + 'soundcloud_filter.png'
+    });
+
+    /* DIALOG */
+    CKEDITOR.dialog.add('soundcloud_filterDialog', function (editor)
+    {
+      return {
+        title : 'Embed SoundCloud Audio',
+        minWidth : 300,
+        minHeight : 200,
+        contents :
+        [{
+          id : 'tab1',
+          label : 'Settings',
+          elements :
+          [{
+            type : 'text',
+            id : 'url',
+            label : 'SoundCloud media URL',
+            validate : CKEDITOR.dialog.validate.notEmpty("The URL for the SoundCloud audio you wish to embed.")
+          },
+          ]
+        }],
+        onOk : function()
+          {
+            var dialog = this;
+            var url = dialog.getValueOf('tab1', 'url');
+            var inplaceTag = '[soundcloud:' + url + ']';
+            editor.insertHtml(inplaceTag);
+          }
+        };
+//dialog.add
+      });
+//init:
+    }
+//plugin.add
+  });
+})();
diff --git a/plugins/soundcloud_filter/soundcloud_icon.jpg b/plugins/soundcloud_filter/soundcloud_icon.jpg
new file mode 100644
index 0000000..0a3525e
Binary files /dev/null and b/plugins/soundcloud_filter/soundcloud_icon.jpg differ
diff --git a/soundcloud_filter.module b/soundcloud_filter.module
index 62386c1..73843e4 100755
--- a/soundcloud_filter.module
+++ b/soundcloud_filter.module
@@ -1,5 +1,4 @@
 <?php
-
 /**
  * @file
  * SoundCloud filter is a module to embed a SoundCloud track in your site using a simple tag
@@ -119,9 +118,9 @@ function _soundcloud_filter_settings($form, &$form_state, $filter, $format, $def
   );
 
   $settings['soundcloud_filter_color'] = array(
-    '#type' => module_exists('jquery_colorpicker') ? 'jquery_colorpicker' : 'textfield', 
+    '#type' => module_exists('jquery_colorpicker') ? 'jquery_colorpicker' : 'textfield',
     '#title' => t('Default color'),
-    '#description' => t('Please enter a color value in the form RRGGBB. Turn on the jQuery Colorpicker module if available. '),    
+    '#description' => t('Please enter a color value in the form RRGGBB. Turn on the jQuery Colorpicker module if available. '),
     '#default_value' => isset($filter->settings['soundcloud_filter_color']) ? $filter->settings['soundcloud_filter_color'] : $defaults['soundcloud_filter_color'],
     '#maxlength' => 6,
   );
@@ -169,9 +168,9 @@ function _soundcloud_filter_process($text, $filter, $format, $langcode, $cache,
             $splitted_url = explode("/", $parsed_url['path']);
 
             if ($splitted_url[2] != 'sets') {
-              $params = 'url=' . $encoded_url . 
-                        '&amp;show_comments=' . $sound['showcomments'] . 
-                        '&amp;auto_play=' . $sound['autoplay'] . 
+              $params = 'url=' . $encoded_url .
+                        '&amp;show_comments=' . $sound['showcomments'] .
+                        '&amp;auto_play=' . $sound['autoplay'] .
                         '&amp;color=' . $sound['color'];
 
               $r = theme('soundcloud_filter_embed', array('sound' => $sound, 'params' => $params));
@@ -180,7 +179,7 @@ function _soundcloud_filter_process($text, $filter, $format, $langcode, $cache,
               $params = 'url=' . $encoded_url .
                         '&amp;show_comments=' . $sound['showcomments'] .
                         '&amp;auto_play=' . $sound['autoplay'] .
-                        '&amp;show_playcount=' . $sound['showplaycount'] . 
+                        '&amp;show_playcount=' . $sound['showplaycount'] .
                         '&amp;show_artwork=' . $sound['showartwork'] .
                         '&amp;color=' . $sound['color'];
 
@@ -363,7 +362,7 @@ function soundcloud_filter_wysiwyg_popup() {
 
   print theme('soundcloud_filter_wysiwyg_popup', array(
     'path' => $path,
-    'tinymce_path' => $tinymce_path, 
+    'tinymce_path' => $tinymce_path,
     'tinymce_js' => $tinymce_js,
     'form' => render(drupal_get_form('_soundcloud_filter_form'))
   ));
@@ -495,6 +494,25 @@ function soundcloud_filter_wysiwyg_plugin($editor, $version) {
   }
 }
 
+/**
+ * Implements hook_ckeditor_plugin().
+ */
+function soundcloud_filter_ckeditor_plugin() {
+  return array(
+    'soundcloud_filter' => array(
+      'name' => 'soundcloud_filter',
+      'desc' => t('Ckeditor soundcloud'),
+      'path' => drupal_get_path('module', 'soundcloud_filter') . '/plugins/soundcloud_filter/',
+      'buttons' => array(
+        'soundcloud_filter' => array(
+          'icon' => 'soundcloud_icon.jpg',
+          'label' => 'SoundCloud',
+        ),
+      ),
+    ),
+  );
+}
+
 /*
  * Curl helper function
  */
