summaryrefslogtreecommitdiff
path: root/browser-plugin/totemGMPPlugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'browser-plugin/totemGMPPlugin.cpp')
-rw-r--r--browser-plugin/totemGMPPlugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/browser-plugin/totemGMPPlugin.cpp b/browser-plugin/totemGMPPlugin.cpp
index ea95e5b7a..29b31c868 100644
--- a/browser-plugin/totemGMPPlugin.cpp
+++ b/browser-plugin/totemGMPPlugin.cpp
@@ -208,7 +208,7 @@ totemScriptablePlugin::Pause ()
{
NS_ENSURE_STATE (IsValid ());
- return mPlugin->Pause ();
+ return mPlugin->DoCommand (TOTEM_COMMAND_PAUSE);
}
NS_IMETHODIMP
@@ -216,7 +216,7 @@ totemScriptablePlugin::Play ()
{
NS_ENSURE_STATE (IsValid ());
- return mPlugin->Play ();
+ return mPlugin->DoCommand (TOTEM_COMMAND_PLAY);
}
NS_IMETHODIMP
@@ -224,5 +224,5 @@ totemScriptablePlugin::Stop ()
{
NS_ENSURE_STATE (IsValid ());
- return mPlugin->Stop ();
+ return mPlugin->DoCommand (TOTEM_COMMAND_STOP);
}