Search Issue Tracker

Fixed in future release

Votes

4

Found in

5.6.1p3

Issue ID

940608

Regression

No

[iOS] FullScreenMovieControlMode.CancelOnInput does not work on iOS11

iOS

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 2No workaround

There is an issue with video playback in Unity. On iOS10 single tap skips the video, and there is no option to make a double tap. In iOS11 betas single tap does nothing, and double tap zooms video, and there is no way to skip it.

Steps to reproduce:
1. Build and run attached project (VideoTest.zip) on iOS11 device
2. On Player press Button (video will start)
3. Touch once on the screen

Expected behavior: video stops, the main Player window appears.
Actual behavior: video doesn't stop, a double tap zooms video in.

Tested with:
iPhone 6S iOS11.0 beta 4 - reproduced
iPod 6th gen iOS10.2.1 - not reproduced
Xcode 9.0 beta 4.

Reproduced with: 2017.3.0a2, 5.6.3f1.

Comments (5)

  1. E5190fa075094fba428318d87d03da28?d=mm

    MultivariousTom

    Oct 12, 2017 15:34

    Cheers Quinnx, your workaround saved me a ton of headaches!

  2. 6987d6a69f4ffe7e756ff1913a290e7f?d=mm

    Vector-Sprite

    Oct 11, 2017 19:45

    What QUINNX suggested works for me. The file is located here in Xcode:

    Classes/Unity/FullScreenVideoPlayer.mm

  3. F688790b0d5870cea3e5d76011209b30?d=mm

    QuinnX

    Sep 21, 2017 12:14

    Append these lines to the end of FullScreenVideoPlayer.mm in the Xcode project generated by Unity:

    @interface UIWindow (VideoPlay)
    @end

    @implementation UIWindow (VideoPlay)
    - (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    [super touchesBegan: touches withEvent: event];

    NSString *version = [UIDevice currentDevice].systemVersion;
    if(version.doubleValue >= 11 && UnityIsFullScreenPlaying()) {
    UnityStopFullScreenVideoIfPlaying();
    }
    }
    @end

  4. 5594562ec7cfba909a8fa8a21fd11fe5?d=mm

    webing

    Sep 14, 2017 09:27

    resolved? how?

  5. 46169769a96d0a631e544f0ed21fd5f4?d=mm

    MPCCreative

    Sep 04, 2017 14:27

    Happening here, too. Breaking an app we made which is on +2m devices :x

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.