Playing various flv files in FLVPlayer from HTML

I have a .swf file (id=myVideo) that contains an FLVPlayer
instance (myFLVPlayer) embedded (object and embed) on my web page.
In a separate <DIV> I feature several thumbnails and
descriptions of videos that the visitor can play by clicking the
image.
Can I use javascript to call
myVideo.myFLVPlayer.contentPath="myselection.flv" as an onClick
action in the HTML?
I'm using Flash 8 and AS2.
Any suggestions, examples, or links would be
appreciated.

Thanks for the input.
The approach of opening another window doesn't fit in with
the look and feel (design values and aesthetics) of the site. I
suppose I could make a separate .html for each video, keeping the
remainder of the page identical. But this would create a
maintenance nightmare as well as creating more interaction with the
server.
I also realize that I could just put the thumbnails and AS
directly into the .swf and make it work technically. But then as I
add new videos in the future I'd have to make changes to the .fla
and re-publish the .swf. At some point in time, the Stage would
have to be so large as to render that approach impractical. In
addition, it would reduce my flexibility to place thumbnail objects
in the browser window with respect to other HTML/CSS.
So, bottom line is that what I'm looking for is the right way
to go HTML->Javascript->Flash. I know that Javascript can
talk to the Flash instance. The question is, what is the best
approach to allow it to touch the FLVPlayer instance within my
.swf?
Admittedly, it's become more of an issue with me because I'm
using Flash 8 and AS2. Much of the documentation I've found applies
to later versions of both. Because of design changes as the
products evolved, most of that isn't useable for me. It does get
confusing.
Any help, examples, or links would be appreciated.

Similar Messages

  • How to play a FLV file located in a second FMS?

    How to play a FLV file located in a second FMS not directly accessible by the flash client?
    - I am publishing an audio stream from the flash client to a FMS;
    - This FMS then publishes the stream to a second FMS, which records the stream to a FLV;
    How can I play in the client the FLV audio file that I recorded in the second FMS?
    - The first FMS is accessible by the flash client, but the second FMS is only accessible by the first FMS.
    thanks in advance
    fabio

    Answer in http://www.flashcomguru.com/forum/forum_posts.asp?TID=4276&PN=1&TPN=1

  • Standalone app (AIR?) for playing local FLV files

    Can someone point me to a desktop app (Windows and Mac) that can play local FLV files?
    Thanks!

    I don't know about an AIR application but you could make any Flash video player you want to create into a stand-alone simply by publishing it as a "Projector" file. So create your own custom player and include your own branding in the design.
    Or does this need to have a "browse to file" capability? Have never added that to a vid player so I'm not sure how that would work out.
    But here is a simple little .flv video editor that I sometimes use to check out video files:
    http://download.cnet.com/Moyea-FLV-Editor-Lite/3000-2168_4-10912717.html
    It's a video editor, not just a player... but it's free, and allows you to open and play .flv files.... maybe a temp solution ??
    Best wishes,
    Adninjastrato

  • Anyone have Simple Code to Play an .Flv file on a Website?

    Hi,
    Can someone please tell me how to make a web page play a .flv file. 
    Simple, basic code would do.
    I have an .flv file uploaded on my website.
    How do I get the Flash Player to play the file when someone visits the page?
    Again, all I'm looking for is simple code.
    Thanks,
    Joe

    add an flvplayback component to your swf.  give it an instance name (say flv).  then use:
    flv.contentPath="yourflv.flv";   // for as2
    flv.source="yourflv.flv";  // for as3

  • Play another flv file in between a flv file 

    Hi,
    I am trying to find a way to play another flv file in between
    a flv file. Say, I play flv A for 10 seconds then play flv B and
    then resume back to flv A where it just stopped.
    Is it possible to do this and roughly how to do it?
    Thanks!
    Rex

    hhhzzz wrote:
    > I am new to flash. Can the Adobe Flash player play an
    external flv file
    > directly?
    No it can't, you need SWF to load the file within.
    Best Regards
    Urami
    Beauty is in the eye of the beer holder...
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Playing a FLV-File in a projector.exe from a network shared folder failes

    We want to load and play FLV-Files while our project files
    (Projector.exe) and FLV-files are sitting on a network shared
    folder with UNC-Path access (\\FILESERVER\sharename\). The problem
    is, that the flv-files do not play. If the same application runs on
    a local system it works fine. The System.security.sandboxType is
    "localTrusted" because it runs in a projector.
    We do not want to map the shared folder to a drive letter!
    Thank you
    Example:
    download

    I apologize if u can not load the page, its a hosting company issue, their server goes up and down randomnly so please to retry 15mn later, it will be available.  Thanks.

  • How do I play an .flv file ?

    I got an email with a .flv attachment.  I understand this is a flash file. What do I need to do to play this file?
    Windows XP 32 bit
    Your site check says I have flash version 10.1.53.64
    I never explicitly installed flash, I understand it came bundled with my Chrome browser.
    The little twirling thing played ok on your site so I think the software is ok, I just don't know how to invoke it to play the file in my email
    Ed

    You have to install Flash Professional to get the"stand alone" Flash Player. It's a testing component for projects without having to open them in a browser/webpage.
    As far as "invoking" an flv. You'd do it like any other media file. "Double click". If Windows then asks you to choose a program to open it with (assuming you downloaded VLC Player), choose VLC as the default for flv files and it will open, your flv will play.
    I have about 1500 flv files downloaded from YouTube and hundreds of other news and tube sites. They play just like AVI or MPEG files in VLC.

  • Play local FLV files in AIR

    Hello,
    Here is another question regarding FLV files: I'm developing my AIR application using Dreamweaver. My app will need to play some local FLV files wich will be delivered together with the application (they are not online).
    I'm using the built in feature of Dreamwever, wich creates a small SWF called "FLVPlayer_Progressive.swf" when you insert an FLV in the page. If I preview the page in Firefox, everything works fine and the video is played, but if I preview it in AIR, there is just a blank box where the video should be.
    All the files are in the site's root folder and are included in the "AIR application settings" (FLVPlayer_Progressive.swf, Clear_Skin_2.swf, video.flv, index.html and application.xml).
    I tryed importing the video in Flash (through progressive download) and then creating a small SWF wich would work only as a player but it didn't work either. The only way it worked was if I actually embedded the video in the SWF (so there is no external file), but then I have some audio synchronization problems and I loose quality...
    So the problem seems to be that AIR doesn't allow the SWF file to access external files, even if they are in the same folder. Is this a bug or is there a workaroud?
    Regards,
    Manuel

    Well, I just spent a few hour trying to make this work, and still nothing... but I think I know now what the problem is.
    As you said, after putting an absolute path in (I used "C:\video.flv" for testing) it worked fine! So what I did was create a code that would get the absolute path to the video located in the app-storage folder. I came up with the following:
    var flvFile = air.File.applicationStorageDirectory.resolvePath("data/flv/video.flv");
    var flvFilePath = flvFile.nativePath;
    This code returns flvFilePath as "C:\Documents and Settings\Manuel\Application Data\Test.08196269638DC859464A7A09369FF97BAC18DD7A.1\Local Store\data\flv\video.flv".
    I tried suplying this path to the player but it didn't work. So I inserted a new player in Dreamweaver using the path above and I got a message saying that the path can't have any spaces. This seems to be the cause of all my problems! I tried substituting the spaces with "%20" but it didn't work either.
    Do you have any ideas?

  • Use space bar to play an FLV file

    I have an external FLV file on frame 25 of my flash movie. I
    would like to make it so the user has to press the space bar for
    that FLV to play. Right now it plays automatically when we get to
    frame 25. How can I do this?
    Thanks,
    Rich

    How do I change to Actionscript 2.0? It won't let me enter
    the code. If something is done in Actionscript 3 already, I am
    guessing that I can't used 2.0. Then what should I do?
    Thanks,
    Rich

  • Playing a FLV file on the browser

    Hello,
    I've made and extensive research on the forum  about this one  but couldnt resolve it here, so i've came up with my  own case.
    I can only make a swf video to work on a DW  page using the insert/media procedure.  The flv file shows as a blank  window not even the player is showing.
    Here is a testing version of the page:  http://www.bedeco.ma/TCL.php
    The script folder  (swfobject_modified.js and expressInstall.swf) as well as the flv file  itself, the skin file and the flvplayer progressive file are all there  in the root directory at exactely the same level as the testing page.
    I've  also checked that there is no space whatsoever in the files  names...also the flv file is tested successfly using Adobe media player.
    the swf file is working but loops endelessely so i  want to add controls for the user ..and obviousely the flv format is the  way to go.
    Help please.

    I apologize if u can not load the page, its a hosting company issue, their server goes up and down randomnly so please to retry 15mn later, it will be available.  Thanks.

  • Firefox will not play .ogv video files when loaded from a server. Does anyone have any answers that will fix this?

    I've read the suggestions for fixing this, and none of them work. I've updated my .htaccess to match MIME types for .ogv, I've uploaded the files as both Binary and ASCII, neither method works. The .ogv file plays fine when you load it from a local file, but it will not play when viewed from a remote server. I've confirmed with my hosting company that the .htaccess and all other issues for HTML5 are up-to-date. Safari and Chrome play the HTML5 videos just fine, but Firefox will not. Does anyone have any concrete answers as to what the problem is. I'm also serving up the video files as .webm and .mp4, but neither of these formats works in Firefox either.

    That can happen if the server isn't configured properly to send the files with a by Firefox supported MIME type.
    *https://developer.mozilla.org/en/docs/Properly_Configuring_Server_MIME_Types
    Did you check via the Web Console which headers Firefox receives when requesting the .ogv file?
    If that is OK then it is possible that the file is using an unsupported coding method.
    * https://developer.mozilla.org/En/Media_formats_supported_by_the_audio_and_video_elements

  • Creating a Movie Symbol with Various FLV files

    I am new to using video inside of Flash CS3. I have a series
    of video clips that I want to play in succession. So, I created a
    movie clip symbol which, byitself, plays just fine.
    What I want to accomplish is a starting frame with some
    words, movie clip and then an ending frame with logo.
    When I try to play the movie, the words show up fine, but the
    movie clip doesn't play...what happens is the first frame shows up
    and then loops back to the first frame with the words....and even
    though I have looping turned off, it keeps doing it (acting like it
    is looping).
    What am I doing wrong? Do I need to implement Actionscript?
    HELP!
    Thanks so much!

    I don't think your explanation is very clear. Can you either
    be more specific or include a sample fla file? I mean, there are
    questions as to are you importing flv files or embedding them, how
    your time line is set up, etc.

  • Uploading File To MySQL from HTML form via Servlet

    Hello all !
    I hope this is better place to ask.
    I'm working on simple Servlet/Jsp application trying to hold to MVC pattern and got stuck on uploading file to MySQL db.
    Here's what I'm trying to accomplish:
    1) client submits a JPEG image via a simple html form on a webpage.
    2) JPEG is put into a database table, column field of type BLOB.
    3) Servlet processes the request, gets a connection to the db and inserts the image into the table.
    4) after that user is able to retrieve an image from db and display it in JSP page.
    This is pretty much the same task Angela was trying to do here:
    http://forum.java.sun.com/thread.jspa?threadID=667597&messageID=3905449
    I could use her snippets if i knew what is what and decided to figure out this myself. Aftet some investigation i found out that i need to import org.apache.commons.fileupload.*;which i found here: http://jakarta.apache.org/commons/fileupload/
    what am i driving at ?
    -----------------------1-----------------------
    After first line of code
    boolean isPart = FileUpload.isMultipartContent(request);netBeans 5.5 beta2 with bundled Tomcat 5.5.17 underlines this with warning saying that
    org.apache.commons.fileupload.FileUploadBase
    has been depreceted
    is it a reason for concern ?
    -----------------------2-----------------------
    Is it actually good idea to store images in db as blob ?
    what about large ammounts of text ?
    thank you
    -Dominik

    is it a reason for concern ?Yes.
    You should take a look at the method in the documentation and find out exact reason for depricating it.
    If it is depricated becouse they going to remove it in the future you should use the new alternative method becouse if you use the old method your app will not work in the future releases of the API.
    If it is depricated becouse it is not safe to use the method you should clearly understand the risks involved in using the method and see if that can give you any trouble in your project.
    -----------------------2-----------------------
    Is it actually good idea to store images in db as
    blob ?I think that it is ths best option available when you want to store binary data
    what about large ammounts of text ?You can use clob columns.
    By the way when you store files in the database its better you put some extra columns to store the file name and file type(mime) becouse you cant directly detect those things later by just looking at the data of the file.

  • How to play DTS wav files on hd from sounblasterplay

    Hello,
    I've got many wav files on my harddisk. They are dts wav files.
    On cd-rom they play with software player soundblaster, no problem.
    But when i play them by harddisk there is no dts sound.
    What must i do to play them?
    greetings

    forgotten to say it is a X-fi music card
    thanks

  • Playing two FLV files simultaneously

    Hi all --
    Need a little help with my video player. Currently, I have
    one video (with an alpha channel) playing in the foreground.
    Embedded in that video are event cue points. When a specific cue
    point is reached, I would like a second video to start playing in
    the background. I've been unable to get this to work.
    I know my cue points are being recognized because I am doing
    a trace and they pop up. However, my video does not play.
    I may be using the wrong method, but currently I am using a
    second netConnection to play the video into a second video object.
    This obviously doesn't work.
    Please help!

    Thanks for your help everyone... here's the code. I'm trying
    to get a video to start playing when cue point "3" is reached in
    the first video...

Maybe you are looking for

  • How do i access the email folder on my macbook air?

    how do i access the email folder on my macbook air?

  • CDI error in weblogic 12.1.1

    I have a CDI bean annotated with @Named and @RequestScoped. It is working perfectly in Glassfish 3.1.2 but when I deploy it in Weblogic 12.1.1 I get the following error! Caused By: org.jboss.weld.exceptions.DefinitionException: WELD-000075 Normal sco

  • No saved files showing up in lightroom

    I save a photo that I've edited in photoshop cs5, either jpeg or tiff, and when I go to Lightroom 3.6 I can not locate the file. It shows up in bridge under the right location. I reinstalled both Lightroom and photoshop and no change. What am I doing

  • Connecting laptop to desktop

    Can I connect my macBook to my iMac, sort of like an external hard drive, so I can pull large files off it? If so, what cable/port should I use? iMac G5   Mac OS X (10.4.5)   iMac G5   Mac OS X (10.4.5)  

  • Where is the 'last' command in systemd?

    So, the question is simple: where is the last command with systemd? As I see sysvinit provides but can't install because of conflicts with systemd-sysvcompat.