Skip to content

How to change those radio button(first picture) into dropdown list(second picture) when the device is plugin into your pc or laptop?  #770

@Soo1030

Description

@Soo1030

Hope everyone is well all day.

c (1)
This picture is an HTML page that I have created. Now I want to change those radio buttons into a dropdown list like the picture below.
In this dropdown list, when an external camera plugin into your pc/laptop, how to let it auto-show the device name and device ID?
s
Because with code in this webpage below it can function well and I need to do something like this. Can anyone give me some advice or correction? Thank you all for your help.
https://codepen.io/chrisbeast/pen/ebYwpX
These are codes for my webpage:
capture.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions