diff --git a/generators/epub/converter.cpp b/generators/epub/converter.cpp
index 1e754ec..17a0698 100644
--- a/generators/epub/converter.cpp
+++ b/generators/epub/converter.cpp
@@ -18,6 +18,8 @@
 #include <kdebug.h>
 #include <klocale.h>
 #include <core/action.h>
+#include <core/sound.h>
+#include <core/movie.h>

 using namespace Epub;

@@ -212,6 +214,36 @@ QTextDocument* Converter::convert( const QString &fileName )
         }
       }

+      QDomNodeList audios = dom.elementsByTagName("audio");
+      if(!audios.isEmpty()) {
+          QString lnk = audios.at(0).toElement().attribute("src");
+          Okular::Sound *ss = new Okular::Sound(lnk);
+          Okular::SoundAction *act = new Okular::SoundAction(100.0,true,true,false,ss);
+          int pos = _cursor->block().position();
+          _cursor->insertHtml("<p>sound<p>");
+          addAction(act,pos, pos+5);
+      }
+
+      QDomNodeList videos = dom.elementsByTagName("video");
+      if(!videos.isEmpty()) {
+          for (int i = 0; i < videos.size(); ++i) {
+              QDomNodeList sources = videos.at(i).toElement().elementsByTagName("source");
+              if(!sources.isEmpty()) {
+                  QString lnk = sources.at(0).toElement().attribute("src");
+                  Okular::Movie *mm = new Okular::Movie(lnk);
+                  mm->setAutoPlay(true);
+                  mm->setPlayMode(Okular::Movie::PlayRepeat);
+                  mm->setShowControls(true);
+                  Okular::MovieAction *act = new Okular::MovieAction(Okular::MovieAction::Play);
+                  int pos = _cursor->position();
+                  _cursor->insertText("video is here");
+                  addAction(act,pos, _cursor->position());
+              }
+          }
+      }
+
+
+
       QTextBlock before;
       const QString css = "<style> body { color : "+ mTextDocument->txtColor.name()+"; }"
         " a { color : blue; }</style>";
