Skip to content
Permalink
Browse files

MythBrowser: Bind the INFO action to equivalent Javascript in the myt…

…hflashplayer.

Basically allow flash players that allow toggling/hiding of OSD-like info to display and hide it.
  • Loading branch information
Robert McNamara
Robert McNamara committed Mar 21, 2011
1 parent 68578e0 commit 7e049dea896eea6c69062c21fe4b42bf78cb4f93
Showing with 2 additions and 0 deletions.
  1. +2 −0 mythplugins/mythbrowser/mythbrowser/mythflashplayer.cpp
@@ -78,6 +78,8 @@ bool MythFlashPlayer::keyPressEvent(QKeyEvent *event)

if (action == "PAUSE")
evaluateJavaScript("play();");
else if (action == "INFO")
evaluateJavaScript("info();");
else if (action == "SEEKFFWD")
evaluateJavaScript(QString("seek(%1);").arg(m_fftime));
else if (action == "SEEKRWND")

0 comments on commit 7e049de

Please sign in to comment.
You can’t perform that action at this time.