Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4109

Book autoplays media from other chapters, and media doesn't stop when changing chapter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 4.1.0
    • 4.0.2
    • Book add-on
    • Hide

      Interactive elements in book chapters should only be enabled for the current chapter.

      For example, opening a book with videos or audios with autoplay enabled should only play for the current chapter. When changing chapters, the video playback should resume the status they had before (paused or playing).

      Iframes should be disabled entirely (removed from the screen), because it's difficult to control what they have inside. But they should reappear once a chapter is opened.

      Exact testing instructions:

      1. Open a book including iframes and autoplayable elements in different chapters.
      2. Change chapter, and check that the elements in the previous chapter are paused.
      3. Manually pause an element, go back to the previous chapter and the elements should resume playing.
      4. Go back to the previous chapter; the element that was paused manually should not resume playback.
      5. During these interactions, iframes should be removed and added again every time the chapter is deactivated / activated.
      Show
      Interactive elements in book chapters should only be enabled for the current chapter. For example, opening a book with videos or audios with autoplay enabled should only play for the current chapter. When changing chapters, the video playback should resume the status they had before (paused or playing). Iframes should be disabled entirely (removed from the screen), because it's difficult to control what they have inside. But they should reappear once a chapter is opened. Exact testing instructions: Open a book including iframes and autoplayable elements in different chapters. Change chapter, and check that the elements in the previous chapter are paused. Manually pause an element, go back to the previous chapter and the elements should resume playing. Go back to the previous chapter; the element that was paused manually should not resume playback. During these interactions, iframes should be removed and added again every time the chapter is deactivated / activated.
    • MOODLE_400_STABLE
    • MOODLE_401_STABLE
    • Moodle App 4.1.0

      This is a regression caused by the swipe feature. Now we're using slides in book, and all the slides are loaded as soon as the book is opened. This means that all the media, iframes, etc. are loaded when the book is opened so all auto-play media starts playing, even if they don't belong to current chapter.

      Also, when the user starts playing some media and then changes chapter the media doesn't stop either.

            noeldemartin Noel De Martin
            dpalou Dani Palou
            Dani Palou Dani Palou
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.