On my daily development I came across the issue navigator.mediaDevices is undefinedwhen testing a website I’m developing on Firefox browser. While the fix for Google Chrome is widely known, I didn’t find anything about Firefox and decided to dig deeper myself. Turns out the fix is pretty simple.
On the address bar of Firefox type about:config
Accept and continue
Search for insecure
Set media.devices.insecure.enabled and media.getusermedia.insecure.enabled flag to true
That should do it!! The next time you open your website, Firefox will ask your permissions for webcam/microphone.
The following ruby method converts an Bengali Text to Hex value.
def encode_for_bangla_sms( text )
text_bangla = "১ ২ ৩, ১ ২ ৩ "
text_encoded = encode_for_bangla_sms text_bangla
SSLWireless providers a different stakeholder id for Bangla SMS. So if you use that along with the hex value, you should receive the Bangla text.
Now on RubyMine type Alt + Ctl + S to open settings and search for ‘sdk’. Under Languages & Frameworks you will find Ruby SDK and GEM; select it. Now click on the + icon and select ‘New Remote’. Now Select WSL, choose the linux invironment and paste the link we copied earlier. Now your SDK should be added to RubyMine.