Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

PyScript.media is missing docs and tests #2294

Copy link
Copy link
Closed
@danyeaw

Description

@danyeaw
Issue body actions

Checklist

  • I added a descriptive title
  • I searched for other issues and couldn't find a solution or duplication
  • I already searched in Google and didn't find any good information or help

What happened?

I can't find pyscript.media in the API docs or in the User Guide. I also don't see a test module testing the functionality.

Additional Context

I was moving https://pyscript.com/@dyeaw/who-s-that-pokemon/ from importing js to using more of the pyscript API. I was able to get video working using the Device and list_devices portions of the media module, but only by reading the module source code. Examples from other users like https://pyscript.com/@fpliger/camera-access-example/ are also using js directly.

I can work on updating the API docs, user guide, examples, and add tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.