{"id":13742981,"url":"https://github.com/infusion/jQuery-webcam","last_synced_at":"2025-05-09T00:32:30.664Z","repository":{"id":1075482,"uuid":"917241","full_name":"infusion/jQuery-webcam","owner":"infusion","description":"A webcam wrapper plugin for jQuery","archived":false,"fork":false,"pushed_at":"2024-04-04T12:36:16.000Z","size":38,"stargazers_count":518,"open_issues_count":34,"forks_count":270,"subscribers_count":63,"default_branch":"master","last_synced_at":"2025-04-13T00:40:02.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.xarg.org/project/jquery-webcam-plugin/","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infusion.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-09-17T00:46:36.000Z","updated_at":"2025-02-20T10:54:05.000Z","dependencies_parsed_at":"2024-06-18T18:37:48.155Z","dependency_job_id":null,"html_url":"https://github.com/infusion/jQuery-webcam","commit_stats":{"total_commits":22,"total_committers":8,"mean_commits":2.75,"dds":0.5454545454545454,"last_synced_commit":"f9689f93069074b39d3d5bf31bffc44263eb59ca"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infusion%2FjQuery-webcam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infusion%2FjQuery-webcam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infusion%2FjQuery-webcam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infusion%2FjQuery-webcam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infusion","download_url":"https://codeload.github.com/infusion/jQuery-webcam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253171162,"owners_count":21865275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:00:38.517Z","updated_at":"2025-05-09T00:32:29.989Z","avatar_url":"https://github.com/infusion.png","language":"ActionScript","readme":"jQuery Webcam Plugin\n====================\n[![CDNJS version](https://img.shields.io/cdnjs/v/jQuery-webcam.svg)](https://cdnjs.com/libraries/jQuery-webcam)\n\n\nDescription\n-----------\nA small wrapper library to be able to communicate with a Flash webcam via JavaScript.\n\n\nExample\n------\n\nPlease note: The camera doesn't work if you have any dom-errors on your page!\n\nThe Flash object will be embedded into the following Div:\n\n```html\n\u003cdiv id=\"webcam\"\u003e\u003c/div\u003e\n```\n\n```javascript\n\njQuery(\"#webcam\").webcam({\n\n\twidth: 320,\n\theight: 240,\n\tmode: \"callback\",\n\tswffile: \"/jscam_canvas_only.swf\", // canvas only doesn't implement a jpeg encoder, so the file is much smaller\n\n\tonTick: function(remain) {\n\n\t\tif (0 == remain) {\n\t\t\tjQuery(\"#status\").text(\"Cheese!\");\n\t\t} else {\n\t\t\tjQuery(\"#status\").text(remain + \" seconds remaining...\");\n\t\t}\n\t},\n\n\tonSave: function(data) {\n\n\t\tvar col = data.split(\";\");\n    // Work with the picture. Picture-data is encoded as an array of arrays... Not really nice, though =/\n\t},\n\n\tonCapture: function () {\n\t\twebcam.save();\n\n \t  // Show a flash for example\n\t},\n\n\tdebug: function (type, string) {\n\t\t// Write debug information to console.log() or a div, ...\n\t},\n\n\tonLoad: function () {\n    // Page load\n\t\tvar cams = webcam.getCameraList();\n\t\tfor(var i in cams) {\n\t\t\tjQuery(\"#cams\").append(\"\u003cli\u003e\" + cams[i] + \"\u003c/li\u003e\");\n\t\t}\n\t}\n});\n\n\n```\n\nIf you want to draw the picture onto a canvas, have a look at the source of the page on my blog, linked below.\n\n\nFurther examples and documentation\n==========================\nFor further details and code examples take a look at the demonstration and documentation page on:\n\n[https://raw.org/article/camara-support-in-html5-and-javascript/](https://raw.org/article/camara-support-in-html5-and-javascript/)\n\nLicense\n======\nCopyright (c) 2013, [Robert Eisele](https://raw.org/)\nDual licensed under the MIT or GPL Version 2 licenses.\n","funding_links":[],"categories":["Multimedia"],"sub_categories":["Camera"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfusion%2FjQuery-webcam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfusion%2FjQuery-webcam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfusion%2FjQuery-webcam/lists"}