Javascript :: Take A Screenshot Of A Certain Website At A Given Moment?
Feb 11, 2012
I want to take a screenshot from my website of another website or preferable 1 part of it (an object tag).I want it to work this way: I click on a button that will send a request to screenshot the page at this moment. Several ideas are insert the page inside a flash object and screenshot it. Or opening a browser on the server and when I click the button send a request using AJAX to tell the server to screenshot with this browser.How should I do this because I kind of failing right now with the flash Idea. The page I am trying to screenshot is a live camera that uses a .wvx object. But I can't even do that with a .swf object
On my website people enter, watch a live stream from a remote server (not my server) and when they click on a button it report it to me and what I want to add is the ability for me to take a screenshot of this stream at the very moment when they click that button and save it on the server. They question is how to implement so? Now I just have that stream in an Iframe that shows it as a .swf object Possible solutions I thought of but don't know whether will work are:
Embedding this Iframe inside a flash object that I will create. That means that on the website the users will see a flash object I created that all it does is to show the stream from an url I give it and when the user clicks on a button inside the html it will send the flash the command to save the screenshot now and then save it on my server (don't know how to implement it, so the second question is, if you think it will work, how to do so?).Second solution is to have an open browser on my server that when the user clicks the button, I send an ajax request to the server that will then order the browser to take a screenshot and save it locally on the server. (again, if you think this solution will work, tell me how to implement so).
I am using a .flv player. When I run it in my localhost then it runs properly, but after uploaded on the my dedicated server and let it run in my browser, only the menu apears and de video itself is missing..
It all worked a few days earlyer -so why did it disapear?
I used Flash CS3 and actionscript 2.0 It's compleaty in Dutch.. I didn't make the asignments -don't flame me. I know it's low-tech.
I would like to know if there's a way you can take a screenshot of a flash object embedded in a page, and then email the PNG or JPG using the mailto: form submission to a specific address. So far I have investigated various javascript methods, but none of them have worked.
I want to play a little "ding" sound when a new item is posted on my site. I'll leave the option to turn it off of course.Now should I do this with JavaScript? Would jQuery be helpful? Or should I use Flash? Looking for something that is widely compatible with different browsers.
I am interested in streaming audio on my website, but I have no clue where to begin. There are two types of streaming I hope to achieve. The first would be streaming a playlist of songs stored on the server and the second would be live audio streaming. Can anybody recomend any good sites or plugins to use?
Do you know any good solutions for converting a HTML rich text to a paginated book ? I used a CKEditor to let the user input the desired text. Now I am trying to display the content in a Book like environment. Preferably a Javascript/CSS one but Flash is OK too. Thought about jPaginate , jquery plugin. The text can be formatted with 2-3 text styles and can contain images.
Is it possible at all to create a feature on a website where you allow a user to select a portion of the web page, and that selected area is rendered as an image? Its similar to the "Cropper" desktop program but needs to be embedded on the web page It sounds near impossible using JS, flash, silverlight or any web based tools but I just wanted to get a 2nd opinion.
I understand that there are many methods to creating a slideshow on a website, but that isn't my question. What I really want to know is what is the most mainstream method of creating a slideshow on a website.What do you recommend?So far I've seen Jquery, Javascript, CSS & DHTML, and Flash. The first thing that comes to mind for me is flash, then second Javascript.
I'm considering attempting a redesign of a flash website with jquery effects and transitions in place. I just wanted to reach out to the community to maybe see how feasible this really is considering the particular transitions and effects this website hasThe gallery I guess can be recreated by carousel plugin, but there are so many out there so maybe could suggest a stable one that would be be best suited to this job. The other items that really caught my attention in which I wouldn't really know where to start is the navbar and the effect that looks like a book opening when you click on a link on the navbar.
Is it possible to stream a radio channel in my website if I have the mml url mms:// ? I was checking out XML Flash Players but they do not seem to support that protocol. I am also ok if I need to code something but I would like to be guided in the right direction as I cannot find a lot of information about this issue.Is there something ready made? Would it be easier if I get my client to get me a different type of stream?
I want to capture flash events in webpage using javascript. By flash events I mean like, clicking a Button, mouseover, entering text in textbox in flash content (websites). I see adobe flash uses Action script code to get the events in eventlisteners. How can I use the same API in javascript?
For my wishlist site, I would like to propose widgets to my users in order to publish their wishlist on their blog or personal website. The idea is to propose a few lines of code to my users that they only need to copy/paste to insert the widget displaying their wishlist. What is the best way to create/develop a widget ?
I have a single page web app that shows real time data using just HTML/CSS/JS - I have managed to keep Flash out of it.
Now I want to play a small chime but I don't want to make the site dependent on Flash. It is just a chime to indicate a new chat, so it is not a huge stumbling block but I would like to find a way.
Is this possible - I am guessing no since you need something local to play the sound
I am kind of new to javascript/html5. normally I would do that kind of stuff inside flash/as3. but since the iPad doesn't support that I need to switch the horse...I want to build a website where words are floating in position and size and if the mouse comes over one word it should draw some lines to all the other words. are there any frameworks one could use? the whole should look like a tag cloud with lines between the tags.
And just loved the way it looked, anyone have any idea how to get a similar effect using ideally CSS/JS and if not then using flash? Furthermore it would be excellent if you could move to the next slide by clicking on the image itself.I'm also wondering how she is able to maintain height of the images when resizing (unless she is doing it manually which I doubt now days).
i'm having a sound looping issue at the moment on my site. I'm trying to make it so i have sparks shooting out of something, and at the same time the sparks shoot out i have a electric type sound. BUT the graphics all seem to work, but the sound for some reason, just keeps looping even when i'm not moused over. I put stops for the sound all over the place on like every frame and still doesn't work. Is there a bit of code I can use somewhere that will just mute the stupid thing after you take your mouse off the button?
here you can see what i'm talking about. I don't have it on loop. [URL].. the way i'm getting this animation to work, is by having one big movie clip and inside that movie clip i have the sparks movie clip, and the blue fade movie clip, then i just dropped in the sound where the sparks movie clip is.
I'm working on a XML update modulle, but i have a big problem with my insertBefore I'm just trying to add an <xxx> tag before the <newsItem> tag for the moment, He only does inserts it befor the first <newsItem> tag, he refuses to do it before the 2nd, 3rd or 4th newsItem tag This is the XML code (for a better view [URL] )
I'm using:this.flipQ1One.visible = false; and this.flipQ1One.visible = true; to hide and show a movie clip, the problem is that the movie clip is an object that flips then stops and by the time is shown (when the condition is complied) the flip had already happen while hide so you don't see it.What I need is that the movie clip starts playing at the moment the "visible" becomes true not before.
I am having trouble using symbols at the moment. Whenever, lets say, I have a character, he has many layers and I want to make him and all his layers a symbol. So I select everything using the selection tool and press F8, create the symbol as graphic and click ok. Now what happens is that all the keyframes for each layer are deleted except one randomly picked layer like "Hat" or something. So when for example I now clear visibility of the "Hat" layer and the whole drawing disappears. how can I create a symbol without this type of thing happening.
i am playing around with the rotationX/Y/Z properties available in flashplayer since version 10. for testing purpose i created a cube and put canvas objects on three sides of it (top, front, bottom) and created a tween to get the values required for turing by 90 deg. turning the cube (a canvas) using rotationX = xx works well when the three side-canvas objects are small and filled with a not-to-complex element hierarchy. when using larger and more complex content it slows down. the next idea was to remove the canvas elements content and replace it by a snapshotimage of the content instead before starting the turn, after the turn is performed the original content is put back on the sides again.
this results in a good perfomance increase. using a tween the last step of rotation is done in the function that is called as the tweenEnd handler. in this function also the process of copying the canvases content back is performed. unfortunately this results in a short hang of the cube right in that last rotation step, the reason for which is that rotation and copying back takes place at the same time. so i could wait for some time after having called cube.rotationX = endValue by using a timer or setTimeout(func, 500), but this is ugly. so my question is: after having called cube.rotationX = endValue a period of time is required to calculate data for the rotation and do the rotation itself. is there a way to find out the point in time when the rotation has ended, so that then the copying can be started ?
I would like the clients to print what they are seeing at the moment with the flash program.How is this possible? That is why I said (print screen of program) because its actually printing what the person is seeing at the moment.The thing is that my program leads to certain places and combinations of photos.So I would like this functionality.
I'm working on a final schoolproject at the moment and the file size is getting really large... Because I might update this project later with more footage, I've already put a lot of code on the buttons which I have put between comment tags for now, so I'll be able to update it later easily.
The max on our project is 10MB, now there is a lot of external footage like sound and video, but still all the flash files together are taking up a lot of space.
Does anyone know if a lot of comments in the code have any effect on file size?