]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/commitdiff
Add support for dailymotion.com, with tests.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 17 Apr 2010 19:31:09 +0000 (15:31 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 17 Apr 2010 19:31:09 +0000 (15:31 -0400)
src/websites/dailymotion.rb [new file with mode: 0644]
test/dailymotion_test.rb [new file with mode: 0644]
test/fixtures/dailymotion/ms_new_booty.html [new file with mode: 0644]
test/test_suite.rb

diff --git a/src/websites/dailymotion.rb b/src/websites/dailymotion.rb
new file mode 100644 (file)
index 0000000..f988ce6
--- /dev/null
@@ -0,0 +1,56 @@
+#
+# Copyright Michael Orlitzky
+#
+# http://michael.orlitzky.com/
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# http://www.fsf.org/licensing/licenses/gpl.html
+#
+
+require 'src/website'
+
+class Dailymotion < Website
+
+  VALID_DAILYMOTION_URL_REGEX = /^(http:\/\/)?(www\.)?dailymotion\.com\/video\/(.+)$/
+
+  def self.owns_url?(url)
+    return url =~ VALID_DAILYMOTION_URL_REGEX
+  end
+
+  
+  def get_video_url()
+    # Disable the family filter if necessary.
+    headers = { 'Cookie' => 'family_filter=off' }
+    page_data = self.get_page_data(@url, headers)
+    video_url = self.parse_video_url(page_data)
+    
+    return video_url
+  end
+
+
+  protected;
+
+  # Get the FLV file URL from the HTML page for this movie.
+  # It's stored in some Flash variable.
+  def parse_video_url(page_data)
+    video_url_regex = /addVariable\(\"video\", \"([^\"]+)\"/i
+    matches = video_url_regex.match(page_data)
+
+    if (matches.nil? || matches.length < 2)
+      raise StandardError.new('Could not find the "video" flash variable on the page.');
+    end
+    
+    return matches[1]
+  end
+
+
+end
diff --git a/test/dailymotion_test.rb b/test/dailymotion_test.rb
new file mode 100644 (file)
index 0000000..25ae463
--- /dev/null
@@ -0,0 +1,58 @@
+#
+# Copyright Michael Orlitzky
+#
+# http://michael.orlitzky.com/
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# http://www.fsf.org/licensing/licenses/gpl.html
+#
+
+require 'test/unit'
+require 'src/websites/dailymotion'
+
+
+class DailymotionTest < Test::Unit::TestCase
+
+  def test_owns_dailymotion_urls
+    assert(Dailymotion.owns_url?('http://www.dailymotion.com/video/xavgrm_japanese-cosplay-babes_news#hp-v-v8'))
+    assert(Dailymotion.owns_url?('http://www.dailymotion.com/video/xavgrm_japanese-cosplay-babes_news'))
+    assert(Dailymotion.owns_url?('http://www.dailymotion.com/video/xcuw24_penn-edgar-feature_sport#hp-v-v5'))
+    assert(Dailymotion.owns_url?('http://www.dailymotion.com/video/xcuw24_penn-edgar-feature_sport'))
+    assert(Dailymotion.owns_url?('http://www.dailymotion.com/video/x241fi_epic-movie-mrs-new-booty'))
+  end
+
+  
+  def test_doesnt_own_infoq_urls
+    assert(!Dailymotion.owns_url?('http://www.infoq.com/interviews/jim-weirich-discusses-rake'))
+  end
+
+  
+  def test_doesnt_own_efukt_urls
+    assert(!Dailymotion.owns_url?('http://www.efukt.com/2308_How_To_Fuck_Like_A_King.html'))
+    assert(!Dailymotion.owns_url?('http://www.efukt.com/2304_The_Dumbest_Porno_Ever_Made.html'))
+  end  
+
+  
+  def test_parse_video_url
+    ft = Dailymotion.new(nil)
+    
+    page_data = nil
+    
+    File.open('test/fixtures/dailymotion/ms_new_booty.html') do |f|
+      page_data = f.read
+    end
+    
+    test_result = ft.send('parse_video_url', page_data)
+    assert_equal('http://www.dailymotion.com/cdn/FLV-320x240/video/x241fi.flv?auth=1271704672-bc7bb7d6447e816d9247908b89407d3e', test_result)
+  end
+
+end
diff --git a/test/fixtures/dailymotion/ms_new_booty.html b/test/fixtures/dailymotion/ms_new_booty.html
new file mode 100644 (file)
index 0000000..0c2252b
--- /dev/null
@@ -0,0 +1,463 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xml:lang="fr" xmlns:fb="http://www.facebook.com/2008/fbml">
+  <head id="head">
+    <title>Dailymotion - Epic Movie - Mrs. New Booty - une vidéo Comédie et Humour</title>
+    <meta name="language" content="fr" />
+    <meta http-equiv="content-language" content="fr" />
+    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+    <meta name="medium" content="video" />
+    <meta name="video_type" content="application/x-shockwave-flash" />
+    <meta name="video_height" content="256" />
+    <meta name="video_width" content="320" />
+    <meta name="title" content="Dailymotion - Epic Movie - Mrs. New Booty - une vidéo Comédie et Humour" />
+    <meta name="description" lang="en" content="Retrouvez les meilleures séries humoristiques, les vidéos comiques d’humoristes connus et plus confidentiels ainsi que les incontournables stars du net. " />
+    <meta name="keywords" content="fun,drôle,hip,hop,epic,movie,bubba,sparxxx,narnia,pirates,caraibes,parodie,shortfilms" />
+    <meta name="copyright" content="http://www.dailymotion.com" />
+    <meta name="author" content="dailymotion.com" />
+    <meta name="y_key" content="a87a0d996fe5f70f" />
+    <meta name="msvalidate.01" content="119B83CAAE7115603A56A8E9C341C4D0" />
+    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
+    <link rel="stylesheet" href="http://ak.style.dailymotion.com/css/gen/widget/pack/baseskin-prod.css.v1198011637" />
+    <link rel="canonical" href="/video/x241fi_epic-movie-mrs-new-booty_fun" />
+    <link rel="image_src" type="image/jpeg" href="http://www.dailymotion.com/thumbnail/160x120/video/x241fi_epic-movie-mrs-new-booty_fun" />
+    <link rel="video_src" href="http://www.dailymotion.com/swf/video/x241fi?autoPlay=1" />
+    <link rel="thumbnail" type="image/jpeg" href="/thumbnail/320x240/video/x241fi" />
+    <link rel="alternate" type="application/json+oembed" href="http://www.dailymotion.com/api/oembed?url=http%3A%2F%2Fwww.dailymotion.com%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty_fun&format=json" title="Epic Movie - Mrs. New Booty" />
+    <link rel="alternate" type="text/xml+oembed" href="http://www.dailymotion.com/api/oembed?url=http%3A%2F%2Fwww.dailymotion.com%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty_fun&format=xml" title="Epic Movie - Mrs. New Booty" />
+    <link rel="search" type="application/opensearchdescription+xml" href="http://ak.style.dailymotion.com/css/opensearch.xml" title="Search videos on Dailymotion" />
+    <link rel="apple-touch-icon" href="http://ak.style.dailymotion.com/images/apple-touch-icon.png" />
+    <link rel="shortcut icon" type="image/x-icon" href="/images/favicon.ico" />
+    <style type="text/css">
+      div#right_content_box {margin-top:-488px;}
+    </style>
+    <script type="text/javascript" src="http://ak.style.dailymotion.com/js/gen/widget/pack/mandatory.js.v1198011637"></script>
+    <script type="text/javascript" src="http://cdn.gigya.com/wildfire/js/wfapiv2.js"></script>
+    <script type="text/javascript">
+      facebook_enabled = true;
+      document.write("<scr" + "ipt type=\"text/javascript\" src=\"http://www.dailymotion.com/masscast/4/dailymotion.us/explicit/fun/videoplayer/2061706532@Middle,Top,x11,x13?DMEXPLICIT=1&DMEXT=0&DMVIDEO=3547710&DMOWNER=wdhliv&DMDURATION=59&DMVIDEOAGE=25303&DMCHANNEL=fun&DMLANG=en&DMTYPE=prod&DMV3=1\"></scr" + "ipt>");
+      document.write("<scr" + "ipt type=\"text/javascript\" src=\"/js/lib/masscast/richOAS.js\"></scr" + "ipt>");
+    </script>
+  </head>
+  <body id="bodyall" class="dm_page_html_video">
+    <div id="topwrapper">
+      <div id="header_full"><div id="header"><div class="contain"><span class="dmco_simplelink logo dmco_simplelink dmco_link linkable href_2f7573 title_4461696c796d6f74696f6e">Dailymotion</span><div class="dmpi_localeselector" id="language_menu">
+  <div id="selected_locale">
+    <a class="dmco_flag dmco_flag_us" href="javascript:void(0);" title="United States">
+      <span class="flag"></span>
+      United States <span class="arrow">▾</span>
+    </a>
+  </div>
+</div><span class="dmco_simplelink upload_button dmco_simplelink dmco_link linkable href_2f75706c6f6164 title_55706c6f6164206120566964656f">Upload a Video</span><div id="family_filter">Family Filter  <a id="family_filter_link" href="/family_filter?urlback=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&enable=1">OFF</a></div><div id="login_info" class="login_info"><a class="dmco_simplelink dm_login_info sign_in no_icon_loading popup_ie_width width_440 dmco_simplelink dmco_link action:popup" href="/pageitem/loginpopup?mode=basic&amp;request=/login&amp;urlback=http%3A%2F%2Fwww.dailymotion.com%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&amp;request=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&amp;ajax_rnd=4bca0914a33c9" title="Sign in" onclick="DM_Ajax.link(this); return false;">Sign in</a><div id="login_infos" class="dmco_html dmpi_facebook_connect fb_button fb_no_infos"><a class="fake_fb_login_button icon_facebook_short no_icon_loading popup_ie_width width_440 action:popup" onclick="DM_Ajax.link(this); return false;" href="/pageitem/loginpopup?mode=basic&request=/login&urlback=http%3A%2F%2Fwww.dailymotion.com%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty"></a></div><span class="dmco_simplelink register dmco_simplelink dmco_link linkable href_2f7265676973746572 title_5265676973746572">Register</span></div><script type="text/javascript">loadLogin();</script></div></div><div id="flag_select"><div class="contain"><div class="dmpi_localeselector" id="country_selector" style="display: none;"><a class="dmco_flag language_en country_en dmco_flag_en" href="/video/x241fi_epic-movie-mrs-new-booty" title="International">
+  <span class="flag"></span>
+  International
+</a><a class="dmco_flag language_en country_ca dmco_flag_ca" href="/video/x241fi_epic-movie-mrs-new-booty" title="Canada (EN)">
+  <span class="flag"></span>
+  Canada (EN)
+</a><a class="dmco_flag language_fr country_fr dmco_flag_fr" href="/video/x241fi_epic-movie-mrs-new-booty" title="France">
+  <span class="flag"></span>
+  France
+</a><a class="dmco_flag language_nl country_nl dmco_flag_nl" href="/video/x241fi_epic-movie-mrs-new-booty" title="Nederland">
+  <span class="flag"></span>
+  Nederland
+</a><a class="dmco_flag language_ro country_ro dmco_flag_ro" href="/video/x241fi_epic-movie-mrs-new-booty" title="România">
+  <span class="flag"></span>
+  România
+</a><a class="dmco_flag language_en country_gb dmco_flag_gb" href="/video/x241fi_epic-movie-mrs-new-booty" title="United Kingdom">
+  <span class="flag"></span>
+  United Kingdom
+</a><a class="dmco_flag language_es country_ar dmco_flag_ar" href="/video/x241fi_epic-movie-mrs-new-booty" title="Argentina">
+  <span class="flag"></span>
+  Argentina
+</a><a class="dmco_flag language_fr country_ca dmco_flag_ca" href="/video/x241fi_epic-movie-mrs-new-booty" title="Canada (FR)">
+  <span class="flag"></span>
+  Canada (FR)
+</a><a class="dmco_flag language_en country_in dmco_flag_in" href="/video/x241fi_epic-movie-mrs-new-booty" title="India">
+  <span class="flag"></span>
+  India
+</a><a class="dmco_flag language_de country_at dmco_flag_at" href="/video/x241fi_epic-movie-mrs-new-booty" title="Österreich">
+  <span class="flag"></span>
+  Österreich
+</a><a class="dmco_flag language_fr country_ch dmco_flag_ch" href="/video/x241fi_epic-movie-mrs-new-booty" title="Suisse (FR)">
+  <span class="flag"></span>
+  Suisse (FR)
+</a><a class="dmco_flag language_en current_locale country_us dmco_flag_us" href="/video/x241fi_epic-movie-mrs-new-booty" title="United States">
+  <span class="flag"></span>
+  United States
+</a><a class="dmco_flag language_fr country_be dmco_flag_be" href="/video/x241fi_epic-movie-mrs-new-booty" title="Belgique (FR)">
+  <span class="flag"></span>
+  Belgique (FR)
+</a><a class="dmco_flag language_de country_de dmco_flag_de" href="/video/x241fi_epic-movie-mrs-new-booty" title="Deutschland">
+  <span class="flag"></span>
+  Deutschland
+</a><a class="dmco_flag language_en country_ie dmco_flag_ie" href="/video/x241fi_epic-movie-mrs-new-booty" title="Ireland">
+  <span class="flag"></span>
+  Ireland
+</a><a class="dmco_flag language_pl country_pl dmco_flag_pl" href="/video/x241fi_epic-movie-mrs-new-booty" title="Polska">
+  <span class="flag"></span>
+  Polska
+</a><a class="dmco_flag language_de country_ch dmco_flag_ch" href="/video/x241fi_epic-movie-mrs-new-booty" title="Schweiz (DE)">
+  <span class="flag"></span>
+  Schweiz (DE)
+</a><a class="dmco_flag language_ja country_jp dmco_flag_jp" href="/video/x241fi_epic-movie-mrs-new-booty" title="日本">
+  <span class="flag"></span>
+  日本
+</a><a class="dmco_flag language_nl country_be dmco_flag_be" href="/video/x241fi_epic-movie-mrs-new-booty" title="België (NL)">
+  <span class="flag"></span>
+  België (NL)
+</a><a class="dmco_flag language_es country_es dmco_flag_es" href="/video/x241fi_epic-movie-mrs-new-booty" title="España">
+  <span class="flag"></span>
+  España
+</a><a class="dmco_flag language_it country_it dmco_flag_it" href="/video/x241fi_epic-movie-mrs-new-booty" title="Italia">
+  <span class="flag"></span>
+  Italia
+</a><a class="dmco_flag language_pt country_pt dmco_flag_pt" href="/video/x241fi_epic-movie-mrs-new-booty" title="Portugal">
+  <span class="flag"></span>
+  Portugal
+</a><a class="dmco_flag language_it country_ch dmco_flag_ch" href="/video/x241fi_epic-movie-mrs-new-booty" title="Svizzera (IT)">
+  <span class="flag"></span>
+  Svizzera (IT)
+</a><a class="dmco_flag language_pt country_br dmco_flag_br" href="/video/x241fi_epic-movie-mrs-new-booty" title="Brasil">
+  <span class="flag"></span>
+  Brasil
+</a><a class="dmco_flag language_el country_gr dmco_flag_gr" href="/video/x241fi_epic-movie-mrs-new-booty" title="Ελλάδα">
+  <span class="flag"></span>
+  Ελλάδα
+</a><a class="dmco_flag language_es country_mx dmco_flag_mx" href="/video/x241fi_epic-movie-mrs-new-booty" title="México">
+  <span class="flag"></span>
+  México
+</a><a class="dmco_flag language_ru country_ru dmco_flag_ru" href="/video/x241fi_epic-movie-mrs-new-booty" title="Россия">
+  <span class="flag"></span>
+  Россия
+</a><a class="dmco_flag language_tr country_tr dmco_flag_tr" href="/video/x241fi_epic-movie-mrs-new-booty" title="Türkiye">
+  <span class="flag"></span>
+  Türkiye
+</a></div></div><div class="dmco_clear"><!-- --></div></div><div id="header_nav"><div class="contain"><ul class="dmco_menu header_main_menu bottom"><li><div class="menu_link"><a id="header_menu-home" class="main_menu_link href_2f75732f6368616e6e656c73" title="Home" href="/us">Home</a></div></li><li><div class="menu_link"><a id="header_menu-videos" class="main_menu_link href_2f66656174757265642f31" title="Videos" href="/us/visited-today/1">Videos</a></div></li><li><div class="menu_link"><a id="header_menu-channels" class="main_menu_link href_2f75732f6368616e6e656c73" title="Channels" href="/us/channels">Channels</a></div></li><li><div class="menu_link"><a id="header_menu-community" class="main_menu_linkhref_2f75732f75736572732f706f70756c61722d6d6f6e74682f6f6666696369616c2f31" title="Community" href="/us/users/featured/1">Community</a></div></li></ul><form action="/" class="dmco_form_container dmco_form dmpi_search" id="header_search" method="get">
+  <div style="display:none">
+    <input class="dmco_form_input dmco_form_hidden " id="header_search_form_name" name="form_name" type="hidden" value="dm_pageitem_search" />
+  </div>
+  <input class="dmco_form_input dmco_form_text  text" id="header_search_search" maxlength="256" autocomplete="off" name="search" type="text" value="" /><select class="dmco_form_input dmco_form_choice " style="display:none;" id="header_search_kind" name="kind">
+  <option value="video">Videos</option>
+  <option value="user">Users</option>
+  <option value="group">Groups</option>
+  <option value="playlist">Playlists</option>
+</select><input class="dmco_form_input dmco_form_submit button auto short_input " id="header_search_submit_button" type="submit" name="submit_button" value="Search" />
+</form></div></div><div id="breadcrumb"><div class="contain"><a href="/us" class="home" alt="Home" title="Home">home</a><span> > </span><a href="/us/channel/fun">funny</a><span> > </span><a href="/channel/fun/1">videos</a><span> > </span><b>epic movie - mrs. new booty</b></div></div></div>
+      <div id="wrapper" class="container">
+        <div class="dmco_box">
+          <div class="dmpi_masscast">
+            <div id="mc_Top" class="Top"><center></center></div>
+          </div>
+        </div>
+        <div id="content">
+          <div class="dmpi_box dmpi_bigbox">
+            <div class="box_header is_bigbox_header">
+              <div class="header_center">
+                <div class="dmco_box left_title">
+                  <h1 class="dmco_title"><span class="title" title="Epic Movie - Mrs. New Booty">Epic Movie - Mrs. New Booty</span></h1>
+                </div>
+              </div>
+            </div>
+            <div class="box_content">
+              <div class="content_right">
+                <div class="dmco_box column span-8 top_box_content" id="top_content_box">
+                  <div class="dmpi_box dmpi_subbox player_box">
+                    <div class="box_header">
+                      <div class="dmco_box left_title">
+                        <h2 class="dmco_title"><a href="/family_filter?urlback=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty">« go back</a></h2>
+                      </div>
+                      <div class="dmco_box right_title">
+                        <h2 class="dmco_title"><div class="dmco_html dmpi_video_stats video_stats"><span class="optional_stat"><a class="dmco_simplelink popup_ie_width width_600 dmco_simplelink dmco_link action:popup" href="/pageitem/video/charts?request=%2Fvideo%2Fx241fi&amp;ajax_rnd=4bca0960521e2" title="&lt;b class=&quot;video_views_value&quot;&gt;541&lt;/b&gt; views. " onclick="DM_Ajax.link(this); return false;"><b class="video_views_value">541</b> views. </a><span class="sep"> | </span></span><span class="optional_stat"><b class="video_comments_value">0</b> com.<span class="sep"> | </span></span><span class="optional_stat"><b class="video_bookmarks_value">0</b> fav.</span></div></h2>
+                      </div>
+                    </div>
+                    <div class="box_content">
+                      <div class="dmpi_video_playerv4 span-8" id="player_4bca096053471" style="height: 456px;">
+                        <div class="dmco_html" id="container_player_4bca096053471"><script type="text/javascript">
+        var version = deconcept.SWFObjectUtil.getPlayerVersion().major;
+        //version = 7;
+        if (version >= 9)
+        {
+            var so = new SWFObject("/flash/dmplayerv4/dmplayerv4.swf?1198011637", "video_player_4bca096053471", "100%", "100%", "9", "#336699");
+            so.addVariable("background",  "0x171D1B");so.addVariable("foreground", "0xF7FFFD");so.addVariable("highlight",  "0xFFCC33");so.addVariable("enableApi",  "1");so.addVariable("chromeless",  "0");so.addVariable("id",  "video_player_4bca096053471");so.addVariable("masscastLocation",  "");so.addVariable("skin", DM_Widget_PageItem_Masscast.getPlayerSkin("http://www.dailymotion.com/flash/dmplayerv4/default.swf"));so.addVariable("defaultSkin", "http://ak.style.dailymotion.com/skin/data/player/default.swf.v1198011637");so.addVariable("sequence",  "%5B%7B%22name%22%3A%22background%22%2C%22layerList%22%3A%5B%7B%22name%22%3A%22background%22%2C%22type%22%3A%22Background%22%2C%22param%22%3A%7B%22color%22%3A%22000000%22%7D%7D%5D%7D%2C%7B%22name%22%3A%22main%22%2C%22layerList%22%3A%5B%7B%22name%22%3A%22message%22%2C%22type%22%3A%22Message%22%2C%22param%22%3A%7B%22title%22%3A%22Explicit+content.%22%2C%22message%22%3A%22Dailymotion%5C%27s+users+have+flagged+this+content+as+suitable+for+mature+audiences+only.+You+must+be+logged+in%2C+over+18+years+old%2C+and+set+your+family+filter+OFF%2C+in+order+to+watch+it.+Please+%3Ca+href%3D%5C%22%5C%2Fregister%5C%22+target%3D%5C%22_top%5C%22%3Eregister%3C%5C%2Fa%3E%3B+it%5C%27s+100%25+free%2C+or+%3Ca+href%3D%5C%22%5C%2Flogin%3Furlback%3D%5C%2Ffamily_filter%3Furlback%3D%252Fvideo%252Fx241fi_epic-movie-mrs-new-booty%5C%22+target%3D%5C%22_top%5C%22%3Elogin%3C%5C%2Fa%3E+then+complete+the+birth+information+in+%3Ca+href%3D%5C%22%5C%2Fprofile%5C%2Fpersonalinfo%3Furlback%3D%5C%2Ffamily_filter%3Furlback%3D%252Fvideo%252Fx241fi_epic-movie-mrs-new-booty%5C%22+target%3D%5C%22_top%5C%22%3Eyour+profile%3C%5C%2Fa%3E.%22%2C%22statusCode%22%3A403%2C%22dmCode%22%3A%22DM008%22%7D%7D%5D%7D%5D");
+        }
+        else
+        {
+            var so = new SWFObject("/flash/dmplayerv4l/dmplayerv4l.swf?1198011637", "video_player_4bca096053471", "100%", "100%", "7", "#336699");
+            so.addVariable("preview", "http://ak2.static.dailymotion.com/static/video/017/745/3547710:jpeg_preview_large.jpg?20100318060345");so.addVariable("auto", "1");so.addVariable("fill", "0");so.addVariable("video", "http://www.dailymotion.com/cdn/FLV-320x240/video/x241fi.flv?auth=1271704672-bc7bb7d6447e816d9247908b89407d3e");so.addVariable("log", "1@@http://logger.dailymotion.com/video/access/x241fi?session_id=&referer=http%3A%2F%2Fwww.dailymotion.com%2Ffamily_filter%3Furlback%3D%252Fvideo%252Fx241fi_epic-movie-mrs-new-booty&country=US&key=3m1kabg09a0ix6fyml11kio&v=4bca3320&i=4431df4e&h=90cbe289b9402584c9a68f1afbe880aa");
+        }
+        so.addParam("wmode", "transparent");
+        so.addParam("allowfullscreen", "true");
+        so.addParam("allowscriptaccess", "always");
+        so.useExpressInstall("/flash/dmmisc/expressinstall.swf");
+        so.addParam("bgcolor", "#000000");
+        so.write("container_player_4bca096053471");</script><noscript><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="100%" height="100%"><param name="movie" value="/flash/dmplayerv4/dmplayerv4.swf?1198011637" /><param name="flashvars" value="id=player_4bca096053471&sequenceURI=%2Fsequence%2Fx241fi_epic-movie-mrs-new-booty_fun&background=0x171D1B&foreground=0xF7FFFD&highlight=0xFFCC33&enableApi=1&chromeless=0&skin=http%3A%2F%2Fwww.dailymotion.com%2Fflash%2Fdmplayerv4%2Fdefault.swf&masscastLocation=" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="wmode" value="opaque" /><embed src="/flash/dmplayerv4/dmplayerv4.swf?1198011637" flashvars="id=player_4bca096053471&sequenceURI=%2Fsequence%2Fx241fi_epic-movie-mrs-new-booty_fun&background=0x171D1B&foreground=0xF7FFFD&highlight=0xFFCC33&enableApi=1&chromeless=0&skin=http%3A%2F%2Fwww.dailymotion.com%2Fflash%2Fdmplayerv4%2Fdefault.swf&masscastLocation=" width="100%" height="100%" name="flvplayer" align="middle" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object></noscript></div>
+                      </div>
+                      <div class="dmco_html"><script type="text/javascript">if (window.DM_Widget_PageItem_Masscast) { DM_Widget_PageItem_Masscast.setTheaterAd(); }</script></div>
+                    </div>
+                  </div>
+                </div>
+                <div class="dmco_box column span-8 video_tools_box">
+                  <ul class="dmco_menu dmpi_video_tools" id="dmpi_video_tools"><li><a class="dmco_simplelink dmpi_video_tools_addbookmark popup_ie_width width_440 label dmco_simplelink dmco_link action:popup" href="/pageitem/loginpopup?mode=basic&amp;urlback=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&amp;restricted=1&amp;request=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty_fun&amp;ajax_rnd=4bca096057d1a" title="Add to your favorites" onclick="DM_Ajax.link(this); return false;"><span class="icon favorite"></span>Favorite</a></li><li><a class="dmco_simplelink label add_playlist popup_ie_width width_440 dmco_simplelink dmco_link action:popup" href="/pageitem/loginpopup?mode=basic&amp;urlback=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&amp;restricted=1&amp;request=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&amp;ajax_rnd=4bca096058213&amp;subRouteName=toolsPlaylist" title="Add video to a Playlist" onclick="DM_Ajax.link(this); return false;"><span class="icon playlist"></span>Playlist</a></li><li><a class="dmco_simplelink label add_to_group popup_ie_width width_440 dmco_simplelink dmco_link action:popup" href="/pageitem/loginpopup?mode=basic&amp;urlback=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&amp;restricted=1&amp;request=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&amp;ajax_rnd=4bca0960591fa&amp;subRouteName=toolsGroup" title="Invite this video to a group" onclick="DM_Ajax.link(this); return false;"><span class="icon group"></span>Group</a></li><li class=" last"><a class="dmco_simplelink label send_feedback dmco_simplelink dmco_link action:popup" href="/pageitem/abuse?request=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&amp;ajax_rnd=4bca0960596a0&amp;subRouteName=toolsReport" title="this video may offend" onclick="DM_Ajax.link(this); return false;"><span class="icon report"></span>Report</a></li></ul>
+                  <div class="dmco_box">
+                    <div class="dmpi_video_rating column span-2 last foreground rating_box">
+                      <div class="dmco_box dynamic_rating login">
+                        <div class="dmco_html current-rating" style="width:0px;" id="current_rating"> </div>
+                        <a class="dmco_simplelink popup_ie_width width_440 dm_rate rating_1 dmco_simplelink dmco_link action:popup" href="/pageitem/loginpopup?mode=basic&amp;request=%2Fvideo%2Fx4qxnl_building-the-titanic-part-1&amp;ajax_rnd=4bca0912275c8" title="You must be logged to vote" onclick="DM_Ajax.link(this); return false;"> </a>
+                        <a class="dmco_simplelink popup_ie_width width_440 dm_rate rating_2 dmco_simplelink dmco_link action:popup" href="/pageitem/loginpopup?mode=basic&amp;request=%2Fvideo%2Fx4qxnl_building-the-titanic-part-1&amp;ajax_rnd=4bca09122781d" title="You must be logged to vote" onclick="DM_Ajax.link(this); return false;"> </a>
+                        <a class="dmco_simplelink popup_ie_width width_440 dm_rate rating_3 dmco_simplelink dmco_link action:popup" href="/pageitem/loginpopup?mode=basic&amp;request=%2Fvideo%2Fx4qxnl_building-the-titanic-part-1&amp;ajax_rnd=4bca091227a92" title="You must be logged to vote" onclick="DM_Ajax.link(this); return false;"> </a>
+                        <a class="dmco_simplelink popup_ie_width width_440 dm_rate rating_4 dmco_simplelink dmco_link action:popup" href="/pageitem/loginpopup?mode=basic&amp;request=%2Fvideo%2Fx4qxnl_building-the-titanic-part-1&amp;ajax_rnd=4bca091227cdc" title="You must be logged to vote" onclick="DM_Ajax.link(this); return false;"> </a>
+                        <a class="dmco_simplelink popup_ie_width width_440 dm_rate rating_5 dmco_simplelink dmco_link action:popup" href="/pageitem/loginpopup?mode=basic&amp;request=%2Fvideo%2Fx4qxnl_building-the-titanic-part-1&amp;ajax_rnd=4bca091227f1f" title="You must be logged to vote" onclick="DM_Ajax.link(this); return false;"> </a>
+                      </div>
+                      <div class="dmco_text foreground2" id="rating_label">Vote!</div>
+                    </div>
+                  </div>
+                  <div class="dmco_html column span-8 last video_description foreground" id="video_description"></div>
+                  <div class="dmco_box more_desc_box column span-8 last">
+                    <a class="dmco_simplelink foreground2 dmco_simplelink dmco_link icon icon_plus_small" style="display: none;" id="more_video_description" href="javascript:void(0);" title="more">more</a>
+                    <a class="dmco_simplelink foreground2 dmco_simplelink dmco_link icon icon_minus_small" style="display: none;" id="less_video_description" href="javascript:void(0);" title="close">close</a>
+                  </div>
+                  <div class="dmpi_video_infos column span-8 last foreground">
+                    <div class="dmco_box misc_video_infos extra_infos_1">
+                      <div class="dmco_text dmco_text_formatted channel_cont"><b>Channel:</b> <a class="dmco_simplelink fromchannel_link dmco_simplelink dmco_link" href="/us/channel/fun" title="Funny">Funny</a></div>
+                      <div class="dmco_text dmco_text_formatted uploaded_cont"><b>Uploaded:</b> 05/29/07</div>
+                    </div>
+                    <div class="dmco_box">
+                      <div class="dmco_text dmco_text_formatted tags_cont" id="video_infos_tags"><b>Tags:</b> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f66756e title_66756e">fun</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f64722543332542346c65 title_6472c3b46c65">drôle</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f686970 title_686970">hip</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f686f70 title_686f70">hop</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f65706963 title_65706963">epic</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f6d6f766965 title_6d6f766965">movie</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f6275626261 title_6275626261">bubba</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f73706172787878 title_73706172787878">sparxxx</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f6e61726e6961 title_6e61726e6961">narnia</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f70697261746573 title_70697261746573">pirates</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f6361726169626573 title_6361726169626573">caraibes</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f7061726f646965 title_7061726f646965">parodie</span> <span class="dmco_simplelink dmpi_tag_item background_5 foreground2 dmco_simplelink dmco_link linkable href_2f7461672f73686f727466696c6d73 title_73686f727466696c6d73">shortfilms</span></div>
+                    </div>
+                  </div>
+                  <div class="dmco_html embed background_3 column span-8 last"><div class="embed_item left"><label class="foreground2">permalink:</label><input class="text embed_input" type="text" value="http://www.dailymotion.com/video/x241fi_epic-movie-mrs-new-booty_fun" onclick="this.select();"/></div><div class="embed_item right"><a class="dmco_simplelink custom_embed button popup_ie_width width_680 dmco_simplelink dmco_link action:popup" href="/pageitem/video/embedCode?request=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&amp;ajax_rnd=4bca09605663b" title="Customize embed code" onclick="DM_Ajax.link(this); return false;"><span class="embed_icon"></span></a><label class="foreground2">embed code:</label><input type="text" class="text embed_input" value="&lt;object width=&quot;480&quot; height=&quot;360&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.dailymotion.com/swf/video/x241fi&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 type=&quot;application/x-shockwave-flash&quot; src=&quot;http://www.dailymotion.com/swf/video/x241fi&quot; width=&quot;480&quot; height=&quot;360&quot; allowfullscreen=&quot;true&quot; allowscriptaccess=&quot;always&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;b&gt;&lt;a href=&quot;http://www.dailymotion.com/video/x241fi_epic-movie-mrs-new-booty_fun&quot;&gt;Epic Movie - Mrs. New Booty&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;i&gt;Uploaded by &lt;a href=&quot;http://www.dailymotion.com/wdhliv&quot;&gt;wdhliv&lt;/a&gt;. - &lt;a href=&quot;http://www.dailymotion.com/us/channel/fun&quot;&gt;Sitcom, sketch, and standup comedy videos.&lt;/a&gt;&lt;/i&gt;" onclick="this.select();"/></div></div>
+                  <div class="dmpi_box dmpi_subbox box_top_border column span-8 charts_box foreground visible_false">
+                    <div class="box_header">
+                      <div class="dmco_box left_title">
+                        <h2 class="dmco_title" id="box_charts_title">Statistics</h2>
+                      </div>
+                    </div>
+                    <div class="box_content"></div>
+                  </div>
+                  <div class="dmpi_video_charts hidden column span-8 last">
+                    <script>Event.observe(window, "load", function(){DM_Widget_PageItem_Video_Charts.init("x241fi_epic-movie-mrs-new-booty_fun", 0);});</script>
+                    <form action="/video/x241fi_epic-movie-mrs-new-booty" class="dmco_form_container dmco_form dmco_form" method="post">
+                      <div style="display:none">
+                        <input class="dmco_form_input dmco_form_hidden " id="form_name" name="form_name" type="hidden" value="dm_component_form" />
+                      </div>
+                      <div class="form_item " id="delay_cont">
+                        <span class="form_label">Time interval :</span>
+                        <div class="form_input ">
+                          <select class="dmco_form_input dmco_form_choice " id="delay" name="delay">
+                            <option value="hourly">Last Hour</option>
+                            <option value="daily" selected="selected">Last Day</option>
+                            <option value="monthly">Last Month</option>
+                          </select>
+                        </div>
+                      </div>
+                    </form>
+                    
+                  </div>
+                  <div class="dmpi_box dmpi_subbox box_top_border column span-8 comment_box foreground visible_true">
+                    <div class="box_header"></div>
+                    <div class="box_content">
+                      <div class="dmpi_comment_list column span-8 last" id="comment_list">
+                        <div class="dmco_html column span-8 last no_comments foreground">Comments are deactivated for this video.</div>
+                      </div>
+                    </div>
+                  </div>
+                </div>
+                <div class="dmco_box column span-4 last right_content" id="right_content_box">
+                  <div class="dmco_box dmco_advert_iabrighttitle column span-4 last background_20 dm_widget_advert_iabrighttitle">
+                    <div class="dmco_box mc_leftcol">
+                      <div class="dmco_html"><div id="mc_title" class="mc_title label">advertising</div></div>
+                    </div>
+                    <div class="dmpi_masscast background_20 column span-4 last" id="player_middle_ad">
+                      <div id="mc_Middle" class="Middle"></div>
+                    </div>
+                  </div>
+                  <div class="dmco_box column span-4 last user_infos background_3">
+                    <a class="dmco_avatar dmpi_user_avatar medium image_border" href="/wdhliv" title="wdhliv">
+                      <img src="http://ak2.static.dailymotion.com/static/user/726/969/969627:avatar_medium.jpg?20080912160816" alt="" class="dmco_image white_border" height="80" width="80" title="wdhliv" />
+                      
+                    </a>
+                    <div class="dmco_html owner">By <a class="name" href="/wdhliv">wdhliv</a></div>
+                    <a class="dmco_simplelink dmpi_user_subscribe button green_color medium_size popup_ie_width width_440 dmco_simplelink dmco_link action:popup" href="/pageitem/loginpopup?mode=basic&amp;urlback=%2Fpageitem%2Fuser%2Fsubscribe%3Frequest%3D%2Fwdhliv%26method%3DtoggleSubscribe%26urlback%3D%252Fvideo%252Fx241fi_epic-movie-mrs-new-booty&amp;request=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&amp;ajax_rnd=4bca096064608" title="wdhliv rocks! Become a fan and be updated when he uploads new videos!" onclick="DM_Ajax.link(this); return false;">Subscribe</a>
+                  </div>
+                  <div class="dmpi_video_related column span-4 last" id="related">
+                    <div class="dmco_box inline_tabs background_5" id="inline_tabs">
+                      <a class="dmco_simplelink href_2f72656c617465642f7832343166692f313a35 type_related video_33353437373130 tabselected tab dmco_simplelink dmco_link" id="link_related" href="/related/x241fi/1" title="videos related to Epic Movie - Mrs. New Booty">related</a>
+                      <div class="dmco_html tabsep"></div>
+                      <a class="dmco_simplelink href_2f757365722f7764686c69762f313a35 type_member video_33353437373130 tab foreground dmco_simplelink dmco_link" id="link_member" href="/user/wdhliv/1" title="wdhliv's videos">member</a>
+                      <div class="dmco_html tabsep"></div>
+                      <a class="dmco_simplelink href_2f706c61796c697374732f766964656f2f7832343166695f657069632d6d6f7669652d6d72732d6e65772d626f6f74795f66756e2f313a35 type_playlists video_33353437373130 tab foreground dmco_simplelink dmco_link" id="link_playlists" href="/playlists/video/x241fi_epic-movie-mrs-new-booty_fun/1" title="Playlists with this video">playlists</a>
+                      <div class="dmco_html tabsep"></div>
+                    </div>
+                    <div class="dmco_box" id="related_list_box">
+                      <div class="dmco_box tab_content" id="list_related">
+                        <div class="dmco_html loading_text">loading...</div>
+                      </div>
+                      <div class="dmco_box tab_content hide_content" id="list_member">
+                        <div class="dmco_html loading_text">loading...</div>
+                      </div>
+                      <div class="dmco_box tab_content hide_content" id="list_playlists">
+                        <div class="dmco_html loading_text">loading...</div>
+                      </div>
+                    </div>
+                  </div>
+                  <div class="dmco_clear"><!--comment for IE6 height --></div>
+                  <script type="text/javascript">
+google_ad_channel = "us fun";
+google_ad_client = "ca-dailymotion_js";
+google_ad_output = "js";
+google_ad_type = "text";
+google_feedback = "off";
+google_language = "en";
+google_max_num_ads = "4";
+google_hints = "fun,drôle,hip,hop,epic";
+</script>
+<div class="dmpi_adsense dmpi_adsense_forcontent on_player_page background light_border" id="adsense_300x250" style="display: none;"></div>
+
+                </div>
+                <div class="dmco_clear"><!--comment for IE6 height --></div>
+              </div>
+            </div>
+            <div class="dmco_clear"><!--comment for IE6 height --></div>
+          </div>
+          
+        </div>
+        
+      </div>
+      <div class="dmco_box" id="push_footer"></div>
+      <div class="dmco_box hide" id="cptpixel"></div>
+      <div class="dmpi_pagestats"><div class="dm_widget_pagestats" >          <div style="display:none">
+             <script type="text/javascript" id="vstag">
+               vskeys= {vs_version:"daily-2.50.2-prod",vs_urange:"25",vs_asnum:"AS33657",vs_lat:"39.3181000000000",vs_lng:"-76.6140000000000",vs_country:"US",vs_rid:"ruwh8hHok9js6tnUW",vs_log:"1",vs_screen:"0-0",vs_ff:"off",vs_locale:"us",vs_videotitle:"Epic Movie - Mrs. New Booty",vs_user:"wdhliv",vs_vchan:"fun",vs_video:"3547710",vs_player:"internal/dailymotion",vs_pagename:"player/internal/dailymotion/recent",vs_routename:"video_item"};
+               vsUrl= "http://sense.dailymotion.com/images/vs/tag.gif?";
+               vsRedUrl= "http://www.dailymotion.com/images/vs/tag.gif?";
+             </script>
+          </div>
+        <script type="text/javascript" src="http://edge.quantserve.com/quant.js"></script>
+        <script type="text/javascript">
+          _qacct="p-59ARNeKbT-0fM";quantserve();
+        </script>
+        <noscript>
+        <a href="http://www.quantcast.com/p-59ARNeKbT-0fM" target="_blank"><img src="http://pixel.quantserve.com/pixel/p-59ARNeKbT-0fM.gif" style="display: none" border="0" height="1" width="1" alt="Quantcast"/></a>
+        </noscript>
+</div></div>
+    </div>
+    <div class="dmpi_footer" id="footer">
+      <div class="dmco_box" id="footer_centered">
+        <ul class="dmco_menu column span-2 footer_menu" id="footer_dailymotion"><li><span class="footer_title">Dailymotion</span></li><li><span class="linkable id_646d636f5f6d656e755f34626361303765323265656432 href_2f75732f61626f7574">About</span></li><li><span class="linkable id_666f6f7465725f70726573735f6c696e6b href_687474703a2f2f70726573732e6461696c796d6f74696f6e2e636f6d">Press</span></li><li><span class="linkable id_646d636f5f6d656e755f34626361303765323330663739 href_2f75732f61626f75742f7374616666">Staff</span></li><li class=" last"><span class="linkable id_646d636f5f6d656e755f34626361303765323331316366 href_2f75732f61626f75742f6a6f6273">Jobs</span></li></ul>
+        <ul class="dmco_menu column span-2 footer_menu" id="footer_programmes"><li><span class="footer_title">Participate</span></li><li><span class="linkable id_666f6f7465725f6164766572746973655f6c696e6b href_687474703a2f2f6164766572746973696e672e6461696c796d6f74696f6e2e636f6d">Advertise</span></li><li><span class="linkable id_666f6f7465725f6d6f74696f6e6d616b65725f6c696e6b href_2f72656769737465722f6d6f74696f6e6d616b6572">Become a MotionMaker</span></li><li><span class="linkable id_666f6f7465725f6f6666696369616c5f6c696e6b href_2f75732f636f6e74656e742f6f6666696369616c">Become an Official User</span></li><li class=" last"><span class="linkable id_666f6f7465725f66656564626c69747a5f6c696e6b href_2f66656564626c69747a">Subscribe to daily updates</span></li></ul>
+        <ul class="dmco_menu column span-2 footer_menu" id="footer_help"><li><span class="footer_title">Help</span></li><li><span class="linkable id_646d636f5f6d656e755f34626361303765323332303331 href_2f75732f666171">FAQ</span></li><li class=" last"><span class="linkable id_646d636f5f6d656e755f34626361303765323332306236 href_2f75732f666565646261636b">Contact</span></li></ul>
+        <ul class="dmco_menu column span-2 footer_menu" id="footer_legal"><li><span class="footer_title">Legal terms</span></li><li><span class="linkable id_646d636f5f6d656e755f34626361303765323332323663 href_2f75732f6c6567616c2f7465726d73">Terms of use</span></li><li><span class="linkable id_646d636f5f6d656e755f34626361303765323332353666 href_2f75732f6c6567616c2f70726976616379">Privacy policy</span></li><li><span class="linkable id_646d636f5f6d656e755f34626361303765323332373136 href_2f75732f6c6567616c2f70726f68696269746564">Prohibited content</span></li><li class=" last"><span class="linkable id_646d636f5f6d656e755f34626361303765323332376230 href_2f75732f6c6567616c2f636f70797269676874">Copyright notification</span></li></ul>
+        <ul class="dmco_menu column span-2 footer_menu" id="footer_extras"><li><span class="footer_title">Extras</span></li><li><span class="linkable id_646d636f5f6d656e755f34626361303765323333613765 href_2f736c69646573686f772f637265617465">Slideshow</span></li><li><span class="linkable id_646d636f5f6d656e755f34626361303765323333643931 href_2f75732f666163746f72792f766964656f77616c6c">Videowall</span></li><li><span class="linkable id_646d636f5f6d656e755f34626361303765323333656237 href_2f75732f666163746f72792f66616365626f6f6b">Facebook</span></li><li><span class="linkable id_646d636f5f6d656e755f34626361303765323334303361 href_2f75732f646f632f6170692f706c61796572">Player API</span></li><li class=" last"><span class="linkable id_646d636f5f6d656e755f34626361303765323334313365 href_2f75732f657874726173">more …</span></li></ul>
+        <ul class="dmco_menu column span-2 last footer_menu" id="footer_followus"><li><span class="footer_title">Follow us</span></li><li><span class="linkable id_666f6f7465725f626c6f675f6c696e6b href_687474703a2f2f626c6f672e6461696c796d6f74696f6e2e636f6d">Blog</span></li><li><span class="linkable id_646d636f5f6d656e755f34626361303765323336393137 href_687474703a2f2f7777772e66616365626f6f6b2e636f6d2f70616765732f4461696c796d6f74696f6e2f363137363031383231393f7265663d747326763d77616c6c">Facebook</span></li><li class=" last"><span class="linkable id_646d636f5f6d656e755f34626361303765323336393537 href_687474703a2f2f747769747465722e636f6d2f4461696c796d6f74696f6e">Twitter</span></li></ul>
+        <div class="dmco_clear"><!--comment for IE6 height --></div>
+        <div class="dmco_text" id="footer_copyright">© 2005 - 2010 Dailymotion</div>
+      </div>
+    </div>
+    <div class="dm_scriptpack dmpi_bottomscripts">
+      <script type="text/javascript" src="http://ak.style.dailymotion.com/js/gen/widget/pack/video.js.v1198011637"></script>
+      <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
+<!-- Begin comScore Tag -->
+<script>
+document.write(unescape("%3Cscript src='" + (document.location.protocol == "https:" ?
+"https://sb" : "http://b") + ".scorecardresearch.com/beacon.js' %3E%3C/script%3E"));
+</script>
+<script>
+COMSCORE.beacon({
+   c1:2,
+   c2:"4000005",
+   c3:"4000005",
+   c4:"4000005",
+   c5:"060201",
+   c6:"x241fi_epic-movie-mrs-new-booty_fun"
+});
+</script>
+<noscript>
+<img src="http://b.scorecardresearch.com/b?c1=2&amp;c2=4000005&amp;c3=4000005&amp;c4=4000005&amp;c5=060201&amp;c6=x241fi_epic-movie-mrs-new-booty_fun&amp;cv=1.3&amp;cj=1" style="display:none" width="0" height="0" alt="" />
+</noscript>
+<!-- End comScore Tag --><div id='primary' style='visibility:hidden'>
+                <iframe src='/dm_files/radar5.html' id='myIframe' name='myIframe' height='0' width='0' border='0' scrolling='no' marginwidth='0' marginheight='0' frameborder='0' vspace='0' hspace='0' style='position:absolute;left:0px;top:0px;z-index:0;'>
+                </iframe>
+                </div><script type="text/javascript">var e=document.createElement('img');e.id='erroraccounting';document.getElementById('footer').appendChild(e);if(e.offsetWidth!=1)e.src='http://erroracct.dailymotion.com/xpmon/cssabsent';</script>
+      <script type="text/javascript">
+        DM_Widget_PageItem_Header_search = '';
+        DM_Widget_PageItem_Search_videoLabel = 'Videos';
+        DM_Widget_PageItem_Search_userLabel = 'Users';
+        DM_Widget_PageItem_Search_groupLabel = 'Groups';
+        DM_Widget_PageItem_Search_playlistLabel = 'Playlists';
+        DM_Widget_PageItem_Search_selected_kind = 'video';
+        DM_Widget_PageItem_Facebook_Connect_API_KEY = 'c428ec775e20b333d99e64040df42c5c';
+        DM_Widget_PageItem_Facebook_Connect_RECEIVER_URI = '/xd_receiver.htm';
+        DM_Widget_PageItem_Facebook_Connect_LOGOUT_CONFIRM_MSG = 'A different Dailymotion user is currently logged into Facebook. Do you want to log them out?';
+        var familyFilterUri = '/family_filter?urlback=%2Fvideo%2Fx241fi_epic-movie-mrs-new-booty&enable=1';
+        DM_IPhoneVersionAvailableLabel = 'An iPhone version of Dailymotion is available. Do You want to use it? Your choice will be remembered during 1 day.';
+        DM_CloseLabel = 'close';
+        DM_MobileVersionAvailableLabel = 'A mobile version of Dailymotion is available for your device. Do You want to use it? Your choice will be remembered during 1 day.';
+        DM_Widget_PageItem_Search_autocomplete_enabled = '1';
+        DM_Widget_PageItem_Search_language = 'us';
+        DM_Pagev3 = true;
+        DM_CancelLabel = 'cancel';
+        DM_MoreLabel = 'more';
+        DM_LessLabel = 'less';
+        DM_Widget_Page_Video.customizePlayer = 'customize player...';
+        DM_Widget_PageItem_AutoComplete_targetElementId = 'share_recipients';
+        DM_Widget_PageItem_AutoComplete_typeLabel = 'Email addresses...';
+        DM_Widget_Page_Video.url = '/video/x241fi_epic-movie-mrs-new-booty';
+        thefilter_enabled = true;
+        thefilter_debug_enabled = false;
+        thefilter_recommandation_enabled = false;
+        thefilter_recsCount = 15;
+        thefilter_videoId = 3547710;
+        thefilter_userLocale = 'US';
+        thefilter_userId = null;
+        thefilter_publisherId = 969627;
+        thefilter_channel = 26;
+        thefilter_familyFilter = 'false';
+        DM_Widget_Page_Video.player = 'player_4bca096053471';
+        DM_WidgetV3_PageItem_Comment_Post_maxCommentSizeLabel = 'You have reached the maximum comment length.';
+        DM_WidgetV3_PageItem_Comment_Post_maxCommentSize = 1000;
+        DM_WidgetV3_PageItem_Comment_Post_titleTemplate = '#{commentNb} comments';
+        DM_Form.charactersUsedLabel = 'characters used';
+        DM_Form_Validator.dm_component_form = [];
+        DM_Widget_PageItem_Masscast.defaultReloadTime["Middle"] = null;
+        DM_Widget_PageItem_Masscast.reloadMaxDuration["Middle"] = null;
+        DM_Widget_PageItem_Masscast.call = 'http://www.dailymotion.com/masscast/4/dailymotion.us/explicit/fun/videoplayer/2061706532@Middle,Top,x11,x13?DMEXPLICIT=1&DMEXT=0&DMVIDEO=3547710&DMOWNER=wdhliv&DMDURATION=59&DMVIDEOAGE=25303&DMCHANNEL=fun&DMLANG=en&DMTYPE=prod&DMV3=1';
+        DM_Widget_PageItem_Masscast.enableRotateAd = true;
+        DM_Widget_PageItem_Masscast.auditudeRunning = true;
+        DM_Widget_PageItem_Masscast.positionCalled[0] = 'Middle';
+        DM_Widget_PageItem_Masscast.positionCalled[1] = 'Top';
+        DM_Widget_PageItem_Masscast.positionCalled[2] = 'x11';
+        DM_Widget_PageItem_Masscast.positionCalled[3] = 'x13';
+        DM_Widget_PageItem_Masscast.defaultReloadTime["Top"] = null;
+        DM_Widget_PageItem_Masscast.reloadMaxDuration["Top"] = null;
+        DM_Widget_PageItem_Adsense.itemsPerPage = '20';
+        DM_Widget_PageItem_Adsense.title = 'sponsored links';
+      </script>
+      <script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+var ot = document.title; document.title = "video_item";
+try {
+var ga = _gat._getTracker("UA-64443-1");
+ga._addIgnoredOrganic("dailymotion");
+ga._addIgnoredOrganic("daily motion");
+ga._addIgnoredOrganic("daylimotion");
+ga._addIgnoredOrganic("dailymotion.com");
+ga._addIgnoredOrganic("dailymotion.fr");
+ga._addIgnoredOrganic("daily");
+ga._addIgnoredOrganic("daylymotion");
+ga._addIgnoredOrganic("dailimotion");
+ga._addIgnoredOrganic("dalimotion");
+ga._addIgnoredOrganic("dailymation");
+ga._setCustomVar(3, "page_type", "video_item", 3);
+ga._setCustomVar(1, "channel", "fun", 3);
+ga._setCustomVar(2, "video_type", "ugc", 3);
+ga._setCustomVar(4, "segment", "25", 1);
+ga._trackPageview("/video/x241fi_epic-movie-mrs-new-booty?site_version=us");
+} catch(err) {}
+document.title = ot;
+</script>
+    </div>
+    <script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"></script>
+  </body>
+</html>
\ No newline at end of file
index 2c60e68bcf955dea34faf1da5a35942ca21be175..67da44cc25a0591036589f4e09dfe4f49967a89b 100644 (file)
@@ -17,6 +17,7 @@
 #
 
 require 'test/bliptv_test'
+require 'test/dailymotion_test'
 require 'test/efukt_test'
 require 'test/fuckedtube_test'
 require 'test/howcast_test'