FLV player to play once

I am a web developer and I use Wordpress as my CMS.
I am trying to get my FLV players to play only once. I want it to play automatically the first time then when the same user returns to the front page it won't play again.
Any ideas? racking my head over this for months. Thanks.

autoPlay applies when you assign the content property to your player.   if you want "replay" after rewinding, apply the play() method.

Similar Messages

  • FLV files not playing once AIR is published

    Hi,
    I'm devloping an AIR application in Flash CS5 and man I'm having fun!
    My current problem has to do with Flash videos that aren't playing once the Air file is published.  In the development environment they play fine but all f my rpoblems with Air seem to occur after publishing,  I did code the playing a bit differently than usual in that I passed the relative path to the video file once it was playing.  Are relative paths ok in Air?
    I'd appeciate any advice.
    Best regards,
    Chris McLaughlin

    The solution lied in using an absolute path to the video files using: appPathStr
    videoURL = appPathStr + "/SubdirectoryName/videoName.flv"

  • Flv player to play swf

    I have a simple swf animation that I would like to post on my
    website and I am looking for an swf player. I tried using the one
    bundled with flash professional but it seems that it only accept
    flv files. So is there any way around this.
    I could create one because I am capable but I don't have much
    time and I need a quick solution.
    Any reply will be very appreciated.

    Then I think your SOL man, You'd need to create a new file
    FLA skin, or adjust the FLV dimensions maybe. I think if you scaled
    the file using the browser markup it will scale the loading FLV as
    well, but you could try it I guess, just go into the HTML file
    embedding the player and bump the height param a few pix and seel
    what happens.
    I suppose there are decompliers out there so that you could
    get at the code and construct a new FLA, that might be an option.
    PS. yes the FLA is the Flash Authoring tool doc, where you
    develop your assets and code, when published it then becomes the
    SWF file.

  • XML driven flv player

    Hi,
    I need to create an XML driven flv player, now I know how to
    construct the player, but not sure of the code for the XML to hold
    just one flv file, not a list of them just the one.
    I need my flv player to play just one flv file; as soon as
    its run on the web, it needs to play only one flv video. No need to
    pick it from any list etc... This way the client can simply edit
    the XML file to play a different flv video.
    Kind Regards,
    Boxing Boom

    Boxing Boom,
    You are correct about error
    AS3
    Error #1093 being because of the quotes. The unfortunate thing
    is that this error doesn't give any further info. I have created a
    blog post specifically about error
    ActionScript
    Error #1093 There are a few other reasons that a Flasher will
    get this error. Hope this is helpful.
    Curtis J. Morley

  • Playing SWF files in FLV Player

    Hi,
                   I would like to know whether swf files can play in an FLV Player or not. If not possible, is there any option for developing an independent swf player. If so, please tell me the technique that can be used to develop swf player.
    Regards,
              Sreelash.

    Thank for your reply friend. I understood what u said. Actually the requirement for the client is to stream swf file as streaming flv file. So I think, in the server side we have to use converter. I meant, if the client put the swf files in the server, the server side program calls the converter before streaming to the client side.
    The functionality what I meant is following:
    1) The client request for an swf file.
    2) In the server side, it is placed as swf files.
    3) Then, programmatically the server side code invokes the converter and convert the swf file to flv file before          streaming.
    4) This is what I meant the use of converter.
    I hope you understood what I meant. Can I have your mail id please. Because in forum not everyone reply for the doubts. Also I am the only action script programmer in my company and I have only 5 months experience. My mail id is [email protected]
    Thanks and Regards,
                  Sreelash.S.

  • Prevent sound of Flv player played after Go to another frame

    hi ...
    i have a project , i put all my project in 1 scene
    there are several frames that i put several part of my project like :  about us ,  my works , contact us
    also i have layer that i put some menu and script them to goto these pages ...
    in one my pages i have FLV must be played ...   now there is 2 problem
    1: i have background sound played from start of my project ,,,  as my flv player is autoplayed i want the background sound Stop at these Frame
    2:  my main probelm comes when i click in another button and Go to another page ( frame ) ...    in this case i can hear the sound of FLV !! and it`s not stop !!
    it will be much problem when i click on the button that goes to My Flv frame again !! so the sound of flv played double !!
    what can i do about this ??
    thanks

    Dear Kglad
    i found another threat that you answer this Question with this tip :
    use the removedfromstage event to stop your video.  ie, if flv is the instance name of your flvplayback component:
    flv.addEventListener(Event.REMOVED_FROM_STAGE,f);
    function f(e:Event):void{
    flv.stop();
    and it works well ....
    thanks so much

  • Want FLV file to play on a web page without a player.  See my example

    I need to play a FLV file on a web page, but I don't want it playing in a visible player.  That is I don't want there to be the usual Play button and no frame.  I want it to work and look much like this link:
    http://www.personal-injury-attorney-los-angeles.com/
    It is similar to those infamous "Mac vs PC" videos which occasionally play on the home page of NYtimes.com.
    My flash ability in this area is limited. (I'm a Joomla pro but not a flash pro.)
    Looking at the source code, I see various swf controller file links, and some javascript, I think.  I have no idea what is in the swf files that may or may not be making it all work.
    First of all I don't even know if it is possible for a FLV file to play above html and then disappear revealing the html when it is finished playing.  I assume with the swf and javascript and divs this is possible, but am not sure.
    Ideally I would love the complete code if possible.  Or links to where I can find out how to do it.
    Need clarification?  Just let me know!
    Thanks
    Rowby

    it's possible.  but you have quite a lot to learn or you should hire someone.  it's unlikely you'll find someone to do all that gratis.
    if you want to learn, check the video class.  it will let you play the flv file without a skin.
    you can also use the flvplayback component with no skin.  that will add to your swf's file size with no benefit except it's easier to use than the video class.
    the floating and disappearing can all be done with divs.

  • FLV Player Component seemingly not working in Firefox

    I've set up an swf where I have an FLV Player component on stage, pointing to an external flv.
    Offline (on my drive) it works, but online (on my website) it loads the entire flv before displaying anything (..I get the animated barber shop sign scrub bar thing).  Is there any additional coding or setup I need to do for it to allow me to play it even while it is downloading, as it's supposed to?
    I don't get it... I can't seem to get progressive downloading working in ANY format.  I just spent a week trying to get my Quicktime .mov's to Fast Start, and it just isn't happening, despite everything I try.  I had it work ONCE now using QT Pro, but now they aren't working again.
    I gave up on QT, and am trying the FLV route using the FLV Player component... which looked promising, but is now giving me the same issue.
    Any solutions that work would be hugely appreciated.  I've been at this for over a week, and found no answers online so far.
    All I want:
    Clip thumbnails (embedded movies) on my HTML page that don't download until you click play... and when you click play, it starts playing as soon as it has a good enough head start in the load.
    I've tried Fast Start QT's....as well as external FLVs loaded via a swf with a FLV Player component inside.... and neither are working for me for some reason.

    [UPDATE]  Okay, now I got it working for now (...no idea what changed, or if it will continue to work).  Only issue currently is that it's loading the clip right away (on entry of the HTML page),as opposed to when I click Play... so I'll still have the bottlenecking of all the clips loading at once.  Is there some setting in the FLV Player component (or HTML) where I can have them only start downloading the clips when I click play?
    I only want the clips downloaded if the visitor chooses to view the clips.
    Would setting a preview in the FLV Player component do that (...load only the preview frame, and hold off until play is hit)?

  • Avoiding the delay in flv player while switching to other file

    I am working on a project where basically dealing with flv player and videos, am trying to play multiple flv videos of a 3d human character who is speaking out a number like 3550.
    Here we are using multiple video files and joining them like videos where character says 3 then 1000 then  5 then 50.
    The issue here is after every video there is a fraction of second where the character is disappearing from the stage which we can't afford because all the numbers have to be played at once to show it as one single digit.
    I know that this is not a script error but this is how the flv player plays, after one file there will be a delay to play the other.
    What can I do to achieve  my goal and also can how we can download all the required flv files from  server to client machine to avoid a streaming delay (All the videos are of 50 to 60 kb files).
    I am looking for your kind advise and will be great full to you.

    Hi,
    I can't merge these files because the numbers will be dynamic so only at runtime we know the combinations of numbers.

  • Flv player works locally but not when uploaded

    Another day, another issue...
    I have a flash movie that includes an flv player with previews and buttons. It reads the content from an xml file.
    It works without problem when I test it locally. Trouble is when I upload it, everything displays correctly but the flv movie file doesn't play. Here's the test link:
    http://www.swsoftware.com/ncjhs/assets/video/flvplayer.html
    XML file is http://www.swsoftware.com/NCJHS/Assets/Video/video.xml
    Flash file is http://www.swsoftware.com/ncjhs/assets/video/flvplayer.fla
    Anyone have any suggestions? I'm new to flash and this forum has been a tremendous help in resolving my (somewhat numerous) problems.
    Sam

    When I tried to view the posted url I got the following
    errors in the order I have listed them.
    CSInit is undefined Line 23
    Line 75 Object Expected
    Line 66 Object Expected
    My Platform.
    IE 7
    Windows XP Pro

  • A collection of FLV downloader, FLV player, and FLV converter for Mac

    [http://www.pavtube.com/christmas2009/]
    A collection of FLV downloader, FLV player, and FLV converter for Mac
    Are you prepared to download FLV videos from YouTube, Google Video, metacafe, Yahoo! Video, Reuters.com, and many other video websites to play on your Mac or portable players, or do some further editing with certain editors? In my experience, assuming you have this idea, you must take advantage of three kinds of tools, including FLV downloader, FLV player, and FLV converter to achieve the goal.
    Of course, I am not speaking this to depress you, but to share my collections of these tools to show my kindness. Sure, just for people who have these needs.
    At first, I’ll introduce you several FLV downloaders for Mac, I have tried all of them, and basically they can achieve my goal of downloading FLV videos online.
    Free FLV downloaders for Mac:
    Web Video Downloader for Firefox
    Free Video Downloader for Mac
    Free YouTube Downloader for Mac
    I also know some free FLV players, and recommend them to you here, hope they can assist you to play FLV videos on your Mac smoothly.
    Free FLV player, Mac OS X:
    Adobe Media Player
    Wimpy FLV Player
    QuickTime, after installation of the Perian video plugin
    SWF & FLV Player
    CorePlayer
    (Tip: the above pieces of software can easily be searched in Google, so I do not give you the links here. I’m sure you can get them with ease.)
    Well, we have gone through the FLV downloaders and FLV players in the above passages, now it’s time to introduce you a FLV converter for Mac. This program I recommend is Pavtube FLV Converter for Mac, which can perfectly convert FLV videos to a wide range of video formats, so that you can do whatever you like with the resulted videos, such as playing on your iPod, iPhone, BlackBerry, PSP, Apple TV, etc. or exporting to iMovie, Final Cut Pro and Final Cut Express to do further editing, or doing something else as you like. But how to use it? You may ask me. Take it easy, a step-by-step instruction is involved in the following part.
    1. Download, install and run this program
    A sky-blue interface will be shown to you as follow:
    2. Add files, set output format and destination folder
    Input FLV files to it by clicking button “Add”, and select a format as the output format in the drop-down list of “Format”, meanwhile, you can press “Browse” to specify the destination folder or just use the path set by default.
    3. Set advanced settings
    Click button[b] “Settings”, the following interface will pop up. You can change the parameters like screen size, bit rate, frame rate, sample rate, etc. to optimize the output videos.
    4. Convert
    This FLV Converter for mac can definitely complete the conversion at a swift speed with excellent quality, also it do not have the problem of audio-video out of sync. Therefore you need not worry about these issues. Moreover, if you want to add watermark as your own logo or reserve your copyright, you can totally do it with this program.
    Ok, the introduction to the three kinds of tools which you may need while dealing with FLV videos is over, sincerely hope they can deliver you useful information, because you know, it’s my original intention.

    Hi Greg,
    So if I understand correctly, your findings are:
    Flash Player 10.1.85.3 + Flash Media Interactive Server = Jerky Video
    Flash Player 10.0.x.x + Flash Media Interactive Server = Smooth Video
    Flash Player 10.1.85.3 + Wowza = Smooth Video
    And what about Flash Player 10.0.x.x + Wowza?
    Also, if you could check the network traffic to confirm if it's Flash Player causing the issue or it is receiving it like that from FMIS.
    Cheers
    --Vikas

  • I can't get my player to play videos while other apps are open IPAD 4gen

    I can't get my player to play videos while other apps are open IPAD 4gen
    Whenever, I have pages open or any other app I press the home button twice, and then I swipe to the right and obtain the menu that allows me to alter brightness or sound. At this point I press play and nothing works. However, once I go back to my youtube page, and press the play button then it works. If anyone could help me that would be greatly appreciated. Thank you so much.

    just click the serial number in itunes ... geeze... just kidding
    you might be able to find it on the mac...
    in finder do your username under places then library then application support then MobileSync then Backups
    the shortest folder name should be the UDID
    of course that assumes it ever made a backup...
    if it made more than one there will be some -date-blah on the end...

  • Flv player doesn't work!!!

    Hi,
    I wanna play flv videos (downloaded from youtube) and it seems i'm not able to do so. I installed 'SWF and FLV player' from apple website and it doesn't work and then I installed perian component for quick time and again it doesn't work
    have you got any idea where the problem is?
    thanks

    flv is Flash...have you tried this one: http://www.wimpyplayer.com/products/wimpystandalone_flvplayer.html

  • Has anyone actually been able to build a FLV player with Flex 2?

    I have been playing around with a FLV player in Flex 2, but I
    keep on running into one big problem: I never get a picture. Sound
    is not a problem, and all code seems to do exactly what it should.
    Except for the video showing up... I have tried loads of examples,
    read all of the docs I could get my hands on, but it all ends the
    same: no picture.
    The best solution (imho) I found is listed below, but still
    it does not do what it is supposed to do. Still, I only get audio.
    If there's anyone who's got a player working with the Video
    object using Flex 2 (SDK), I would *love* to hear your solution.
    Michiel.
    The source:
    package Assets {
    import flash.display.Sprite;
    import flash.net.NetConnection;
    import flash.net.NetStream;
    import flash.media.Video;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextField;
    import flash.events.Event;
    import flash.events.TimerEvent;
    import flash.events.NetStatusEvent;
    import flash.utils.Timer;
    public class simpleFlv extends Sprite{
    private var _video:Video;
    private var _stream:NetStream;
    private var _playbackTime:TextField;
    private var _duration:uint;
    private var _timer:Timer;
    public function simpleFlv(){
    _duration = 0;
    _playbackTime = new TextField();
    _playbackTime.autoSize = TextFieldAutoSize.LEFT;
    _playbackTime.y = 20;
    _playbackTime.x = 20;
    _playbackTime.text = "Buffering …";
    _timer = new Timer(1000);
    _timer.addEventListener(TimerEvent.TIMER, onTimer);
    _timer.start();
    public function playMyFlv(flvUrl:String): void {
    _video = new Video();
    var connection:NetConnection = new NetConnection();
    connection.connect(null);
    _stream = new NetStream(connection);
    _stream.play(flvUrl);
    var Client:Object = new Object();
    Client.onMetaData = onMetaData;
    _stream.client = Client;
    _video.attachNetStream(_stream);
    _stream.addEventListener(NetStatusEvent.NET_STATUS,
    onNetStatus);
    addChild(_video);
    addChild(_playbackTime);
    private function onMetaData(data:Object): void {
    _duration = data.duration;
    private function onNetStatus(e:NetStatusEvent): void {
    _video.width = _video.videoWidth;
    _video.height = _video.videoHeight;
    private function onTimer(t:TimerEvent): void {
    if( _duration > 0 && _stream.time > 0 ){
    _playbackTime.text = Math.round(_stream.time) + " / " +
    Math.round(_duration);
    }

    Hi Chielosos,
    In your code, after
    import flash.utils.Timer;
    You may need to add
    NetConnection.defaultObjectEncoding =
    flash.net.ObjectEncoding.AMF0;
    SharedObject.defaultObjectEncoding =
    flash.net.ObjectEncoding.AMF0;
    Hope it works,
    Jeffrey

  • FLV Player

    I use Sorenson to create the FLV files... and it allows you
    to create SWF templates to play and stop the files... But the
    tutorial I got didnt work and most of the var names where wrong...
    I don’t care if I make it that way or not...
    What I really want is to be able to create a custom looking
    flv player... one that streams the flv files... can anyone help..
    Does anyone have one I could look through and figure out?...
    Thanks for your help!

    Read this
    http://www.flashjester.com/?section=faq&cPath=14_53#385
    and also look here
    http://www.flashloaded.com/flashcomponents/flvplayerpro/
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

Maybe you are looking for