johxn's Forum Posts

  • Just in case anyone else mysteriously loses Mic support in Chrome:

    It seems that I had unknowingly only whitelisted mic access in Chrome for localhost. I had been messing about with network preview, and the new IP had not been whitelisted. Live and learn.

    Ashley - I understand that HTTPS will be necessary for hosting, but do you foresee an issue in the future with using getusermedia during the C2 development cycle itself(as we're just previewing on localhost)?

    Thanks again for the sanity-check!

  • Appreciate your checking, LaDestitute - I'll keep poking at it.

  • Hi, all!

    I recently discovered that I am no longer able to successfully use getusermedia and Chrome... wondered if anyone has had a similar experience:

    • Open the standard Microphone Input capx (included in examples with C2) and preview in Firefox 47.0.1.
    • Process works as expected -> Browser prompts for selection of mic source, asks for permission to share, etc.
    • Capx works as designed.
    • Open the standard Microphone Input capx (included in examples with C2) and preview in Chrome 53.0.2785.143.
    • Process does not work as expected -> Browser does not prompt for selection of mic source, asks for permission to share, etc.
    • Capx does not work as designed (no mic input to drive it).

    Could this have something to do with Chrome's handling of non-https sites? If so... any ideas on how to mitigate this during development/preview?

  • Thanks again for the update, rexrainbow - this should be quite helpful in tightening up the midi/audio sync!

  • Hi, rexrainbow

    Perhaps implementing something like this https://github.com/sebpiq/WAAClock in the rex_timeline plugin to manage playback of the rex_JSMidiParser data?

  • Thanks for considering it, rexrainbow , I appreciate it!

    My goal is to have an efficient and speedy way of creating/streaming timing data that is locked to audio time. I can create all event/animation/whatever triggers via multitrack MIDI in my DAW - all sync'ed to my soundtrack.

    Cheers!

  • Easy enough - Thanks rexrainbow !

    Is the MIDI playback supposed to be able to sync with audio playback?

    I've run a number of tests with synchronized audio and MIDI files (audio rendered from the same midi file), and when playing both files back simultaneously using rex_JSMidiParser and the audio plugin - rex_JSMidiParser seems to be playing back the MIDI data much faster than audio file.

    Would it be possible to get the MIDI playback to slave to Audio.CurrentTime?

  • Hi, rexrainbow !

    Is it possible, with the current implementation of rex_JSMidiParser, to convert multiple MIDI files to JSON and address them individually? Something like Audio Tags in C2?

    Specifically, I'm interested in pre-converting a number of MIDI files to JSON for use at any time during the game. This will be with the eventual aim of being able to pause (thanks for the addition of the pause feature, BTW) one JSON stream, play another one, go back to the original stream... etc.

    Thanks again for your tireless plugin work!

  • rexrainbow

    Wow, thank you very much for the update! This should make things much easier.

    Cheers!

  • rexrainbow

    I am thoroughly enjoying this plugin - thank you so much for your generosity!

    If you're looking for an additional feature, before you move it over to Completed Addons section... would you consider adding a PAUSE feature?

  • jeansson, I owe you a pint! <img src="smileys/smiley32.gif" border="0" align="middle" /> It worked!

    Your solution should probably be made a STICKY (at least until Apple gets their act together).

    Now... anyone have any clever ideas about curing iOS's horrific audio support?! <img src="smileys/smiley2.gif" border="0" align="middle" />

    Thanks again, jeansson - you saved us a lot of hair-pulling & gnashing of teeth.

    Cheers,

    -John

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, rustic123.

    If you are hosting your own Wordpress installation, you can easily integrate your own HTML5 game by:

    1. Install the Iframe plugin in Wordpress
    2. FTP the game to your server
    3. Create a page/post, use the iframe plugin shortcode, and link to your game on the server. If you have a responsive Wordpress theme, the iframe plugin takes care of scaling for you.

    The only real issue we've experienced with embedding games like this is with iOS devices (iPhone/iPad/iPod). They don't seem to play nicely with iframes at all.

    Until Apple gets its code sorted out, you should be able to play your HTML5 game on an iOS device if it not embedded in an iframe.

    Hope that helps!

    -John

  • Sorry to say, I've made no progress with this at all.

    There seems to be an increasing amount of developers that are having problems with iOS and iframes (inability to scroll, iframe only partially being rendered, etc.). Despite the increase in reported problems, I've not seen any definitive solutions offered.

    So, if you come across anything that might help, please let us all know! :)

    Cheers,

    -John

  • Thanks for the suggestion, Ashley. Sorry to say, it didn't work.

    The iframes don't seem to be receiving any touch input. If I tap the buttons in the iframe, the iPad offers to copy the iframe for me.

    I did accidentally get a touch event to trigger once (and only once)on an iPhone(iOS7 & Safari). I was holding it vertically and pounding on the screen. The touch event triggered and then the browser freaked out (screen redraws of the iframe all over the place). As one would expect, it froze up after that. While finding new ways to crash Apple products is entertaining, it's not the sort of progress I was hoping for. :)

    I have seen elsewhere that some coders are having issues with iOS and iframes in that they are not able to get the content inside the iframe to scroll. Possibly related? Yay Apple.

    Any suggestions (short of "Android") definitely welcome!

    Cheers,

    John

  • Hi, all!

    I was wondering if anyone had any tips/tricks/suggestions for how to make iframes and iPads/iPhones play nicely together.

    We embed our games on our site with iframes and it works great... EXCEPT with iOS devices.

    • All of our games use the Touch Object
    • Every other hardware/browser combination works fine in the iframe
    • When a game is in an iframe, the iOS device doesn't seem to be activating the Touch Object.
    • All the games work fine on iOS devices if they are NOT in an iframe.

    At first, I suspected that it might be a Mobile Safari issue, however, I had the same thing happen using Chrome for iOS. Ugh.

    As I don't want to leave the Jobsian-Fondleslab crowd out in the cold, I'd like to get this fixed if at all possible.

    Thanks! :)

    -John