[totem] browser-plugin: Use our own user-agent in Vegas



commit d353aceb607bbbf81787bb958a27f3382fac67c5
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Dec 5 23:21:49 2011 +0100

    browser-plugin: Use our own user-agent in Vegas
    
    Rather than re-using the web browser agent. This fixes vimeo
    playback, as the server refuses to serve the usual browser UA.

 browser-plugin/totemPlugin.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/browser-plugin/totemPlugin.cpp b/browser-plugin/totemPlugin.cpp
index c6087a3..93ecf58 100644
--- a/browser-plugin/totemPlugin.cpp
+++ b/browser-plugin/totemPlugin.cpp
@@ -167,6 +167,8 @@ static const char kPluginUserAgent[] =
   "Quicktime/"TOTEM_NARROWSPACE_VERSION;
 #elif defined(TOTEM_GMP_PLUGIN)
   "Windows-Media-Player/10.00.00.4019";
+#elif defined(TOTEM_VEGAS_PLUGIN)
+  "Totem/"VERSION;
 #else
   "";
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]