• Kavish Sehgal
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
I created a VF page including an apex:inputFile with accept="audio/*" attribute to record audio from Salesforce1 :
<apex:inputFile accept="audio/*" value="{!audioRecord.body}" filename="{!audioRecord.name}" />
When I try my page on my mobile navigator, this input recognize the "accept" attribute and permits me to record audio with the dictaphone.
But when I try it in Salesforce1, this attribute is not recognize so I can't record audio.

I tried to use javascript library to record directly the audio without to use an inputfile but even if I authorize the "android.webkit.resource.AUDIO_CAPTURE" my microphone record nothing.

Do you have any solution to record audio from salesforce1?