[UI] Mobile audio player inside a footer: first draft

This commit is contained in:
emeric
2015-04-06 17:47:47 +02:00
parent 45fcb38b62
commit 49b37d34e0
6 changed files with 75 additions and 13 deletions
+1
View File
@@ -50,6 +50,7 @@ namespace {
bool agentIsMobile()
{
const Wt::WEnvironment& env = Wt::WApplication::instance()->environment();
return true;
return (env.agentIsIEMobile()
|| env.agentIsMobileWebKit()
|| env.userAgent().find("Mobile") != std::string::npos // Workaround for firefox