mirror of https://github.com/axmolengine/axmol.git
Fix media player (#2257)
This commit is contained in:
parent
63e142511d
commit
2161dd8eee
|
@ -1271,10 +1271,10 @@ void MediaPlayer::pause()
|
|||
void MediaPlayer::resume()
|
||||
{
|
||||
resumePlayback();
|
||||
Widget::pause();
|
||||
Widget::resume();
|
||||
}
|
||||
|
||||
void MediaPlayer::pausePlayback()
|
||||
void MediaPlayer::pausePlayback()
|
||||
{
|
||||
if (!_videoURL.empty())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue