APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

How to use BasicWebCam activity post and replies

Return to the How to use BasicWebCam activity thread
Login to post to this thread

WebCam Activity
David Jimenez Melo
2 Posts

Hi I'm new in the world of web development. I use 6.0 version of EJsS and I have tried to use the activity WebCam but after many tries I failed. Someone can help me? Where can I find more information about EJsS 6.0?


Replies to WebCam Activity

Re: WebCam Activity -
Wolfgang
192 Posts

EJSS does not have a drag and drop webcam model element.  You can, however, access the webcam using JavaScript.  The Browser Capabilities example shows how this is done.

https://www.compadre.org/osp/items/detail.cfm?ID=15162



Re: WebCam Activity -
Francisco Esquembre
237 Posts

In principle, it should be as simple as to adding the element and setting its URL property to the internet URL of a WebCam that freely provides access to its images in MPEG format...
Unfortunately, it is not easy to find a public one that will do so.
This element was conceived for adding your own WebCam...
Paco



Re: WebCam Activity -
David Reeves
1 Posts

A drag-and-drop webcam model element is absent from EJSS.  However, you can use JavaScript to access the webcam.  This is demonstrated in the Browser Capabilities example.
https://www.compadre.org/osp/items/detail.cfm?



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book