ActionScript 3.0 :: Add Closed Captioning To Video Being Played Via Netstream?
Sep 19, 2011
I am looking to add closed captioning to video being played via Netstream. The "cuePoints" and text-data would be pulled from an external XML file. I am tinkering around with different libraries/add-ins but not having much luck. I've read that you cannot add cuePoints to a netstream programmatically.
View 7 Replies
Similar Posts:
Sep 7, 2010
I am using using Flash Builder to create an AS3 video player which needs to support Closed Captioning. However, I am not using the FLVPlayback component. Is there a way of doing something like addASCuePoint() to flash.media.Video;, or is my only option using Flash' Timer to do my own check?
View 2 Replies
Jun 10, 2011
I currently have a problem with captioning on a video file that I am streaming from Flash Media Server. For some reason, the first time the video is viewed, the captioning pauses right around 6 mins. I've verified this happens from multiple computers, from different physical locations and on different networks. The video continues to play, but the pause button on the playbar also looses functionality and the captioning does not progress.
I've created a total of 11 videos all using the Flash CC plugin with a custom button for show/hide captions and minimal playbar which only includes the pause button and the mute button. This only happens in this one particular file, but they are all setup the same. From what I can tell, the xml is constructed correctly (TT XML generated by contractor).
The code I've written works fine on all the other files. The only thing I can see that's different among the files is possibly the size of the movie I'm streaming. Its the longest. If the viewer refreshes the page and watches the movie again, the pause does not happen. Is it possible that a setting may need to be changed on the Flash Media Server?
View 1 Replies
Aug 2, 2010
A NetStatusEvent with info.code of "NetStream.Connect.Closed" is dispatched by NetConnection when a NetStream is closed. This seems kind of weird, shouldn't the NetStream dispatch the event? how do I know which NetStream has been closed if I have more than one running (which I do)? I need to know so I can cleanup the now dead stream.
View 1 Replies
Feb 29, 2008
implement closed captioning into my FLVs. I have successfully set up the FLVplayback component, and the FLVplaybackCaptioning component to work. That's not the issue. The issue is, once I have my swf, flv, and xml files (needed to successfully use CC in a FLV), I need to insert that .swf into my captivate project.
It appears to insert/import OK, but once I publish the project, the swf does not appear, and in fact the FLV icon sits on the slide rapidly blinking. Neither the video plays, nor can I even see the playback component/closed caption component (swf) that holds the FLV.
All paths are relative, so the only things I can think of that may be causing the issue are:
a)Captivate doesn't support CS3 FLVPlayback or
FLVPlaybackCaptioning components
b)Since Captivate allows importing of FLV files directly, running the FLV through the component's swf is a problem
c)The hierarchy of files needed for the Closed Captioning FLV (xml, flv, swf), interfere with compiling the new Captivate .swf
upon publishing I've also been told that the FLV captioning component only works in Actionscript 3.0 which runs on Adobe Virtual Machine 2.Captivate publishes .swf files using Actionscript 2.0 which runs on Adobe Virtual Machine 1. Therefore, what I need to do will not work.
View 4 Replies
Jun 16, 2011
I have a simple mp3 player I'm making for timing out closed captioning. It plays one mp3 based on an ExternalInterface call, updates a text field with the position and allows for pausing and jumping the position back a bit. It will have a scrubber, but that code isn't in there yet. There is no complex code anywhere in the file, but it is still getting confused with btnPlay.visible or btnPause.visible, depending on which is visible first.
[Code]...
View 4 Replies
Feb 29, 2012
I have created a tutorial for users that will register to use an application. I am used to using Adobe Captivate, but that is not available to me at my current job. So, I am doing my best in Flash. I couldn't figure out how to create a rewind button, so I cut up my tutorial into scenes that are based on what screen the user would see when registering.
Because of this, my audio will be cut into the scenes. I have created pseudo Closed Captioning by hiding and showing text when a user clicks on a Show or Hide button. That's great except, when the movie goes to Scene 2, the closed captioning returns to an off state and the user would need to click Show again. I want to know if there is a way to set a variable when the user clicks Show that can carry into subsequent scenes to then continue showing the Closed Captions. Alternatively, is there a way to make a rewind button or another way to handle Closed Captions? I am very new to ActionScript (3 or otherwise) and must have Closed Captions to meet federal law.
[CODE]...
View 4 Replies
Dec 16, 2011
I suppose the title says it all. I can load an external video file (FLV) and I can have it play. I also have the custom buttons made to control the clip. The only thing I have left to do is to have the main timeline move onto frame 2 once the external video reaches its end. I am using actionscript 3 and flash cs 5.5.
View 7 Replies
Apr 20, 2009
I have a sporadic bug where sometimes when a video is played the video doesn't show up for about 10 seconds but the audio is there.
i'm using flash as3:
_video = new Video();
_sound = new SoundTransform();
var connection:NetConnection = new NetConnection();
[Code]....
View 1 Replies
Jul 18, 2011
The stop button plays as expected. The play/pause button plays as expected. The issue is when you press pause which will cause the play button to appear, then press stop. the video automatically plays and it shouldn't. I have bolded the control button script for convenience.
[Code]...
View 1 Replies
Jul 22, 2009
I've uploaded a video produced by Camtasia, but it's not played at all! Have a look: [URL] You see that the video is being downloaded, but not played.
The player is ARPlayer 1.7. The video is a mp4 file.
The file is perfectly played on a local computer, but after uploading to ftp stops being played. I don't why...
P.S. It's interesting that if I make simply an swf-video file, it's played good: [URL]. But I don't like this option, because the swf-video is 30MB vs 5MB of the mp4-video.
View 2 Replies
Nov 9, 2010
I am going to be revamping a required annual intranet training session for employees. For the first time, we are interested in including a video instead of having employees page through html screens/jsps.However, we need some sort of accountability. For example, we previously required that employees answer a multiple choice question correctly every few screens. No record was kept of attempts to answer; the application simply wouldn't proceed until the correct answer was selected.For the purposes of using the video, we'd simply like to verify that the video played thru (no fast forward).I've been perusing the different Events available and don't see exactly what I was hoping for.What would be the best approach to this? Should I disable the drag bar/fast forwarding and include code that checks to see if the video stopped and the buffer is empty?
View 2 Replies
Mar 30, 2011
I wasn't able to add all the code before. Essentially after a movie plays I want the swf to reset to it's first original loading frame.
function stopVideo() {
showPlayBtn(true);
Tweener.addTween(videocontrols.stopBtn, {
_alpha: 100, time: 4.000000E-001, transition: "easeOutCubic"});
myStream.stop();
[Code] .....
View 1 Replies
Jul 27, 2009
I'm having a major problem stopping video that is played in an external SWF. I've added the external SWF file via the addChild method. However, when I remove it the video's audio keeps playing. The only other solution if I can't figure it out is rebuilding the site in AS2.
View 7 Replies
Jul 8, 2008
I am looking for a way to track if a video has already been played on someone's internet browser. I have a still image that comes to life from a video, so I really dont want to use controls but on the flip side the video will always play on launch of the page. I provided a mute button to give some control to stop sound but this is a site that gets a lot of repeat traffic. My client has contacted me saying that they have recieved several emails from users saying that the more they travel to the site the concept becomes less edgy and more annoying. I was wondering if anyone has ideas how to solve the issue I am facing. Is there a way to track cookies, cache, or temp internet files through actionscript?
View 2 Replies
Aug 24, 2010
I have a video player in flex which constantly plays a movie. Is there a way to see how many times it has played? So each time the movie is played, text filled populates with +1.
View 1 Replies
Oct 14, 2010
I stream some h264 videos to my application in FMS3.5ïž the videos can be played in FMS, but don't work in the local playback, <s:VideoPlayer source="test.f4v" x="31" y="18" width="402" height="206"/>. I get some h264 videos from FMS application "vod", they work well.
View 6 Replies
Feb 1, 2010
I would like to track when a .swf or preferably a .flv video has been accessed or played. Is there action script I can enter in the .swf or .flv to send an email when video is played?
View 24 Replies
Jun 25, 2006
I'm trying to figure out how to get the name of the current file being played using a flash 8 video player (custom). Here's the code im using :
[Code].....
How does flash know which video is currently being played? Basically I want to set it up so that there is a 'activeVideo' varible that updates based on what video is currently being played.
View 1 Replies
Apr 5, 2012
I'm making a video player in AS3 and was wondering how to find out how much of the video is currently cached/buffered. I'm not sure what the correct terminology is, so I haven't been able to find it in the documentation.
NetStream.time gives me the current location of the video, so based on that I can display a progressbar.
Underneath the progressbar, I want to display how much of the video has been loaded already. How do I find this value?
View 1 Replies
Jun 23, 2010
It's a simple video player that opens a netStream which setups a client callback object onMetaData.The size is off when video is scaled.Example 1:
ActionScript Code:
trace("width: " + data.width, "height: " + data.height);
if(data.height > 240)
[code].....
View 0 Replies
Aug 27, 2007
Using netstream to load in a video and have the buffer to basically load the entire video before it starts playing. So the video doesn't begin to play until the buffer is full but while the buffer is filling up, the cue points are being read and triggering actions.
View 4 Replies
May 28, 2010
my website contained some flvīs netstream. everything works fine!now i want to switch between some external swf and my netstream.. but it doessnīt work!.[code]
View 1 Replies
Aug 20, 2010
I am new in AS3.I am using net stream video player with xml. How can i get videos dimension (Width and Height).if suppose i get the dimension of the video and i will change the video size with aspect ratio.
View 7 Replies
Jul 28, 2011
I have a netstream object playing a video introduction
ns.play(video.flv)
and on another frame of my movie I have a menu, at which point I call
ns.pause()
and then depending on what the user clicks, the netstream opens a new video:
ns.play(video2.flv)
except I see a flicker from the previous video I had running. I've tried all sorts of things.
View 2 Replies
Sep 17, 2008
I am trying to load video using NetStream. I am able to do this by using the Video Class, but is it possible with the FLV Playback? I would like to add a seek bar so people can scroll the video if they want to.
I know the FLV Playback Component has this built in so I would use it BUT I can't load a stream to the FLV Playback, I can only set it's source. This works fine, but it doesn't allow me to unload it, the sound keeps playing, which is why I ended up using the NetStream instead.
So I have 2 questions. 1) Is it possible to load the NetStream to the FLV Playback component? 2) If not, how do I add the seek functionality to my Video Class?
View 2 Replies
Jul 29, 2010
Is there something i can check to see if a NetStream Video is a live stream? I have a DVR app, need the player to snap to live point (if it is live - seek(100000) ? or start from the begining if a recorded video - Ideall a boolean if the stream is live or not...
View 9 Replies
Jan 19, 2010
I'm using the netstream and video object to play a video in flash. Specifically a mp4 video.
What I'm trying to do is start playing the file from a specific position (Ex. 20seconds).
However with netstreamObject.seek(20) doesn't work unless the stream has been loaded past 20seconds. Is there a way to specify starting to load at 20s? Or any other way of accomplishing this?
View 5 Replies
Jun 24, 2010
I'm loading flv file using Video and Netstream (trivial example from docs). On Flash player 10.1 everything works fine. On 10.0.2.54 everything stops on NetStream.Play.Start.
View 1 Replies
May 9, 2011
I am using Flash Pro CS5.5 to create a video player for the iPad. I can get it to work locally, but when I test it on the iPad, it cannot open the video file. The video file is included in the package file. Is there a trick to referencing a video in the package? Here's what I am trying:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.play("myvideo.mp4");
View 1 Replies