Audio autostart on Android and IOS

Question: I want to audio auto-play in android and iPhone mobiles is it possible?

Answer:

  1. Audio/video autoplay is not allowed on iPhone, iPad and Android. It’s a limit from the device, and there is no way to bypass it.
  2. On both iOS and Android (this includes both mobile and tablet devices) it is not possible to ‘autoplay’ a media file. What this means, in practice, is that you always need a user action to initiate an audio or video play, such as a button click.

Solutions: 

  1. Another autoplay solution, especially applicable to audio, is using audio sprites. Instead of having different audio files you stitch them all together in one big file and move the current time. Another decent solution, but this takes a lot more work and overhead, and is probably unusable for video because of the file size. Also, you can still only play one sound at the same time.
  2. Yet another autoplay solution, only applicable for audio, is to use theWeb Audio API. Here’s an article about how to use it on iOS. Unfortunately the Web Audio API is not supported on any version of Internet Explorer and the stock Android Browser (Chrome for Android does support it), so you need to use other solutions for those browsers. You could try using something like Howler.js to make it work on all platforms.

Article taken from “haykranen.nl”

Advertisements

How do I forward my-domain.com to www.my-domain.com using GoDaddy?

Please find below steps to forwarding…

  1. Login into godaddy.
  2. Go to “My account” select “Mange domain”.
  3. In domain settings see “Forwarding” section click on “Manage” under Domain.
  4. In Forwarding and Masking page “Add Forwarding”.
  5. Within “Add Forwarding” add domain name with http://www.my-domain.com with 301(Permanent).
  6. Please check the “Name servers” checkbox weather you need to update “Name servers” or not.
  7. It will take around 48 hours to propagate.

Debugging android chrome from desktop

In mobile device

  1. Settings > Developer options on
  2. In Developer options, select the USB debugging checkbox:
  3. An alert prompts you to allow USB debugging. Tap OK.

Desktop chrome

  1. Need to check about android version and install specified android debugging suite.
  2. On your desktop Chrome browser, navigate to chrome://inspect. Confirm that Discover USB devices is checked:
  3. Tip: You can also get to chrome://inspect by selecting Chrome menu > More tools > Inspect Devices.

On your device, an alert prompts you to allow USB debugging from your computer. Tap OK.

If you have problems finding your device on the chrome://inspect page

enable USB debugging (Android 4.3).

Step 1: Go to Settings.

Step 2: Click About.

Step 3: Open Software information.

Step 4: Tap Build number continuously until a pop-up hint informs you that you’ve entered the developer mode.

Step 5: Return to Settings.

Step 6: Find and open Developer options.

Step 7: Select USB debugging and click OK.