Skip to content

Commit

Permalink
MythBrowser: Bind the INFO action to equivalent Javascript in the myt…
Browse files Browse the repository at this point in the history
…hflashplayer.

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


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

0 comments on commit 7e049de

Please sign in to comment.