1. 02 Oct, 2018 1 commit
  2. 30 Apr, 2017 1 commit
    • Craig Watson's avatar
      Fix for video-related crashing on Windows · 5416e6d8
      Craig Watson authored
      Issue observed was that OpenBoard would crash on some Windows systems
      when a video was on the page and that page was saved (due to switching
      to document mode, auto saving, or duplicating the page), or when cutting
      the video with Ctrl-X.
      
      This was due to QTBUG-32522, where setting the video output for a
      QMediaPlayer that is hidden results in a crash.
      
      This commit is a work-around for this Qt issue, and so should be reverted
      if and when the upstream issue is fixed.
      5416e6d8
  3. 14 Jan, 2017 1 commit
    • Craig Watson's avatar
      Fixes for media item grouping: · 09ab3e19
      Craig Watson authored
      - Selecting multiple media items then grouping them didn't behave as it
      should for other items => fixed by adding type tests
      - A group containing several media items wasn't saved to SVG with those media
      items as children, due to incorrect UUID copying in the mediaItems's
      deepCopy() methods
      09ab3e19
  4. 03 Sep, 2016 1 commit
  5. 13 May, 2016 1 commit
  6. 26 Apr, 2016 1 commit
  7. 15 Mar, 2016 1 commit
    • Craig Watson's avatar
      Improved error handling for media items · 3f73f25f
      Craig Watson authored
      - Display a meaningful error message to the user when adding or trying
      to play a video
      - Make sure the video placeholder is visible even after switching pages
      3f73f25f
  8. 09 Mar, 2016 1 commit
    • Craig Watson's avatar
      Fix videos being play/paused after a manual stop · eb597bf2
      Craig Watson authored
      When a video is first loaded (placed on the scene), we play/pause it to
      load the first frame; but this was also called when the video was
      manually stopped. To avoid this, a mStopped attribute was added to
      UBGraphicsMediaItem. It is set to true only when the video is stopped by
      the user.
      eb597bf2
  9. 08 Mar, 2016 2 commits
  10. 04 Mar, 2016 1 commit
  11. 01 Mar, 2016 2 commits
    • Craig Watson's avatar
      Various fixes and clean-ups for media items: · d6e1a7ad
      Craig Watson authored
      - Hovering over the video now makes the seek bar visible
      - The size of the video item is no longer changed when the video
      finishes playing
      - Media errors are now handled by the mediaItem and displayed for the
      user
      
      - Code clean-up
      d6e1a7ad
    • Craig Watson's avatar
      Overhaul of UBGraphicsMediaItem class · fe9affee
      Craig Watson authored
      - Removed inheritance of UBGraphicsProxyWidget; cleaned up related code
      - Added two children classes: UBGraphicsVideoItem and
      UBGraphicsAudioItem. UBGraphicsMediaItem is now an abstract class.
      - Better encapsulation; the Scene and other external classes no longer
      access the mediaObject directly
      
      There is now less distinction between audio and video items to outside
      code: apart from the UBSvgSubsetAdaptor, there is no need to know
      whether a media item holds a video or audio file. Creation is handled
      through the static function `UBGraphicsMediaItem::createMediaItem(URL,
      parent)`
      fe9affee
  12. 26 Feb, 2016 1 commit
  13. 12 Jan, 2016 1 commit
  14. 23 Dec, 2015 1 commit
  15. 11 Dec, 2015 1 commit
    • Craig Watson's avatar
      Fix video loading from file · 76636f73
      Craig Watson authored
      - Added an overload for setMatrix in UBGraphicsMediaItem, to propagate
        matrix changes to the child videoItem
      - Upon loading a video, the child videoItem is now added correctly, and
        set to the right position
      76636f73
  16. 03 Dec, 2015 1 commit
    • Craig Watson's avatar
      Video fixed on OS X · ce521ede
      Craig Watson authored
      QVideoWidget had to be abandoned in favour of QGraphicsVideoItem. This
      is because UBGraphicsMediaItem, i.e the class representing a media
      (audio or video) object on the board, is a QGraphicsProxyWidget, and is
      used to embed a QWidget into the Scene.
      
      With Phonon's video widget, it was possible to embed the video widget in
      this ProxyWidget. This is no longer possible (except on Windows, for
      some reason), so this commit is a workaround, to use a
      QGraphicsVideoItem instead of a QVideoWidget while modifying the rest
      of the class hierarchy as little as possible.
      
      Ultimately, a cleaner solution (not making UBGraphicsMediaItem inherit
      QGraphicsProxyWidget, for example) may be desirable.
      ce521ede
  17. 23 Nov, 2015 1 commit
    • Craig Watson's avatar
      Cleaned up UBGraphicsMediaItem* · 007a1e12
      Craig Watson authored
      - Removed commented out obsolete code that had been added
      - Removed objects that were never used (mAudioOutput, audioFormat etc)
      - Re-made changes that had been reverted since commit cdb56333
      007a1e12
  18. 11 Nov, 2015 1 commit
  19. 09 Nov, 2015 1 commit
  20. 14 Aug, 2013 1 commit
  21. 25 Jul, 2013 1 commit
  22. 17 Jul, 2013 1 commit
  23. 28 Jun, 2013 1 commit
  24. 13 Jun, 2013 1 commit
  25. 29 Apr, 2013 1 commit
  26. 12 Mar, 2013 1 commit
  27. 27 Feb, 2013 1 commit
  28. 06 Sep, 2012 1 commit
    • Anatoly Mihalchenko's avatar
      SANKORE-1026 · 8f1f0d9c
      Anatoly Mihalchenko authored
      Navigation palette: thumbnails isn't refeshed after application added to the page
      8f1f0d9c
  29. 27 Aug, 2012 1 commit
  30. 16 Aug, 2012 1 commit
  31. 08 Aug, 2012 1 commit
    • Aleksei Kanash's avatar
      Reworked items copying mechanism. · 81a49e95
      Aleksei Kanash authored
      Now coping creates a full copy of already created item. Copy has it's own content (like video, audio or folder) and stores original item properties (like locked, pos, size, freezed e.t.c.).
      81a49e95
  32. 06 Aug, 2012 1 commit
  33. 03 Aug, 2012 2 commits
  34. 30 Jul, 2012 1 commit
  35. 27 Jul, 2012 1 commit
  36. 26 Jul, 2012 1 commit
  37. 09 Jul, 2012 1 commit