Flash Video Player, PHP, and XML

I'm the visual designer for a web site "Global Oneness
Project" (
http://www.globalonenessproject.org/videos.php
) that's currently "streaming" progressive download quicktime
movies. The individual video pages (where you view a video) is
currently a php template that calls a MP4 from an XML file. Our
goal is to switch the embedded quicktime videos to embedded Flash
videos that play progressive download movies.
Ideally I would like to create a single Flash Video player
(SWF) thats embedded in a single php template (video.php), but will
play different videos depending on what state of the php is being
called. Basically, I want the site to work exactly like it does now
but with Flash instead of Quicktime.
I'm assuming that this will be created with some combination
of an external "AS" file, the XML data and the PHP logic but can't
even begin to get my mind around what needs to be done.
I found a few examples of how to play multiple videos in a
single player, but all of the examples use a playlist that's
embedded in the SWF. The video player will only be used for player
control and the user will choose the movie by selecting the correct
PHP page within the HTML.
I'll be thankful for any direction you all can give or even a
Flash developer who would be able to take this project on.
Thanks,
Shawn
[email protected]

yes, it's possible.  and there are some similarities with an xml image gallery.  the main difference would be using something like an flvplayback component to display the videos as opposed to using a target movieclip to display the large image in an image gallery.

Similar Messages

  • Tracking via google analytics & Flash Video Player Component

    Hi,
    I'm trying to track when a user plays a video on our home
    page. I'm using the standard Flash Video Player component and
    Dreamweaver to hook it up. In order to get the player to call
    Google analytics on play I think that I need the FLA for this
    player but I can't seem to figure out how to access it. Any
    suggestions?
    Thanks
    Tony Lopez

    Hi,
    I'm trying to track when a user plays a video on our home
    page. I'm using the standard Flash Video Player component and
    Dreamweaver to hook it up. In order to get the player to call
    Google analytics on play I think that I need the FLA for this
    player but I can't seem to figure out how to access it. Any
    suggestions?
    Thanks
    Tony Lopez

  • Flash video in php page

    Hi
    i insert flash video to php page and it's ok but.
    i want to ask if i could i insert any video to it liek avi or
    mpg or any and it will be converted when upload automatically
    thanks in advance.

    macnux wrote:
    > Hi
    > i insert flash video to php page and it's ok but.
    > i want to ask if i could i insert any video to it liek
    avi or mpg or any and it will be converted when upload
    automatically
    >
    > thanks in advance.
    >
    It can be done, since youtube does it. But that requires
    heavy-duty programming and I suspect some
    special server components (maybe Flash Server must be
    installed too or something).
    In any case that's not something you can do with Dreamweaver
    or without a thorough knowledge of
    server-side programming.
    An alternative is to create a swf file in Flash that will
    import linked media. You can link
    quicktime videos dynamically and play them in the swf.
    I'm not sure what other video formats are supported. You
    might want to look into the Flash Media
    Player component.
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    An Ingenious WebSite Builder:
    http://sitelander.com

  • Flash Video Player Need Help

    Hello everyone I am hoping someone here can help me.  I am going to school and I have an action scripting class.  For my final project we have to make a flash video player with a custom skin to upload to our websites. We did something similar to this with our first project which we made a player where the movies where embedded in the file itself but this is supposed to be a youtube like flash player where we can call in the files from another source.   
      We kind of got pressed for time and were not able to go into detail with this project so the teacher gave us the code and I put it in exactly how it should be but im pretty sure i have something misplaced or I am missing a step. I get 8 different errors when I go to test the movie. and nothing works.  Can someone please tell me what I am doing wrong or can you point me in the direction of a tutorial on this  as I have been searching for tutorials on this with no luck. 
    Here is my Action Script 3.0 CODE:
    import fl.video.FLVPlayback;
    import fl.controls.List;
    var vid:FLVPlayback = new FLVPlayback();
    vid.source= "fashion.flv";
    addChild(vid);
    vid.skin="SkinOverPlayStopSeekMuteVol.swf";
    vid.x=100;
    vid.y=300;
    vid.skinAutoHide="true";
    vid.width=500;
    vid.height=280;
    var vidList:List = new List();
    vidList.x= vid.x+10;
    vidList.y= 200;
    vidList.width=200;
    vidList.height=100;
    vidList.addItem({label:"Bathroom Behavior",data: "bathroom.flv"});
    vidList.addItem({label:"Chase Scene",data: "chase.flv"});
    vidList.addItem({label:"VMCAD Fashion Design Commercial",data: "fashion.flv"});
    addChild(vidList);
    vidList.addEventListener(Event.CHANGE,playVid);
    function playVid(e:Event):void{     
    vid.source=e.target.selectedItem.data;
    Here is a screenshot of the errors I am receiving.
    Please help me 
    thanks
    Message was edited by: BTwardy

    I don't know if what you posted is all that is in that as file, but you need to declare a package, then call the import statements, then declare the class name.  Like this:
    package {
         import flash.display.Sprite;
         import flash.events.Event;
         import fl.video.FLVPlayback;
         import fl.controls.List;
         public class Main extends Sprite {
              public function Main() {
                   var vid:FLVPlayback = new FLVPlayback();
                   vid.source= "fashion.flv";
                   addChild(vid);
                   vid.skin="SkinOverPlayStopSeekMuteVol.swf";
                   vid.x=100;
                   vid.y=300;
                   vid.skinAutoHide="true";
                   vid.width=500;
                   vid.height=280;
                   var vidList:List = new List();
                   vidList.x= vid.x+10;
                   vidList.y= 200;
                   vidList.width=200;
                   vidList.height=100;
                   vidList.addItem({label:"Bathroom Behavior",data: "bathroom.flv"});
                   vidList.addItem({label:"Chase Scene",data: "chase.flv"});
                   vidList.addItem({label:"VMCAD Fashion Design Commercial",data: "fashion.flv"});
                   addChild(vidList);
                   vidList.addEventListener(Event.CHANGE,playVid);
              function playVid(e:Event):void{     
                   vid.source=e.target.selectedItem.data;
    Then click on your stage in Flash, then open the properties window, and fill the Class text field with:   Main
    Make sure the as file is saved in the same folder as the flv.

  • Best export from FCP4.5 for conversion to Flash video player?

    Hi,
    I'm prepping a 5 min edit production for the best web presentation w/o excessive file size / loading time. The production has a lot of subtle detail & layered images so there a lot of opportunities for this to turn to mud (shot on low grade digital consumer video camera & also in lower light settings).
    I exported in H264 at med quality & got a good looking 75 meg file. Tried uploading to YouTube, fearing the worst, and it actually created something decent from that file. I could just link that embedded file to the intended website, but I dont want that YouTube logo in the corner. I'd rather recreate what they do in Flash w/o the logo.
    Does anyone have info on what YouTube does to the videos it processes into those flash video player files? Compression or resolution settings? It looks like going that route will give better results that can be universally viewed than the standard mpeg route. (file size & universal viewing on all platforms are my only reason not to post in H264).
    Are these issues best solved going from a big FCP export and handled with settings in Flash? Or is there some export choice in FCP that will give best (size & res) quailty with minimal influence needed from Flash?
    I've tried Compressor but havent been able to get any results from it. I just get errors that I dont understand. If thats the solution, I'll dig into that further, but would appreciate any tips / guidance.
    thanks
    Duane
    G5 tower   Mac OS X (10.4.8)  

    You could try Sorenson 3 at 640x480. Try a quality setting of about 80 percent.

  • Insert Yume ads in flash video player

    Hi,
    I am working on a flash video player where i want to insert
    yume ads. The sdk and integration guide provided by the yume people
    is not that good. Can anyone help me out on this?

    I'm having same inconvenience while integrating YuMe Ads Module in my project.
    YuMe's documentation is really bad & pretty confusing.
    I would like any helping blog post or forums thread elaborating the solution in this regard.
    Here Now I have done some manipulations with code in AS2 based player.
    please have a look at it. I was trying to run it locally while connected to internet so it may load ads from the online source defined. But it does not load anything. I have also made the controls btns hidden, as i dont need them.
    I dont know if I just need to upload these files on web server and test it online to get it working. Not Sure.
    Any help will be appreciated.
    Message was edited by: Ronny Depp

  • Justin.tv Flash Video Player

    Here is the url for justin.tv's embedded stream
    http://www.justin.tv/widgets/embedded.swf
    or
    http://www.justin.tv/widgets/jtv_player.swf.
    Neither of these play back on Flash Lite, it is live streaming
    flash maybe FLV called from a SWF file, I would really like to see
    a flash player that played streaming SWF on my phone. If it is the
    FlashLite 3.0, please put out a beta soon becuase I would really
    like a solution soon. Thanks.

    stevelantz wrote:
    > I have successfully installed Flash Video Player (the
    latest version) on two
    > different computers, but I cannot find the executable to
    open the player. I
    > have more than one FLV player on my computer. I should
    be able to right-click
    > on the video file, select "open with..." and select
    Adobe Flash as the player,
    > however, it does not show up anywhere on the programs
    list - why is this?
    >
    You can't play the FLV itself with flash player, and flash
    player is not an executable
    stand alone application, that's why you can't find it, it's a
    browser component only.
    To view FLV you need SWF which can then be run within
    browser. There is no direct
    playback for FLV files. Google for FLV PLAYER, there are some
    3rd party players
    on line.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Hyperlink to Flash Video Player

    Does anyone know how to push a specific video to a Flash
    video player playlist? I'm using the following Flash video
    player/pplaylist application. Any help would be great!!!
    Creating a Dynamic Playlist for Progressive Flash Video
    http://www.adobe.com/devnet/flash/articles/prog_download.html

    Without seeing this is a guess, but if you are linking to the
    swf directly
    then that is what happens. Create a new page with the movie
    on it and link
    to it, then it should size correctly.
    Gary
    "SCBrazil" <[email protected]> wrote in
    message
    news:gd0qbn$dr$[email protected]..
    > Hi,
    > I have developed a small Flash movie for one of the
    products on my site
    > which
    > I want to open from a link. The link and video work fine
    but it opens in a
    > full
    > size browser window, which makes the photos look pretty
    ugly. I want the
    > link
    > to open only the Flash Player so that the video is
    displayed in the size
    > it was
    > made (700px by 225px.)
    > Anyone know how I can do this? There must be a way,
    would the setting be
    > in
    > Flash CS3 or DW CS3?
    > Thanks
    >

  • Controlling the Dreamweaver Flash Video Player

    Hi all,
    I'm using the Flash video player that comes with Dreamweaver
    CS3 (FLVPlayer_Progressive.swf) to play a video on one of my web
    pages, and it works fine. However, I'd also like to be able to
    control playback using some HTML buttons below the video. I've been
    Googling for ages now looking for documentation on how to use
    JavaScript to control the player, but I can't find anything. Does
    anyone know where I could find it?
    Thanks,
    Russ

    Html doesn't control flash players. The skins, controls,
    buttons, etc are
    referenced by the SWF file. You would have better control
    over your video
    player if you compiled the FLV/SWF in a Flash program instead
    of DW.
    Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com

  • No buttons in Flash video Player

    Hello,
    i can't see navigation buttons in my Flash video player.If I
    run the swf alone there are all the buttons but in my page is onli
    the video picture but not buttons.What should I do? Can somebody
    help?

    I am having the problem mentioned above and would really
    appreciate a solution. Here's my set up...
    Running a Flash CD Rom in IE, user clicks a Start.html file
    to fire up the presentation in their default web browser.
    I have a root file loading a bunch of movies on various
    levels. The video player loads on level 4 above a bunch of other
    buttons on level 3.
    I disable the buttons underneath by including a big Invisible
    button on the bottom layer of the video .swf and inserting a script
    to disable the hand cursor. (So that users can't click buttons that
    reside underneath where my video is playing.)
    That all works great, the only thing is that the controls in
    the skin I'm using become disabled. I'm using a premade skin in
    Flash 8, the kind that pop the controls up automatically when you
    roll over the video, and go away when you don't.
    Everything works great when I Ctrl+Enter and test the file,
    but when I run the whole thing together in IE, the video controls
    never pop up.
    Any suggestions? Thanks.

  • Flash video player is crashing my computer.

    Since the end of March my computer has been crashing /  hard shutdown whenever I play a flash video on sites like Hulu, CBS, Youtube and so on, -if the video has HD options.
    I did a fresh Win 64 install on this PC in January.
    This has not happened on this PC before
    I tried
    - on new IE and FF
    - uninstalling a reinstalling flash, and installing an older version (v10)
    - uninstalling and reinstalling video card drivers to older versions
    - running it with no firewall and/or no antivirus enabled (MSSE)
    -  a mem test
    to no avail, everything ( games, adobe reative suite, MS offive) works perfectly except for flash video player.
    I have
    Win 64
    AMD 62X2 Core 6000+ 3GHz
    8 GB ram
    Nvidia 460 GTX
    WDC 2TB Cache 64MB

    Have you tried disabling hardware acceleration in Flash Player?
    How do I disable or enable hardware acceleration?

  • Why when i try to fullscreen the flash video player on streaming it will always crash?

    when i try to fullscreen the flash video player on streaming it will always crash, and then appears an exclamation mark.

    Make sure you have the latest version of Flash. You can download the latest version of Flash from Adobe at http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html#main_Archived_versions
    Scroll down to the "Flash Player for Android 4.0 archives" links and download the latest flash version. Currently (11.1.115.54).

  • How to connect flash video player(like youtube)  to live streaming video the programm like                             

    How to connect flash video player(like youtube) to live
    streaming video the programm like webcamXP?
    Or through a browser to look in a videoplayer video from
    other usual personal computer with the program for a video
    broadcasting from the web chamber.

    you can use google to search for tutorials on skinning the component.

  • Firefox5 is not showing BBC iPlayer Video & Radio Other browsers are all fine(Safari,IE,Chrome) The iPlayer webpage is all there but the flash video player is black. The OS is XPpro.

    Firefox5 is not showing BBC iPlayer Video & Radio.
    Other browsers are all fine(Safari,IE,Chrome)
    The iPlayer webpage is all there but the flash video player is black. The OS is MS Windows XP Professional 32-bit SP3.

    Also, when the flash video does not show up it displays the error that I do not have the current flash player. The problem is that I do have the current flash player that actually plays flash from another section of the website.
    Forgot to add that earlier.

  • How to embed a flash video player in iWeb?

    I'm using this open source video player:
    http://www.jeroenwijering.com/extras/readme.html#installing
    I've customized it here:
    http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.html
    I'm trying to imbed it in an iWeb page using the "HTML Snippet" feature.
    This is the code that is recommended:
    <embed src="http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.swf" width="600" height="600
    type="application/x-shockwave-flash" pluginspage=
    "http://www.macromedia.com/go/getflashplayer" />
    </object>
    .... but I'm left with only a "white box" with the rotating circle...
    any ideas?

    Here is an updated version of the question which will hopefully make it useful for further users of iWeb... once an answer is found....
    I'm trying to embed this player into myspace and also into iWeb 2.0 as a "web widget":
    http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.html
    This HTML will make it work in Myspace and iWeb 2.0:
    <object enableJSURL="false" enableHREF="false" saveEmbedTags="true" allowScriptAccess="never" allownetworking="internal" type="application/x-shockwave-flash" data="http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.swf" height="300" width="312">
    <param name="movie" value="http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.swf" />
    <param name="allownetworking" value="internal" />
    <param name="allowScriptAccess" value="never" />
    <param name="enableJSURL" value="false" />
    <param name="enableHREF" value="false" />
    <param name="saveEmbedTags" value="true" />
    <param name="bgcolor" value="..FFFFFF" />
    <param name="wmode" value="opaque" />
    <param name="quality" value="high" />
    <param name="menu" value="false" />
    <param name="scale" value="showall" />
    <param name="flashvars" value="file=http://www.perlstrax.com/alexanderperls_musicvideos/playlist.xml&autostart=true&lightcolor=0xffcc00" />
    ...BUT ..... no menu shows up to select the video...
    I think the problem is that it's running the SWF file OK, but in order for it to work properly, it has to read data from this HTML file http://www.perlstrax.com/alexanderperls_musicvideos/flvplayer.html
    and this XML file: http://www.perlstrax.com/alexanderperls_musicvideos/playlist.xml
    Here is a recent discussion on placing these players in myspace:
    http://www.jeroenwijering.com/?thread=3007

Maybe you are looking for