diff options
author | Bastien Nocera <hadess@hadess.net> | 2008-02-07 14:41:44 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2008-02-07 14:41:44 +0000 |
commit | 2a8e07be52fb11308433e3945c82614b5128ea4e (patch) | |
tree | 5eaa47edd8e112961211818f24e477385e69bd2c /browser-plugin | |
parent | d073308ebd1d498534ef646396ff8373e30f805d (diff) | |
download | totem-2a8e07be52fb11308433e3945c82614b5128ea4e.tar.gz |
Fix the DivX plugin not getting any URIs to play on the Stage6 website
2008-02-07 Bastien Nocera <hadess@hadess.net>
* browser-plugin/totemPlugin.cpp: Fix the DivX plugin not getting
any URIs to play on the Stage6 website
svn path=/trunk/; revision=5077
Diffstat (limited to 'browser-plugin')
-rw-r--r-- | browser-plugin/totemPlugin.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp index e767c058c..4cb84052f 100644 --- a/browser-plugin/totemPlugin.cpp +++ b/browser-plugin/totemPlugin.cpp @@ -1788,12 +1788,19 @@ totemPlugin::Init (NPMIMEType mimetype, #endif /* TOTEM_NARROWSPACE_PLUGIN */ /* FIXME */ +#ifdef TOTEM_MULLY_PLUGIN + value = (const char *) g_hash_table_lookup (args, "video"); + if (value) { + SetSrc (nsDependentCString (value)); + } +#endif /* TOTEM_MULLY_PLUGIN */ + #if 0 //def TOTEM_MULLY_PLUGIN /* Click to play behaviour of the DivX plugin */ char *previewimage = (const char *) g_hash_table_lookup (args, "previewimage"); if (value != NULL) mHref = g_strdup (mSrc); -#endif /* TOTEM_NARROWSPACE_PLUGIN */ +#endif /* TOTEM_MULLY_PLUGIN */ /* If we're set to start automatically, we'll use the src stream */ if (mRequestURI && @@ -2138,6 +2145,8 @@ totemPlugin::Write (NPStream *stream, G_TYPE_INVALID); return len; + } else { + D ("Is not playlist: totem_pl_parser_can_parse_from_data failed (len %d)", len); } } |