• Content Count

  • Joined

  • Last visited

About jaraiza

  • Rank
  • Birthday October 19

Profile Information

  • Gender

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Ok, I solved it optimizing videos with "handbrake" video transcoder, using Web Optimize option. I got much smaller video files and now I have no problems with IE. Greets!
  2. Hi, Anyone has got this error before? I got this in developer console in Internet Explorer 11 -> "Phaser.Video: Unable to start downloading video in time" when using video.changeSource. The canvas config (for IE) is: var game = new Phaser.Game(1280, 720, Phaser.CANVAS, 'gameCanvas', { preload: preload, create: create, update: update}); In Chrome it works ok, but the Phaser.Game is set to "Phaser.AUTO". I haven't found any reference to this error, it only appears in phaser source code. Thanks for any advice!
  3. Hi, How can I implement a preloader when a video has just changed source? I haven't found a moment, event or something when I can use: anim_Loading.animations.play('Rota'); anim_Loading.visible = true; And when to use: anim_Loading.animations.stop('Rota'); anim_Loading.visible = false; I've tried using play before "video.changeSource" and stop after "video.play()" but sometimes it doesn't nothing and sometimes the code crashes because "play() conflicts". Any ideas? Thanks!!
  4. Hi, The bug regarding catching video stop is still happening. http://www.html5gamedevs.com/topic/22807-bug-catching-video-stop/ Greets!
  5. Hi! Sorry for bumping the post, but it was under review until today Greets!
  6. Hi, I've noticed a bug in phaser 2.4.8 that was not present in 2.4.8 (I skipped 2.4.7). This code: function show() sprBR1 = game.add.sprite(br1X, br1Y, 'Brillo1'); sprBR1.inputEnabled = true; sprBR1.input.useHandCursor = true; sprBR1.alpha = 1; sprBR1.events.onInputOver.add(over, this); sprBR1.events.onInputOut.add(out, this); sprBR1.events.onInputUp.add(up, this); game.world.bringToTop(sprBR1); } function up() { console.log('button up', arguments); } function over() { console.log('button over'); } function out() { console.log('button out'); } worked in Phaser 2.4.6, when the mouse pass over the image, console.log is shown. But in Phaser 2.4.8 the left mouse button is required to be pressed for this to work. The same for useHandCursor property. Greets
  7. Hi, I'm having a problem (it looks like a bug) with phaser.signal detecting when a video has ended when using changeSource function. I'm using phaser 2.4.8 (but it also happened with 2.4.6). To reproduce the issue, please change both videos and the image button with some media you have. Once you run the demo, check your developer console each time button is pressed. The first time the video is stopped, it says "Played 1 times" The second time it says "Played 2 times" AND "Played 3 times" The third time it says "Played 4 times", "Played 5 times" AND "Played 6 times" and so on... It's like it is reporting when each video has stopped, not just the video that has just been "source changed". Here's the code: window.played = 0; var game = new Phaser.Game(1280, 720, Phaser.AUTO, 'gameCanvas', { preload: preload, create: create}); function preload() { game.load.video('Blank', 'vids/blank.mp4'); game.load.image('btn','gfx/btn_conoce.png'); } function create() { button = game.add.button(100, 400, 'btn', btnClick); video = game.add.video('Blank'); video.addToWorld(0, 0, 0, 0, 0, 0); videoOnStop = new Phaser.Signal(); video.onComplete = videoOnStop; game.world.bringToTop(button); videoOnStop.add(function() { played++; console.log("Video Stopped: Played " + played + " times"); }); } function btnClick() { video.changeSource('vids/anothervideo.mp4'); video.play(false); } Greets!