{"id":13742950,"url":"https://github.com/sshilko/jQuery-AS3-Webcam","last_synced_at":"2025-05-09T00:32:26.655Z","repository":{"id":2182308,"uuid":"3129691","full_name":"sshilko/jQuery-AS3-Webcam","owner":"sshilko","description":"jQuery wrapper for capturing web camera images written with ActionScript 3","archived":false,"fork":false,"pushed_at":"2018-09-05T08:56:59.000Z","size":166,"stargazers_count":25,"open_issues_count":1,"forks_count":14,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-15T14:35:06.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sshilko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-08T12:23:07.000Z","updated_at":"2023-08-09T13:56:00.000Z","dependencies_parsed_at":"2022-08-31T00:51:29.346Z","dependency_job_id":null,"html_url":"https://github.com/sshilko/jQuery-AS3-Webcam","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshilko%2FjQuery-AS3-Webcam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshilko%2FjQuery-AS3-Webcam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshilko%2FjQuery-AS3-Webcam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshilko%2FjQuery-AS3-Webcam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshilko","download_url":"https://codeload.github.com/sshilko/jQuery-AS3-Webcam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253171142,"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.178Z","updated_at":"2025-05-09T00:32:26.375Z","avatar_url":"https://github.com/sshilko.png","language":"ActionScript","readme":"```\n/**\n * jQuery AS3 Webcam\n * Copyright (c) 2012, Sergey Shilko (sergey.shilko@gmail.com)\n * The MIT License (MIT)\n *\n * @author Sergey Shilko\n * @see https://github.com/sshilko/jQuery-AS3-Webcam\n * @see http://sshilko.github.io/examples/example.html\n */\n```\n\n## Demo\nhttp://sshilko.github.io/examples/example.html\n\n## Overview\n\n* jQuery AS3 Webcam, you will be able to make JPEG captures of web camera, all interactions are made thru javascript.\n* Javascript callback will receive base64 encoded JPEG image from webcamera.\n* Support different webcam resolutions (320x240, 640x480, any).\n* Adaptive stage scaling, align options \n\nSWF external interface:\n```\nwebcam.save() - get base64 encoded JPEG image\nwebcam.getCameraList() - get list of available cams\nwebcam.setCamera(i) - set camera, camera index retrieved with getCameraList\nwebcam.getResolution() - retrieve actual web camera resolution (set width may not equal result width etc)\n```\n\n\nExternal triggers on events:\n```\nwebcam.isClientReady() - you respond to SWF with true (by default) meaning javascript is ready to accept callbacks\nwebcam.cameraConnected() - camera connected callback from SWF\nwebcam.noCameraFound() - SWF response that it cannot find any suitable camera\nwebcam.cameraEnabled() - SWF response when camera tracking is enabled (this is called multiple times, use isCameraEnabled flag)\nwebcam.cameraDisabled()- SWF response, user denied usage of camera\nwebcam.swfApiFail()    - Javascript failed to make call to SWF\nwebcam.debug()         - debug callback used from SWF and can be used from javascript side too\n```\nand more...\n\n## Why another library?\n\n* Because i could not find an Action Script 3 library for capturing images, there simply was non available.\n* Action Script 2 library (i.e. http://www.xarg.org/project/jquery-webcam-plugin/) are slow\n\n# Updates\n\n* 2015-10\n* Now with [zeptojs](http://zeptojs.com) instead of jquery (faster)\n* Now with small xss-check for callTarget, can also use 'allowScriptAccess=sameDomain' in some cases\n* Build script tested on MacOSX, recompiled (mxmlc flex 3.6, Latest FF42 \u0026 Flash19 works fine)\n\n","funding_links":[],"categories":["Multimedia"],"sub_categories":["Camera"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshilko%2FjQuery-AS3-Webcam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshilko%2FjQuery-AS3-Webcam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshilko%2FjQuery-AS3-Webcam/lists"}