Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Lockscreen Webcam
is a discussion within theSkinning / Themes Discussion
forums, a part of theDesign and Media For the iPhone / iPod Touch
section;Webcam on Lockscreen using Places Cydget Hi, this works but needs some editing with iFile. Install Places Cydget and make sure it is ticked in Settings Cydget. Edit index.html at
...-
06-27-2012, 05:46 AM #1My iPhone is a Part of Me
- Join Date
- Oct 2010
- Location
- UK
- Posts
- 697
- Thanks
- 5
- Thanked 49 Times in 48 Posts
Lockscreen Webcam
Webcam on Lockscreen using Places Cydget
Hi, this works but needs some editing with iFile.
Install Places Cydget and make sure it is ticked in Settings Cydget.
Edit index.html at
/System/Library/LockCydgets/Places.Cydget/
Find and edit
imageElem.src = imageSrc + imageIndexStr + '_small.jpg';
To
imageElem.src = imageSrc;
Then find
var imageSrc = 'http://www.etravelreviews.com/gadget_images/travel';
and change the website in quotes to your own webcam cgi or mjpeg camera link, eg Holiday Inn Sanibel Island Florida
http://72.236.138.36/axis-cgi/mjpg/video.cgi
Or
http://beachcam.kdhnc.com/mjpg/video.mjpg
You can search for more at
http://www.mjpeg.net/webcams?p=3
Just hold your finger on the webcam view and copy and paste the web link into the quotes above.
(also works for weather radar images)
You can install a second webcam Cydget by renaming
Places.Cydget to say Webcam.Cydget and if you then edit it's info.plist and change the two occurrences of Places to Webcam and then reinstall your second Places Cydget and start again.Last edited by DC_Dave; 06-27-2012 at 05:53 AM.
-
06-30-2012, 07:34 AM #2My iPhone is a Part of Me
- Join Date
- Oct 2010
- Location
- UK
- Posts
- 697
- Thanks
- 5
- Thanked 49 Times in 48 Posts
Ok, here are some patches to make the buttons work, there are 5 views, but you can add more and alter your own.
First install Places Cydget and make sure it is ticked in Settings Cydget.
Then edit index.html which is at
/System/Library/LockCydgets/Places.Cydget/
Then find and edit/add this code
Add the two var lines after
return parseInt(indexStr, 10);
}
var number = 1;
var websites = 5;
Add the last 4 lines
getCurrImageIndex();
if (currIndex > 0)
currIndex--;
else
currIndex = max;
if (number > 1)
number--;
else
number = websites;
Add the last 4 lines
getCurrImageIndex();
if (currIndex < max)
currIndex++;
else
currIndex = 0;
if (number < websites)
number++;
else
number = 1;
Replace
var imageSrc = 'http://www.etravelreviews.com/gadget_images/travel';
With these 5 http web views
var imageSrc1 = 'http://images.intellicast.com/WxImages/SatelliteLoop/hicbsat_None_anim.gif';
var imageSrc2 = 'http://193.201.74.114/mjpg/video.mjpg';
var imageSrc3 = 'http://72.236.138.36/axis-cgi/mjpg/video.cgi';
var imageSrc4 = 'http://beachcam.kdhnc.com/mjpg/video.mjpg';
var imageSrc5 = 'http://cam.wannman.com:81/axis-cgi/mjpg/video.cgi';
Then replace
imageElem.src = imageSrc + imageIndexStr + '_small.jpg';
with
if (number==1)
imageElem.src = imageSrc1;
else
if (number==2)
imageElem.src = imageSrc2;
else
if (number==3)
imageElem.src = imageSrc3;
else
if (number==4)
imageElem.src = imageSrc4;
else
if (number==5)
imageElem.src = imageSrc5;
Now if you only want say the first 3 web views, change
var websites = 5;
to
var websites = 3;
You can edit any http address inside the quotes ' ' to your own ones.
I used the AppStore App Espresso Html to edit and preview this index.html code.
I also use LockScreen Dim Delay to keep the view on for longerLast edited by DC_Dave; 06-30-2012 at 09:08 AM.




LinkBack URL
About LinkBacks
Reply With Quote