{"action":"closed","issue":{"url":"https://api.github.com/repos/ntadej/vlc-qt/issues/37","labels_url":"https://api.github.com/repos/ntadej/vlc-qt/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/ntadej/vlc-qt/issues/37/comments","events_url":"https://api.github.com/repos/ntadej/vlc-qt/issues/37/events","html_url":"https://github.com/ntadej/vlc-qt/issues/37","id":31401071,"number":37,"title":"vlc-qt  fullscreen mode","user":{"login":"skullhead","id":7279282,"avatar_url":"https://avatars.githubusercontent.com/u/7279282?v=3","gravatar_id":"","url":"https://api.github.com/users/skullhead","html_url":"https://github.com/skullhead","followers_url":"https://api.github.com/users/skullhead/followers","following_url":"https://api.github.com/users/skullhead/following{/other_user}","gists_url":"https://api.github.com/users/skullhead/gists{/gist_id}","starred_url":"https://api.github.com/users/skullhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skullhead/subscriptions","organizations_url":"https://api.github.com/users/skullhead/orgs","repos_url":"https://api.github.com/users/skullhead/repos","events_url":"https://api.github.com/users/skullhead/events{/privacy}","received_events_url":"https://api.github.com/users/skullhead/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ntadej/vlc-qt/labels/Needs%20feedback","name":"Needs feedback","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-04-13T10:34:17Z","updated_at":"2015-04-13T19:10:53Z","closed_at":"2015-04-13T19:10:53Z","body":"Hello everyone. I started studying vlc-qt and I have a problem. I have pasted vlcvideowidget in qwidget. Video works, but takes up only a small area in the corner of the  mainwindow. \r\nBut I need a full-screen mode. How do I make the videoframe takes all the mainwindow? I think it should be easy, but not for such a newbie like me)\r\nI also have the following errors:\r\n[00000000028e98b8] main interface error: no suitable interface module\r\n[0000000002a45dc8] main vout display error: Failed to set on top\r\n\r\n Here is the code\r\n```\r\nDemoPlayer.cpp\r\n#include <vlc-qt/Common.h>\r\n#include <vlc-qt/Instance.h>\r\n#include <vlc-qt/Media.h>\r\n#include <vlc-qt/MediaPlayer.h>\r\n#include <vlc-qt/WidgetVideo.h>\r\n#include \"DemoPlayer.h\"\r\n\r\n#include <QtWidgets>\r\n\r\n\r\nDemoPlayer::DemoPlayer(QWidget *parent)\r\n    : QMainWindow(parent),\r\n      _videowidget(0),\r\n      _media(0)\r\n{\r\n    _instance = new VlcInstance(VlcCommon::args(), this);\r\n    _media = new VlcMedia(\"C:/promo/repeat.mp4\", true, _instance);\r\n    _player = new VlcMediaPlayer(_instance);\r\n    _videowidget = new VlcWidgetVideo(_player,this);\r\n    _player->setVideoWidget(_videowidget);\r\n    _videowidget->show();\r\n    _player->open(_media);\r\n    _player->play();\r\n\r\nmain.cpp\r\n#include <QApplication>\r\n\r\n#include \"DemoPlayer.h\"\r\n\r\nint main(int argc, char *argv[])\r\n{\r\n    QApplication app(argc, argv);\r\n    DemoPlayer mainWindow;\r\n    mainWindow.showfullscreen();\r\n    return app.exec();\r\n}\r\n\r\n\r\nDemoPlayer.h\r\n#ifndef DEMOPLAYER_H_\r\n#define DEMOPLAYER_H_\r\n#include <QMainWindow>\r\n#include <QWidget>\r\nclass VlcInstance;\r\nclass VlcMedia;\r\nclass VlcMediaPlayer;\r\nclass VlcWidgetVideo;\r\n\r\nclass DemoPlayer : public QMainWindow\r\n{\r\nQ_OBJECT\r\npublic:\r\n    explicit DemoPlayer(QWidget *parent = 0);\r\n\r\n\r\npublic:\r\n    VlcInstance *_instance;\r\n    VlcMedia *_media;\r\n    VlcMediaPlayer *_player;\r\n    VlcWidgetVideo *_videowidget;\r\n};\r\n\r\n#endif // DEMOPLAYER_H_\r\n```\r\n"}}