<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,7 +3,7 @@ ActsAsVideoclub
 
 Allows for videos to be added to any model, with a helper for showing them on views
 
-Right now it supports Google Videos, YouTube and Vimeo APIs, but adding additional sources is something trivial.
+Right now it supports Google Videos, Dailymotion, YouTube and Vimeo APIs, but adding additional sources is something trivial.
 
 
 == Resources
@@ -57,4 +57,4 @@ http://github.com/linkingpaths/acts_as_videoclub
 http://github.com/linkingpaths/acts_as_videoclub/wikis
 
 
-Copyright (c) 2008 Linking Paths, released under the MIT license
\ No newline at end of file
+Copyright (c) 2008 Linking Paths, released under the MIT license</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -39,8 +39,19 @@ module LinkingPaths
             &lt;param name=&quot;movie&quot; value=&quot;http://www.vimeo.com/moogaloop.swf?clip_id=-#{id}&amp;amp;server=www.vimeo.com&amp;amp;fullscreen=1&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&quot; /&gt;
           &lt;/object&gt;
           EOS
+        when /dailymotion/
+          video.source_url =~ /video\/([^&amp;]+)/
+          id = $1
+          &lt;&lt;-EOS
+          &lt;object width=&quot;#{options[:width]}&quot; height=&quot;#{options[:height]}&quot;&gt;
+            &lt;param name=&quot;movie&quot; value=&quot;http://www.dailymotion.com/swf/#{id}&amp;related=1&quot;&gt;&lt;/param&gt;
+            &lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;
+            &lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;
+            &lt;embed src=&quot;http://www.dailymotion.com/swf/#{id}&amp;related=1&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;#{options[:width]}&quot; height=&quot;#{options[:height]}&quot; allowFullScreen=&quot;true&quot; allowScriptAccess=&quot;always&quot;&gt;&lt;/embed&gt;
+          &lt;/object&gt;
+          EOS
         else
-          &quot;Video service is not supported or the URL is not valid. Only Google Videos, Vimeo and youtube are supported (#{video.source_url})&quot;
+          &quot;Video service is not supported or the URL is not valid. Only Google Videos, Vimeo, Dailymotion and youtube are supported (#{video.source_url})&quot;
         end
       end
 </diff>
      <filename>lib/videoclub_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9f04201999bfd21f655784ff55c473239e5f3bd5</id>
    </parent>
  </parents>
  <author>
    <name>Alberto Molpeceres</name>
    <email>alberto.molpeceres@gmail.com</email>
  </author>
  <url>http://github.com/linkingpaths/acts_as_videoclub/commit/70a7fbf6467f9e5beabeefd575b1f523897e6c99</url>
  <id>70a7fbf6467f9e5beabeefd575b1f523897e6c99</id>
  <committed-date>2008-12-15T06:34:44-08:00</committed-date>
  <authored-date>2008-12-15T06:34:44-08:00</authored-date>
  <message>daylimotion support</message>
  <tree>fc3ee72173e8dda0392eda03e3fc4657b0d0b393</tree>
  <committer>
    <name>Alberto Molpeceres</name>
    <email>alberto.molpeceres@gmail.com</email>
  </committer>
</commit>
