Answer the question
In order to leave comments, you need to log in
Is it possible to select a different audio device in the Opera, FireFox or Chrome browser?
Available:
1. PC with Windows 10.
2. Two audio devices on PC:
2.1. bluetooth headphones for Skype and YouTube,
2.2. sound adapter built into the motherboard + good speakers
3. A collection of favorite music on vk.com
4. An office in which 2 people are
required.
1. Listen through bluetooth headphones (default audio device) Skype and YouTube from Chrome,
2. Listen through a sound adapter + good speakers (audio device No. 2) music from vkontakte.
Is it possible in Opera or Firefox to select another audio device as an audio device?
Answer the question
In order to leave comments, you need to log in
This is done not in the browser, but in the audio card settings.
https://jsfiddle.net/L30qqawj/ or transforms
www.cssportal.com/style-input-range
And this is for the collection ionden.com/a/plugins/ion.rangeSlider/demo_advanced.html
1) The triangular shape of the progress bar is made by borders: https://css-tricks.com/snippets/css/css-triangle/
2) The movement of the sliders, key points:
You track the mousedown event on the slider or on the progress bar.
Inside the mousedown handling, hang the mousemove and mouseup events on the document or window (remember to remove them on mouseup)
During mousemove, calculate the position of the cursor relative to the left edge of the slider (for example, event.clientX - sliderElement.getBoundingClientRect().left).
You also need to make sure that the positions are not less than zero, and not more than the width of the slider (more precisely, the width of the slider is the width of the slider).
Also, for adaptability, it is desirable to translate everything from pixels to%
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question