ptotheaul Posted October 3, 2018 Share Posted October 3, 2018 I just noticed that in ios12 when a video is opened in the native player from an ios phone device only the audio plays. I play the video inline on ipads: this.video = this.game.add.video('introvideo'); this.vidsprite = this.video.addToWorld(0, 0, 0, 0, 1, 1); and this code would just open the native player on phones. The video plays fine on older ios versions, ipad inline on io12 and older versions, and the video plays fine in the native player if you just open it from a direct link from the browser. Any ideas why I would only be getting audio from the native player when launched from phaser but the video plays fine in the native player when opened directly? Link to comment Share on other sites More sharing options...
ptotheaul Posted October 3, 2018 Author Share Posted October 3, 2018 I figured out that if I remove the .addToWorld from above the video plays however now the issue is that without the video added to the world my onComplete handler doesn't fire. Anyone have any insight into this issue? this.video = this.game.add.video('introvideo'); this.vidsprite = this.video.addToWorld(0, 0, 0, 0, 1, 1); this.video.onComplete.add(function(obj){ console.log("video over"); }, this); Link to comment Share on other sites More sharing options...
Kirias Posted October 4, 2018 Share Posted October 4, 2018 I have the same issue. Link to comment Share on other sites More sharing options...
Recommended Posts