Can't use videos on iOS Cordova export

0 favourites
  • 3 posts
From the Asset Store
Add SubRip (SRT) subtitles to your videos in Construct 3
  • Problem Description

    Any form of video either does not show at all or appears as fullscreen with playback control buttons on iOS devices (iOS 11).

    At first I posted as a "how to" post, but was suggested to post as a bug. (original post: viewtopic.php?f=147&t=199527 )

    By the way, it would be great to know if that still happens on c3, because perhaps it is a behavior related to how iOS treats videos and not C2 or C3.

    Anyways, it would also be great to know how any of you work around this kind of issue.

    Attach a Capx

    https://www.dropbox.com/s/5f59tlbbcjjbe ... .capx?dl=0

    Description of Capx

    Capx contains a test scene with multiple videos and sprite elements with animation behaviors (simple sine rotation and opacity)

    On play you should see a glitch and a moth video, both with some transparency between the 2 rotating sprites, like this:

    https://www.dropbox.com/s/fby99hctbq5tk ... .jpeg?dl=0

    Steps to Reproduce Bug

    • Step 1 - export it as cordova
    • Step 2 - build the cordova project using the command line tools (or any other way you prefer, the result is the same as far we know)
    • Step 3 - open in xcode and test on any iOS device

    OR

    Observed Result

    Formats like webm display no video (which is actually expected because iOS does not seem to support webm)

    Formats encoded with h264 (mp4) display as fullscreen videos with playback buttons

    Expected Result

    It would be great to have them behave like normal elements of the game, as one can see in the desktop exports.

    Affected Browsers

    Not applicable I guess since we are talking about the Cordova export, right?

    Operating System and Service Pack

    iOS 11

    Construct 2 Version ID

    I have seen the same behavior in all of the versions I tested, which were all from r247 on (248,249 and 250)

    ...

    Also, here is the project already configured to be exported in xcode so to make the test easier, just open this on xcode and test it on any iOS device

    https://www.dropbox.com/s/gxpfb7c41uahw ... o.zip?dl=0

  • Ugh, iOS really makes this difficult >_< I've figured out a fix to make sure it's working properly for the next beta.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks Ashley! I was giving up the possibility to release something for iOS already

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)