also the loaded state does not have to be tracked and a new attempt to load
it (in case of temporary resource failure) may succeed (failures are
neither tracked nor reported by the video widget class)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
this is just pre-face to (maybe) use poster image instead of custom one for
videos in the epub generator
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
KIO::PreviewJob was made for this kind of things, it also does not involve
loading the file (which may play a sound even if the widget is not
visible), seeking, pausing and then grabbing a QWidget snapshot. the only
requirement is for ffmpegthumbs thumbnailer to be installed
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
some form elements were not working before either so the only
regression here is the seek slider, if KMediaWidget is used the
whole custom controls code can be trown out I suppose but I'm not
sure if the controls should be embeded along with the video or
they be can/should be separate
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>