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

Playsinline for iOS 10+ does not work in Moodle Mobile

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.2
    • 3.4.0
    • iOS
    • Hide
      1. Login in a 3.3 site with a teacher user.
      2. Create a page with a video in it (add the video using the Atto video button). I recommend using mp4 format to ensure compatibility with iOS.
      3. Install the app in an iOS device and open the page. Check that the video is played inline.
      4. Now do the same in a 3.1 site. Check that now the video is played in full screen (3.3 automatically adds playsinline="true", but 3.1 doesn't).
      Show
      Login in a 3.3 site with a teacher user. Create a page with a video in it (add the video using the Atto video button). I recommend using mp4 format to ensure compatibility with iOS. Install the app in an iOS device and open the page. Check that the video is played inline. Now do the same in a 3.1 site. Check that now the video is played in full screen (3.3 automatically adds playsinline="true" , but 3.1 doesn't).
    • MOODLE_33_STABLE
    • MOODLE_34_STABLE
    • Moodle Mobile 3.4.0

    Description

      When a video is embedded using the parameter playsinline (or when a youtube video is embedded with playsinline=1), the video still goes full screen when it is played instead of staying inline. This does not happen in Mobile Safari.

      Tested on:
      iPhone 5c on iOS 10.3.2
      Moodle Mobile 3.3.2
      Moodle 3.3.1 (Build: 20170710)

      https://webkit.org/blog/6784/new-video-policies-for-ios/

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              jorisgoflex Joris Moodle
              Juan Leyva Juan Leyva
              Berta Maroto Berta Maroto
              Juan Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                30/Nov/17