[Title] Fix the issue that duration is not updated.
[Problem] N_SE-46482
Duration is not updated when repeating enter and exit page has specific audio tag.
[Cause] Source of <audio> is Video file.
And it wasn't suspended when exit page. Because it is audio tag and this app support background mode.
[Solution] Suspend <audio> element if it has video source.
Change-Id: Iba615fa0a007eac5d2ba01cb1d4e91a28fd22c84
if (!m_player)
return false;
- if (isVideo() || hasVideo())
+ if (isVideo())
+ return true;
+
+ if (m_player->hasVideo())
return true;
#if ENABLE(TIZEN_EXTENSIBLE_API)