PHP :: Event When Video Is Done - Possible?
Aug 19, 2011Is it possible to have a flash/html5 video on a webpage, and when the video is done, it will run a PHP script?
View 1 RepliesIs it possible to have a flash/html5 video on a webpage, and when the video is done, it will run a PHP script?
View 1 RepliesWe'll be streaming a live basketball event next month and we always get asked about showing the game clock with the video.We have two cameras one can capture the game and the other capture the game clock. Is there a way to overlay the game clock video on top of the game video? Has anyone done any similar sporting events that can offer any suggestions and/or best practices?This will be our first live Flash Streaming event, we've used Windows Media in the past and just switched to Flash Interactive Media Server 3.5
View 3 RepliesI have a Flash player that I created with Moyea PlayerBox and I am trying to figure out how to find out when the video is done playing. I want to create a playlist kind of like ESPN does where you can do a check box for continuous play and if it is checked I want it to keep playing if not I want the user to be able to decide where on the playlist to play.
View 1 RepliesI am trying to load a video which is in the same folder as the flash file using a buttons but its not loading.
Here is the code I am using:
_root.Cross.onRelease = function() {
_root.gotoAndStop(9);
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
Gamevid.attachVideo(ns);
ns.play("gta.flv");};
How to trigger an event if the video is over? I'ld like to show a replay button then.
var vid:Video = new Video(480, 270);
vidcont.addChild(vid);
var nc:NetConnection = new NetConnection();
[code]........
What object do I add my Mouse event listener to in order to capture clicks on a video? I've tried the netsream object and the video player object, but I don't get anything with either. Is this even possible?
View 2 RepliesI am trying to build my first AS 3.0 project using examples from O'relliy. I have loaded an FLV using the NetStream class. I added an Event Listener find out when the video has finished playing, probably not the right method. After the video finishes, I'd like to load a static image and a replay button. What should I use to trigger these things to load? What should I use to load them?
View 1 RepliesI am trying to add a mouse over event to my video player but it doesnt seem to be registering. What am I doing wrong?
[Code]...
I have created a music site with audio and video content in AS 3. So far my audio content works well, and my video content works well. Video continues playing when the home or music buttons are clicked. I am having trouble locating code for an event listener that will stop video play when the home button or music button are clicked. Here's what I have been trying so far...to no avail.
stop();
home_btn2.addEventListener(MouseEvent.CLICK, goHome2);
function goHome2(E:MouseEvent):void {
[Code]....
I'm trying to create a video player in AS3 that displays the player controls when the user hovers over the video, however I'm having a hard time getting the MOUSE_OVER event to fire. I've made sure that the video's index is at the top, so that's not the issue. Is there something I'm missing? Is there any reason why this event listener wouldn't work on a video object? video.addEventListener(MouseEvent.MOUSE_OVER, doThis);
View 2 RepliesIm streaming a flv and i need to go and the next frame afterwards, or trigger an event. But at the moment the video just stops on the end...hows is it possible to carry on playing the flash movie?
View 1 RepliesI have a video complete event that was working wonderfully, when it was part of my main SWF, but now I have pulled it out and have it as an external SWF and is being loaded into the main timeline. Now it does not work.
I now get this error on compiling:
Code:
Symbol 'reconnect_video', Layer 'Actions', Frame 141, Line 61119: Access of possibly undefined property COMPLETE through a reference with static type Class.
The code that is causing the error is as follows:
Code:
import fl.video.VideoEvent;
reconn.addEventListener(VideoEvent.COMPLETE, completeHandlerReconn);
function completeHandlerReconn(event:VideoEvent):void{
[Code].....
This is code is inside off a movieClip called "reconnect_video" which is nested inside of a movieClip called "journal_open". So the parent of this movieClip should still be the same. The "journal_open" movie clip is the one that was removed from the original SWF. (due to size) I am now loading "journal_open" externally, and since then this error has appeared.
Do I have to do something different since this is no longer the main SWF?
dispatch event video tutorial...
View 2 RepliesI am currently working on a website that has a video in it. I have a background picture that fades out just before the video is played. I want to fade the background back in after the video is finished.
View 4 RepliesHow can I detect when a FLV video is ended in order to dispatch an event?
View 3 RepliesThis code works fine if the timeline is moving forward through the .flv file. However, the going in reverse produces choppy results. The choppyness seems uniform, as in, it's always choppy and always the same intensity. [code]...
View 3 RepliesThere seems to be tutorials on starting the next video at completion of the previous one using the FLV2.5 Playback component, but stopping a video playback event when a new one is triggered. Ex. Video one button is clicked and video starts playing, viewer clicks video two button mid way through playback of video one and starts video two. How do I stop the playback of video one when video two button is clicked to avoid both playing simultaneously?
I have used:
if (snd ! = null) {
channel.stop();
}
for audio files sucessfully.
I'm attempting to use Flash for displaying "scrolls" on our educational access channel. I have an announcement on each frame, which has a 7 sec delay, and a footer that displays the current time. What I would like to do, using the vars the Hours and the Minutes trigger a command that at a set time, like 8:20, it would jump to another swf file that might contain a video playback component. I can't seem to come up with the right combination to trigger it a set time. Here is what the frame 1 AS contains.
ActionScript Code:
stop();
var wT:uint = 1000; //wT = waitingTime
var ttL:uint = 1; //ttL = times to loop
function customTimer (timeToWait:int = 1):void {
[Code] .....
I am trying to make an application which will do the video conferencing. I have read some article on actionscript and started making the application. I am capturing image from web cam and copy it in an array which acts as a buffer. Then I am running a timer which pops each image from array and converting it into bytearray and send it via socket. When timer event is fired camera gets blocked and the whole process gets slow down. Is there anyway to do the video conferencing smoothly ?
View 2 RepliesI'm doing a project for my graphic design course in Flash using Action script 3.0, just wondering if it's possible to have a mouse over event that will open another flash window that will play a video.
View 2 RepliesI'm having trouble getting the Video class to work.. Everything works fine until I try to add an on enter frame event listener to the movie. I basically want to overlay an effect that gets updated every frame but adding the event listener causes the movie to freeze before it loads or on the first frame or just shortly after starting play back.. Check out the source code at [URL]
It freezes even if the enter frame method body is commented out so I don't think it's because of extra overhead..
I am trying to work with the EventDispatcher class to dispatch a custom event to stop a video from playing. The video plays inside a MovieClip with an attached class file called PlayerProfile. I want the video in the PlayerProfile MovieClip to stop playing when the user clicks on another MovieClip called ScrollBox. I'm getting no compile or runtime erros, but the code is not stopping the video. I have seen use of a public static constant to represent the custom event. Is that what I am missing here.
[Code]...
I have editable grids which are 2-way binded to my model. What I want is to validate my data when user edits any cell before it get updated in model. I have applied my validation at ItemEditEnd handler, but, I want to apply validation in between itemEditBegin and itemEditEnd events.
View 1 RepliesI hava a custom component and it contains a child icon. If I add a mouse-click event listener to both component(click-listener1) and icon(click-listener2), the event dispatched sequence is click-listener2, then click-listener1. I can understand it. But if I add a custom event to component (listener1), and mouse-click event to icon(listener2), when icon is clicked, the component will dispatch the custom event. In my test, the event dispatched sequence is listener1, then listener2. It doesn't match with event-bubbles rule.
In my opinion The custom event is dispatched in listener2, which triggers listener1. Why event flow sequence is not listener2, listener1?
In component.
icon.addEventListener(MouseEvent.CLICK, iconClickHandler);
private function iconClickHandler(event:MouseEvent):void
{
[Code].....
I need a flash based video player that is able to trigger events I can listen to via JavaScript. The events I need to listen to are:
The play button is pressed The pause button is pressed The video stops (is finished)
I am trying to learn JavaScript and I am wondering whether JavaScript has a event listener just like ActionScript's ENTER_FRAME. Basically, I want this event listener to listen "all the time" not just wait for any particular instance (mouse click, keyboard event) of event.
View 3 RepliesRecently i have visited so many video enriched flash site like this one [URL] Most of them shows video in full size. I downloaded the video using FF plugin. Video framesize is very small compared to the stage size. When i tried to add video and resize the video acoording to the page size , it slows the browser. I tried to embed the flv inside an swf and loaded the swf using normal loader and plyed it.. but the quallity and performance comapred to these site is very low..
View 3 RepliesI made a video in After Effect and export it to flash as a FLV video.. and write de code to load it into flash.. but I need it to loop.. Here is the code
[Code]...
Im trying to make a video class so I can put in my src and video dimensions to load up a video .. I am wishing to implement this in the following way
[Code]...
I would like to load a video into a video at certain cue points along the main video. Does anyone know how to do that?
View 20 Replies