IDE :: FLV Playback And Caption Component For Videos
Sep 13, 2008
I'm using the flvPlayback and Captioning component/skin for some videos. Works great, but I can't figure out how to have the captions off by default and use the caption button to turn them on for users who want to see the caption buttons.
flvCaption.showCaptions=false;
Hides the captions, but also disables the captionButton in the skin, so there is no way to toggle showing and hiding the captions.
View 4 Replies
Similar Posts:
Dec 9, 2009
I am importing 4 videos flv with playback component. When a video is loading, I would like an mc to be visible (like a loading mc e.g.youtube) to be sure the users understands that it's working and loading. But when it starts to play, the mc needs to disappear.So I imagine something like this code is a start
import fl.video.VideoEvent;
vid1.addEventListener(VideoEvent.LOADING.videoLoad );
function videoLoad(e:VideoEvent){
[code]......
View 1 Replies
Sep 22, 2007
I'm trying to get a Media Playback component to play videos. I can get it all to work if I hard code the component with this code:
[Code]..
View 14 Replies
Jul 8, 2010
what the subject says: Closed Caption for Video Flv. Every documentation on internet speak about FlvPlaybackCaptioning.. I would like to made a flv player with caption on my own...
I also found an interesting component called CCForFlashAs3, but I'm not able to use it...
View 3 Replies
Sep 15, 2009
I am using the flvplaybackcaptioning component in Flash CS3 along with a flvplayback component.
The XML file is pointed and everything works fine till I go fullscreen mode. Once switched to fullscreen mode, the flvplaybackcaptioning component starts moving up by 1 or 2 lines. This is very distracting.
View 1 Replies
Oct 30, 2009
I have four flv videos (video1.flv, video2.flv,video3.flv and video4.flv) and I want to play them one after the other. When video4.flv is finished I need the movie to start playing video1.flv again and the rest after it, an endless loop. How can I do that? I'm using CS3 ,AS2 and Flash Player 9.
View 1 Replies
Mar 16, 2010
I built a flash player that has many external flv videos. The player functions perfectly when played in flash with the test movie function. It also plays fine in deamweaver when the .html file is imported into it. The problem is once the player is uploaded onto a site with all the files in the same folder the .html loads and the flash file functions perfectly but the videos do not load.
The skin of the videos load, but the area where you would be able to seek through the video has a rotating green barber shop looking thing like it would be downloading the videos, and the videos never load. I have debugged it and it came up with no errors. So now I come to the people that have more experience than me with this. I would be happy to forward a link or swf file to anyone if it can help see where the error is. I'm thinking it is a few lines of code that I am unaware needs to be in my file. I will leave it to the experts.
View 9 Replies
Dec 28, 2011
when i create an exe and i take it to fullscreen, my videos stop playing...and if yes how can i allow it to play my videos in fullscreen mode....
View 0 Replies
Aug 23, 2011
I have a video that is external, and is playing through the FLV Playback component.
I need to set Cue points in FLV video to trigger other MovieClips at certain times during FLV playback. I have read about them, but am unsure how to use them using Adobe Media Encoder. I am pretty sure I know how to set them in there, (unless there is a better way) but then how do you trigger the event?
View 1 Replies
Jul 24, 2003
I've completed the Hover Caption tutorial at [URL] successfully. What I'd like to do in addition, is to resize the caption box to match the caption text's length.
I've tried giving the background box a name (box) and turning it into a button and then doing:
_root.caption.box._width = _root.caption.help.length * 8;
But the box never aligns with the text properly after that. don't know what methods to call in order to get the bottom corner of the text and bottom corner of the box and align them properly.
View 5 Replies
Mar 1, 2011
I have an audio slide show and I need to add caption and on off button to show and hide the caption. how can I make on and off button to show the caption?and is it possible to add caption on my audio (not video) using actionscript 3.0?
View 1 Replies
Mar 9, 2012
I have videos with DRM using flash Access. I would like to be able to play these videos on mobile devices using Air when offline. It is possible to play streaming DRM content on mobile devices but I'm unsure how to save a voucher for offline playback. Since DRMManager is not included in Air Mobile, is this possible and how would it be done?
View 1 Replies
May 28, 2009
Here is my code that plays the video:
import fl.video.*; var myVideo:FLVPlayback = new FLVPlayback(); myVideo.source = "video.flv"; } addChild(myVideo);
How to I set the size of the video? I have tried "myVideo.videoWidth = 400;" but that gives me an error.
View 3 Replies
Sep 9, 2010
I know you can put a playback component on a FLV. Is it possible to have a playback component on a swf?
View 3 Replies
Oct 25, 2005
I am sure I am just over looking some simple true/false thing somewhere but I can't figure out how to loop an external (progressive download) FLA file with the new FLA Playback Component..
View 14 Replies
Dec 30, 2010
Link [URL] Problem is the video doesn't play online. It works offline. There's no script involved, I have manually sourced the flv to flv play back component. There's no folders all files are together and easy to find.
View 4 Replies
May 20, 2009
I have a frame where I have added an flv playback component to play a flv file. Everything plays fine, but when I test the file and navagate away from the frame that the playback component is on, the video continues playing.
Is there any way to get the video to stop when the user navigates away from the frame? I'm sure this could be done if I add the video using AS 3.0 (that is what the navigation of the site is coded with).
View 2 Replies
Jun 15, 2009
I'm having a problem with the playbuttons, pausebutton and seekbar that I use on my flvplayback video. I don't know why, but these buttonaren's doing anything. I have put this code :
//slumdog is my flvplayback instance nameimport mx.video;
slumdog.playButton = my_playbut;
slumdog.pauseButton = my_pausebut;
slumdog.seekBar = my_seekbar;
View 3 Replies
Jul 1, 2011
I created a video in After Effects and rendered the output to an .flv, works fine when I embed in html and upload to my server. But now I'm having a problem with the next phase and that's adding a link to the flv using Cue points. I read the tutes on this but cannot get past the following. First I tested this by importing the flv picking the skin for the player and importing straight to an html page in Dreamweaver. I uploaded the html, flv and player to the server and it works great.
Now I need to add a url link to a certain frame of the flv and read the tute on how to import the flv into a new fla file, I see where I can scrub the timeline inside the flv and thought I was home free as all I had to do was upload and add the cue points. But now I see where I had to take the .flv and import as video to a new fla and after importing the flv it clearly states that the component will only play locally. After making sure the flv was on the server I uploaded the html and swf. When I try to playback from the server I get a browser Which is named "Flash Player Installation" with a blank screen.
View 2 Replies
Mar 16, 2012
I am currently working on a project (AS3), where I have 2 frames, with 2 videos (using the FLVPlayback component) and I want to switch from one video to the next video, however the catch is when I switch to the next video I want the new video to play at the previous video time. Example: Video 1 plays, 10 sec later, you click a button to go and see the next video (in another frame) and that new Video starts 10 sec into it.
This is the codes I been using so far:
import fl.video.VideoEvent;
import fl.video.MetadataEvent;
video1.addEventListener(VideoEvent.PLAYHEAD_UPDATE, timer);
function timer(e:VideoEvent):void {
var newTime = video1.playheadTime;
[Code] .....
View 3 Replies
Feb 2, 2011
i am trying to create a custom skin for my FLV component in CS5 ..but adobe's fla files have errors when i decompile...I get this error...
Actionscript Code:
Error 1046: Type was not found or was not a compile - time constant : NetStreamPlayOtions
When i do publish flash does recognise the custom.swf skin...when i do add it in my movie though i get this error
Actionscript Code:
Error #2044: Unhandled skinError:. text=Error #1009: Cannot access a property or method of a null object reference.
View 1 Replies
Apr 21, 2010
I'm Loading an FLV in flash using FLV Playback component in as3. And simultaneously i'm running sound on Phone. It syncs properly in my machine. But it is giving me terrible delay in slower machines. So is there any way to control the framerate of the FLV so that it can sync properly with sound.
View 1 Replies
Jun 30, 2010
Do i need to use the FLV playback component to load FLV files or can i load FLV files using loadMovie and use them like loaded SWF files? Can FLV files be loaded using ActionScript 1?
I searched for simple examples on how to load an FLV but i can't find any examples..
View 15 Replies
Feb 3, 2009
I have an FLV Playback component in a website that I'm working on and for some odd reason the controls do not work. The video loads and plays fine and the controls appear but you cant click on anything like you can when you assign the skin in the parameters. It is a default Flash skin. At first I thought it was due to the video layer being under a mask, so I moved it on top and it didnt change anything.
View 1 Replies
Jun 27, 2010
I want to add a simple audio control (play/pause/seek/volume) control to my flex application.
View 1 Replies
Mar 18, 2009
I'm trying to do a site with multiple videos, and I figured that instead of adding frames with new instances of the Playback component, it would be nice if I could get it working by just passing some actionscript to the component on the click of a button.
Here's what doesn't work:
Code:
on (release) {
_root.videoPlayer.loadMovie("Videos/theVideo.flv");
}
videoPlayer is the name of my Playback component. This does cause an interruption, as the video that's currently playing disappears, so it appears it's at least trying to load it, but it certainly won't play that video.
View 1 Replies
Nov 16, 2009
I am using the following code to load my video into the playback component, but the video is the wrong size, it's too small and isn't centered in the video player.
Code:
import fl.video.*;
var myVideo:FLVPlayback;
myVideo = new FLVPlayback();
myVideo.source = "videos/Logo Animation WEB.mp4";
myVideo.addEventListener(VideoEvent.COMPLETE, completePlay);
[Code] .....
View 1 Replies
Feb 2, 2012
After much discussions and great help I finally got the working FLV component. Here is my entire code from the label with an FLV component.
import fl.video.VideoProgressEvent;
stop();
close_btn.addEventListener(MouseEvent.CLICK, onClick_GoBackToHowTo2);
function onClick_GoBackToHowTo2(event:MouseEvent) :void {
gotoAndPlay("howto");
[Code]...
The problem is it doesn't dissapear once the video plays. How shoudl it be done, the whole video has to go to another frame with no play_btn on it or there is a code which can make it fade away?
View 9 Replies
Jul 17, 2011
As some Internet tutorial suggested I've built a simple server-client application for FLV Video Player using PHP and Flex. The problem I encountered is that I can't change the source of the video in the mxml file using Notepad++. The source could be changed if I run Flex but It's not a good idea because I want to run different videos through this player.how to run different videos with this Flex Video Player component because my application works only for this given in the source of FlexPlayer.mxml-maybe I shouldn't use this mxml file for the different Video Sources?
<s:VideoPlayer id="Player" left="0" top="0" width="493" height="382" chromeColor="#2875DE"
color="#000000" skinClass="MySkin" source="Video Source/Coldplay - Clocks.flv"/>
</s:Application>
[code].....
View 1 Replies
Sep 10, 2010
I am trying to loop my external video with flash cs5, I know little about actionscript 3.0 . Haven't be able to get anywhere it uses a component called FLVPlackback. I started off with a flash template that I have tweaked to my needs Here is the .fla file I am adding the video I want to loop the the photos page
View 3 Replies