- if (!m_videoPlayer) {
- // Replay the media to apply path changes
- m_media->stop();
- m_videoPlayer = new EmbeddedVideoPlayer(this);
- m_topLayout->insertWidget(0, m_videoPlayer);
- Phonon::createPath(m_media, m_videoPlayer);
- m_media->play();
- }
- applyVideoSize();