Flash :: Event Based Based Video Player?
Jul 15, 2010
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)
View 1 Replies
Similar Posts:
May 3, 2011
I've got a web site up and running that allows the user to choose a dark or light color scheme
But on the project detail pages, there are Flash videos that also change slightly based on which color scheme is selected.
[URL]
If you start playing the video, and change color schemes, the flash player will change to the right color, but on refreshing, it doesn't remember that change. How do I modify to code below so that the Flash player reads the correct color scheme and takes action?
Pertinant code is here (full JS file is here: http://www.centerline.net/lib/js/site-unmin.js):
//Switches color of Flash Video player on detail pages
function updateColor(color) {
[Code].....
View 1 Replies
Jul 3, 2007
I have a flash video player whose playlist is based off an xml list. Now, I need this list to change based on whose accesing the player. So: Client gets a link, clicks on link, player shows their video. Another client clicks on another link, player shows their video,
View 1 Replies
Nov 4, 2011
I just discovered impure.com and was very impressed by what can be achieved in terms of visualizing data using their workspace. Although the platform is free to use, but not open source yet. This causes a few problems because the API section works with .com sites for eg. for ebay, so I cannot visualize ebay listings for regional sites such as ebay.in because the link to ebay.com is hardcoded.I searched around, but didn't find other projects that offer a similar way to work with site APIs and other data sources with the kind of user interface and detail that impure.com does in a realtime way within a browser window.This brings me to the questions:
-What technologies would be involved in creating a similar kind of project
-What are the open source tools that can help develop a fullscreen UI to render the workspace. Are there any alternatives to flash for this, and how do they compare
The goal would be to use standard python data structures, python scripts to do some processing on these data structures, scripts to gather data from csv, json and API sources such as google yahoo, wikipedia and flickr, and scripts to render graphs, tag clouds, network visualizations etc. Then bring them all together into a visual interface that supports drag drop and simple type checking.How would the python backend integrate with the UI.
View 1 Replies
Jun 3, 2011
Do you know any headless flash-based mp3 player scriptable trough javascript? I just need a public API to control playback (load, play, stop, seek) and a set of capturable events (onLoad, onPlay, onStop, onEnd). I need no UI, no helper scripts to embed the player, no support for playlists... and I'm spending so much time with no results. I just need a fallback system for browsers that do not support HTML5 audio tag.
View 2 Replies
Jun 12, 2010
I'm looking for a way to have an .mp3 file play in a website without relying on a flash-based player. I've searched w3 schools and every forum I can think of, but every media player I've found so far has been some sort of proprietary flash player.
Doesn't HTML support some sort of native player? I've found some that rely on Windows Media Player which is close, but I want the player to work on an iPhone and something tells me WMP won't get that done.
View 4 Replies
Aug 30, 2010
I need to find a flash video player that is free and open source. I love flowplayer and jwplayer but we fit into their most expensive licenses. It will cost us over $1400 to license flowplayer for our use. We don't have that right now.
I just need a flash player with a basic javascript api that is truly free. I have been googling for hours and nothing so far.
It would be a huge plus if someone knows of a chromeless youtube player that uses the youtube as3 api. I don't have time right now to code an entire chromeless player complete with all the controls and a progress bar.
View 2 Replies
Jul 5, 2009
I want to create something similar to "Karrine Cast" on http://www.karrine.com/home/ - something where I can record myself on web cam every week and then upload it and display it in flash. Without having to open up flash and render it into FLV, then import it, do coding etc change my move etc. Something simple, quick and easy to be able to display videos. Is there a tutorial or some sort of premade code that would allow me to do this?
View 1 Replies
Apr 28, 2009
I am making flash CS4-based music player with ActionScript 3. When I host the player on my site, e.g. [URL], and play an mp3 on the server of my site, e.g.[URL], it works well.
When I link to an mp3 of another site, e.g. [URL], in my local machine, it also works. However, when I host the music player in my site [URL], and play an mp3 of [URL], then it can't be played.
View 8 Replies
Nov 17, 2009
I'm relatively new to AS3. There's one thing that I don't quite understand about Sprites. I'm making a tile based game, and all the tile graphics for a level are inside one movie clip in each frame. Would I be able to go about creating multiple sprites based on the frames in said movieclip's timeline I would I have to go through and make a separate library graphic for each.
View 2 Replies
Nov 12, 2010
How to embed a custom SWF based audio player into facebook wall posts? I want to start posting mp3 links on my and other walls and at one point I saw someone do this and a mp3 player was embeded in facebook to play the audio. When I post a link all I get is the link people can click. How do I: 1. make a flash playable on the FB wall via the clickable play thumbnail. 2. Make a mp3 playanle on the FB wall via the mp3 player fb uses.
View 1 Replies
Aug 30, 2010
To display a P2P video chat / screen-share session in the browser are we limited only to Flash?
I think there are HTML5 solutions 'in the pipeline' but I've no idea of timescales. Do you know of any flash alternatives?
View 4 Replies
Nov 22, 2006
I was wondering if any of You can recommend some free/cheap video-chat based on flash?
View 1 Replies
Jan 14, 2012
I'm doing a custom skin for flv and I can seek the flv if I moved the slider,but how to get the the percentage to move? to get the information of the seek's percent.[code]
View 0 Replies
Sep 28, 2010
I'm developing a web-based fantasy football game. Most of the game is a straight-forward web application built on top of Linux/Apache/Php/MySQL.
I'm trying to figure out how to implement the draft application. The draft date and time will be scheduled in advance by each league's owner. Up to 32 users may be logged on for a given league's draft, and there is no limit to how many drafts may be happening concurrently. The users will take turns selecting players, and each user's turn will have a time limit. I'd like for all the users to be able to see whose turn it is, how much time that user has left to select a player, who they select, and which players are still available. If there are users in the league who are not logged in during the draft I'd like to be able to detect that and automatically assign players to them rather than waiting for the time to run out on their turn. Ideally I'd also like to have a chat window so the users could chat with one another during the draft.
My background is in desktop application development, so if necessary I could write server code in C#/.NET or Java. As far as I can see these are the options: PHP/AJAX - It seems like it would be possible to have all the state for the draft in the database and have the operations for the draft run in PHP triggered by requests from the clients? I guess in this case the draft doesn't start until at least one user logs in, and it seems like it would be a lot of polling requests to the server if I want everyone notified quickly when a user makes a selection.
[Code]...
View 2 Replies
Dec 12, 2009
I have some movie clips that I want to load by using a text box. The way I want to do it is to have a text box and based on the word typed into it call the respective movieclip. My problem is that I do not know how to call the function based on the event of someone hitting the "enter" key.
View 3 Replies
Nov 22, 2010
I have a client that wants a flip book that works identical to this. The problem is, he wants it to turn pages on its own. Preferably at the end of a soundclip. I'm having issues with this, because this is in AS2, and I can't get anything to work from a sound type event! > <
View 8 Replies
Jul 18, 2005
I need to load in a schedule of events (xml).These events are precisely timed (down to a tenth of a second).The events (like, attach movie to main screen) need to last for a very precise amount of time (again, within a tenth of a second).So, it would run like so:Schedule gets loaded that says:
* "show banana for 15.5 seconds @ 2 min and 32 seconds after the movie started, then remove the banana."
* "show apple for 12 seconds @ 4 min and 12 seconds after the movie started, then remove the apple."
and so on... like 100 of them.So, what's the best way to handle this? It seems like I'll certainly have to use "setInterval" in there somewhere - but I'm looking for the cleanest and most accurate way to do this.To complicate things further - my scene is rather computationally intensive (even on the f8 player) and timing accuracy seems to be a weak spot for flash in this kind of situation.
View 5 Replies
Jan 20, 2011
I am trying to define a clip to be dragged based on the clip used in the mouseEvent. It doesn't like that I am trying to create the var dragItem three times. It says, "A conflict exists with definition dragItem in namespace internal."Is there a way to do this that I am not seeing?
Code:
function mousePress(evt:MouseEvent):void
{
[code].....
View 1 Replies
May 25, 2010
I have 2 custom components, which have their own nesting hierarchy ... One is container for another. I have to "familiarize them" with each other. The way I'm trying to achieve that is using global events (one side is firing and the other one is catching):
Application.application.addEventListener("Hello", function (data:Event):void{
// .. some actions
});
[Code]...
Then should be created the connection between container and it's child.
BUT, the only thing I could acheive is passing a reference to the Container in the DynamicEvent. Is there any chance that I could access the child at the event-handler function.
View 3 Replies
Feb 10, 2011
When I create something like the following:
<mx:DataGrid id"myDataGrid"
itemEditBegin="myDataGrid_itemEditBeginHandler(event)" />
When does the event listener for "itemEditBegin" get added and removed? Is this essentially the same as:
<mx:DataGrid id="myDataGrid"
creationComplete="myDataGrid_creationCompleteHandler(event)" />
protected function myDataGrid_creationCompleteHandler(event:FlexEvent):void
{
[Code]...
Basically, I'm wondering where I should add "myDataGrid.addEventListener" if I want to do it programmatically? Should it be in the creationComplete listener function of the object itself, or perhaps in the creationComplete listener function for whatever parent object it resides in?
View 1 Replies
Jan 7, 2010
I can't think of a way to write a function that returns an object that is loaded from an external swf. I need to be able to make a function that waits for an event listener before returning the value. I want to be able to create objects that can load in external swfs with minimal and no redundant code.
Here is the over all logic of my function:
Code:
//First create an object and set it to function that loads in an external file
var MaskFrames:Object = loadFile(parentObjectName, "swfs/", "file.swf");
//Create the function that returns the loaded swf as an object
[Code].....
View 5 Replies
Apr 12, 2011
I have created some code in Actionscript 3 following various tutorials which is a simple media player linked to an XML file for the source information.I have found out though I need to use actionscript classes for the code and wondered is their a way to convert it to classes or does anyone know of a tutorial in actionscript 3 for creating a media player based on classes? My code is below:
import flash.net.URLLoader;
import flash.events.Event;
import flash.net.URLRequest;[code]...............
View 2 Replies
Jul 8, 2009
I'm wanting to create a xml based video playlist like the one on the link below. I've searched Flashkit and the web and found a few things, but nothing really close in operation or that I could use.
View 3 Replies
Nov 20, 2009
So I downloaded this as3flvplayer script, but it hasn't been updated in over a year and has no documentation. It is based off loading the video from XML, but I would like to change it to where I can specify a URL parameter instead.
like: example.com/player.swf?v=video1.flv
Here is the original: [URL]
View 1 Replies
Jan 20, 2012
I want to use RTMP based HTTP DVR functionality and HLS based IOS functionality, So I need to know how to MPP from my existing DVR app to the livepkgr app so that the stream being recorded at the DVR app can be used by the Flash and Stream MPP over to livepkgr app and can be used by the IOS HLS.
View 1 Replies
Jul 29, 2006
[URL]
What I am trying to do is get the animation of the audio levels (red bars next to the power switch) to only happen while a video is actually playing (videos are in the video gallery section). I have the animation done and I can easily get it to start and stop based on pressing the play and stop buttons, but since they start and pause the video you would get instances where the video isn't playing but the audio levels would be animated, which I don't want.
Here is an example of the code in the play button (using NetConnection and NetStream to play the videos):
Code:
play_btn.onPress = function() {
playSound.start();
infoText_txt.text = "PLAY";
my_ns.pause(spotToPlay);
};
The only way I can think to make it work exactly as I want it is to have Flash look to see if the video is actually playing or not and I can't figure out how to do this or if its even possible using the NetStream command I am using to start and stop the videos.
View 5 Replies
Aug 23, 2009
I have a SendData class that sends form info to a php script. It is a static class that does not extend anything. I want to be able to dispatch an event if there is an error, or when it gets info back from the server. I have a custom event class that I have been using to dispatch events like this, but I have only used that in displayObject extended classes.The problem is, it seems like something has to be a displayObject based class to dispatch events. I know there must be a way to do this, but I'm having trouble finding it in searches.
View 2 Replies
Feb 9, 2010
I have to create dynamic content based on content uploaded to site and I need to know best tools for this.In a nutshell. User uploads images. Images embeded into existing video and animated. New video produced for download So far I have looked at Flash Media Server, Flex etc but not sure what the best tool is for the server side production of content. I know I can produce the custom MXML and AS files based on content uploaded and using the Flex SDK I can render these into a SWF. What I don't know is if There are limiatations to this in the context of what I want to achieve For instance can a product like Flash Media Server do something similar.Transcoding is also required hence the interest in FMS.
View 1 Replies
Mar 30, 2010
I have an embedded video (can't be a separate FLV) named videoMC and I need to move the playhead back and forth by moving scrubberMC horizontally on the stage. Lets say videoMC has 300 frames, I would like this to dynamically calculate based on the total number of frames in videoMC rather than just using 300 as a number, in case the video's duration changes.In mimicking a regular video player I want to have a line graphic indicating the total length of the movie so I need to be able to constrain all scrubberMC movement to that area.
View 5 Replies