Dynamic FLV playlist

Hi guys,
Im trying to create a dynamic streaming FLV playlist using
the list component and Flash Communication server 1.5. Ive tried
modifying both guides by Lisa Larson (the one for FMS2 and the one
for FCS1.5) but whenever I load the completed swf nothing plays.
Occasionally the previews show in the list component but will just
not play.
Can anyone point me in the right direction?
Thanks
g

Search for JW player on Google and look at that.
Regards
FlashJester Support Team
e. - [email protected]
w. - www.flashjester.com
"This has been one of the most impressive and thoroughly
pleasant
experiences of customer support I have ever come across -
astounding!"
Director - hedgeapple

Similar Messages

  • Dynamic Video Playlist

    Hi, I am new to Actionscript 3 and I have followed the
    tutorial regarding creating a dynamic video playlist with
    thumbnails. I created as the tutorial said and it worked fine.
    Instead of their just being a title for a video, I have also tried
    to add a description to each tileitem, but instead the title
    repeats twice. Can anyone see where i'm going wrong? You can view
    my playlist here - www.coolmustard.co.uk/VideoPlaylist.html
    Thumb actionscript file:
    package {
    import fl.controls.listClasses.ICellRenderer;
    import fl.controls.listClasses.ImageCell;
    import fl.controls.TileList;
    import flash.text.*;
    public class Thumb extends ImageCell implements
    ICellRenderer {
    private var desc:TextField;
    private var info:TextField;
    private var textStyle:TextFormat;
    public function Thumb() {
    super();
    loader.scaleContent = false;
    useHandCursor = true;
    // set skins
    setStyle("upSkin", ThumbCellBg);
    setStyle("downSkin", ThumbCellBg);
    setStyle("overSkin", ThumbCellBgOver);
    setStyle("selectedUpSkin", ThumbCellBgOver);
    setStyle("selectedDownSkin", ThumbCellBgOver);
    setStyle("selectedOverSkin", ThumbCellBgOver);
    // Create and format desc
    desc = new TextField();
    desc.autoSize = TextFieldAutoSize.LEFT;
    desc.x = 80;
    desc.y = 4;
    desc.width = 500;
    desc.multiline = true;
    desc.wordWrap = true;
    addChild(desc);
    textStyle = new TextFormat();
    textStyle.font = "Arial";
    textStyle.color = 0xffffff;
    textStyle.size = 11;
    textStyle.bold = true;
    info = new TextField();
    info.autoSize = TextFieldAutoSize.LEFT;
    info.x = 80;
    info.y = 15;
    info.width = 500;
    info.multiline = true;
    info.wordWrap = true;
    addChild(info);
    override protected function drawLayout():void {
    // Position cell elements; tweak these for your thumbs if
    needed
    var imagePadding:Number = getStyleValue("imagePadding") as
    Number;
    loader.move(11, 8);
    var w:Number = width-(imagePadding*2);
    var h:Number = height-(imagePadding*2);
    if (loader.width != w && loader.height != h) {
    loader.setSize(w,h);
    loader.drawNow();
    desc.text = data.label;
    desc.setTextFormat(textStyle);
    info.text = data.label;
    info.setTextFormat(textStyle);
    background.width = width+5;
    background.height = height+2;
    textField.visible = false;
    Videoplaylist actionscript code:
    package {
    import flash.display.MovieClip;
    import flash.net.URLLoader;
    import flash.net.URLRequest;
    import flash.events.Event;
    import fl.controls.listClasses.CellRenderer;
    import fl.controls.ScrollBarDirection;
    public class VideoPlaylist extends MovieClip {
    private var xmlLoader:URLLoader;
    public function VideoPlaylist():void {
    // Load the playlist file, then initialize the media player.
    xmlLoader = new URLLoader();
    xmlLoader.addEventListener(Event.COMPLETE, initMediaPlayer);
    xmlLoader.load(new URLRequest("playlist.xml"));
    // Format the tileList, specify its cellRenderer class.
    tileList.setSize(600, 240);
    tileList.columnWidth = 580;
    tileList.rowHeight = 60;
    tileList.direction = ScrollBarDirection.VERTICAL;
    tileList.setStyle("cellRenderer", Thumb);
    public function initMediaPlayer(event:Event):void {
    var myXML:XML = new XML(xmlLoader.data);
    var item:XML;
    for each(item in myXML.vid) { // populate playlist.
    // Get thumbnail value and assign to cellrenderer.
    var thumb:String;
    if(item.hasOwnProperty("@thumb")>0) thumb = item.@thumb;
    // Send data to tileList.
    tileList.addItem({label:item.attribute("desc").toXMLString(),
    label:item.attribute("info").toXMLString(),
    data:item.attribute("src").toXMLString(),
    source:thumb});;
    // Select the first video.
    tileList.selectedIndex = 0;
    // Listen for item selection.
    tileList.addEventListener(Event.CHANGE, listListener);
    // And automatically load it into myVid.
    myVid.source = tileList.selectedItem.data;
    // Pause video until selected or played.
    myVid.play();
    // Detect when new video is selected, and play it
    function listListener(event:Event):void {
    myVid.play(event.target.selectedItem.data);
    XML Playlist:
    <?xml version="1.0" encoding="UTF-8"?>
    <playlist id="Adobe Developer Center - Dynamic Video
    Playlist in AS3" >
    <vid desc="Champneys Spa's and Resorts"
    info="Enter a short description here"
    src="
    http://www.coolmustard.co.uk/videos/ChampneysIntro.flv"
    thumb="
    http://www.coolmustard.co.uk/thumbs/ChampneysIntro.jpg"
    />
    <vid desc="Accommodation at Champneys"
    info="Enter a short description here"
    src="
    http://www.coolmustard.co.uk/videos/ChampneysAccom.flv"
    thumb="
    http://www.coolmustard.co.uk/thumbs/ChampneysAccom.jpg"
    />
    <vid desc="The Henlow Spa and Resort"
    info="Enter a short description here"
    src="
    http://www.coolmustard.co.uk/videos/ChampneysHenlow.flv"
    thumb="
    http://www.coolmustard.co.uk/thumbs/ChampneysHenlow.jpg"
    />
    <vid desc="The Forest Mere Spa and Resort"
    info="Enter a short description here"
    src="
    http://www.coolmustard.co.uk/videos/ChampneysMere.flv"
    thumb="
    http://www.coolmustard.co.uk/thumbs/ChampneysMere.jpg"
    />
    <vid desc="The Springs Spa and Resort"
    info="Enter a short description here"
    src="
    http://www.coolmustard.co.uk/videos/ChampneysSpings.flv"
    thumb="
    http://www.coolmustard.co.uk/thumbs/ChampneysSprings.jpg"
    />
    <vid desc="The Tring Spa and Resort"
    info="Enter a short description here"
    src="
    http://www.coolmustard.co.uk/videos/ChampneysTring.flv"
    thumb="
    http://www.coolmustard.co.uk/thumbs/ChampneysTring.jpg"
    />
    <vid desc="Spa Treatments at Champneys"
    info="Enter a short description here"
    src="
    http://www.coolmustard.co.uk/videos/ChampneysSpaTreat.flv"
    thumb="
    http://www.coolmustard.co.uk/thumbs/ChampneysSpaTreat.jpg"
    />
    <vid desc="Fitness and Well-Being at Champneys"
    info="Enter a short description here"
    src="
    http://www.coolmustard.co.uk/videos/ChampneysFitness.flv"
    thumb="
    http://www.coolmustard.co.uk/thumbs/ChampneysFitness.jpg"
    />
    <vid desc="Aqua Therapy at Champneys"
    info="Enter a short description here"
    src="
    http://www.coolmustard.co.uk/videos/ChampneysAquaTherapy.flv"
    thumb="
    http://www.coolmustard.co.uk/thumbs/ChampneysAquaTherapy.jpg"
    />
    </playlist>
    If anyone can help that would be brilliant.

    I can't pinpoint where data.label derives from, but at first
    glance I'd say the problem might be between the following sets of
    lines...
    desc.text = data.label;
    desc.setTextFormat(textStyle);
    info.text = data.label;
    info.setTextFormat(textStyle);

  • How to send dynamic flv video to video control

    Hi
    i put a looper in my page and inside it i click insert->media->flash video
    and the window appeared and i try to make the flv dynamic i mean by code and i found that it needs to specify a specific flv file !!! no parameters button to specify dynamic file
    how to specify dynamic flv to video control?
    if this control can't i want a control like that but accepts to specify dynamic file like

    Hi,
    I'm working from the Web UI. This is BSP. Here I add 2 Methods (GET_PDF and SEND_MAIL).
    The GET_PDF gets all data for the form and then sends the FORMOUTPUT to the SEND_MAIL method.
    Here I add the PDF as following:
    First I convert it to BINARY and then I add it as attachment.
    Do I need to add it as another TYPE or ....
    +  CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER                = ip_formoutput-PDF "PDF file from function module
        APPEND_TO_TABLE       = ' '
      IMPORTING
        OUTPUT_LENGTH         =
        TABLES
          BINARY_TAB            = lt_att_content_hex
      lo_document->add_attachment(
        EXPORTING
          i_attachment_type    = 'PDF'
          i_attachment_subject = 'Your appointment Details'
          i_att_content_hex    = lt_att_content_hex ).+
    Kind Regards,
    Maarten

  • Dynamic Flv percentage preloader

    Can anyone tell me where I can find a tutorial or somt to
    produce a percentage preloader for dynamic Flv's
    I have tried wot I know on hte subject but to know avail
    thanks for your help
    kev

    Hi
    Can you elaborate on the phrase 'Dynamic FLv's', then maybe
    we can get closer to an answer.

  • Dynamic FLV  Loading Entire Video

    Using Flash 8 and the tutorial at
    http://reallyshiny.com/tutorials/flash.php,
    I created a dynamic FLV player. Everything works but the player
    loads the entire FLV video when going to the URL. Is there an easy
    way to prevent FLVPlayback component from loading the complete FLV
    video until someone clicks play? If there were several videos on
    the page or one video was very large it could take an unnecessary
    about of bandwidth to display the page, especially if the end user
    wasn't going to view that video.

    Sorry, my mistake.
    Ok, I think that if you used a prebuilt component, the play
    button i used only to start the clip. You have to create your own
    Play button, that verify if the video exist or if it has to load
    it. So the first time, the video does not exist, then when the used
    will click on it, it will start the video load. Don't put the video
    path on the component, just feed it with actionScript. After that
    if the user stop the video or just pause it and press Play button
    again your code will check, then the video already exist and it
    will not start the load again, but just play it.
    Has I said, this is the way I think it should be, you have to
    Script your own play btn. May be there is other way, but I don't
    know them.
    Hope that can help you!

  • Customize dynamic video playlist template

    Hi,
    I downloaded a dynamic video playlist template for streaming delivery of video from -http://www.adobe.com/devnet/flash/articles/video_playlist.html I have customized the playlist to play and display my own videos and thumbs. I would like to customize the position of the TileList component and the position and size of the thumbs and text contained within, so that it matches the position and size of the thumbs and text on my website. Here is a link to the template folder- http://dl.dropbox.com/u/8730678/video_playlist_sequence.zip and my website (got to movie page) - http://jamanimations.com/
    Thank you!

    thanks for your reply but I have managed to fix it by move=ing the content of the constructor of the class 'VideoPlaylist' into a new  function called activate and then calling that on frame 2

  • Dynamic FLV content path

    I'm currently displaying a Flash Video (instance name = vid)
    through a movie clip (instance name = top) in my FLA with this
    actionscript:
    top.vid.contentPath = "0207.flv";
    It works fine. But now I need to figure out how to make the
    content path dynamic. A variable will be added to the SWF's parent
    HTML file like this:
    <param name="movie" value="test.swf?videoDate=0207" />
    The goal is to make an SWF file that can play any FLV file
    based on the value of the videoDate variable. So if videoDate=0207,
    then the SWF will play 0207.flv. If videoDate=0307, then the SWF
    will play 0307.flv. And so on.
    I can see how this should work, but I'm just not enough of an
    actionscript badass to know exactly how to code it. In plain
    English, I think I need something like this:
    videoArray = value of videoDate variable from HTML + .flv
    extension
    top.vid.contentPath = videoArray
    Any help would really really be appreciated.

    videoArray = videoDate + ".flv";

  • Dynamic FLV/MPG - Video Player

    Hi guys,
    Thanks in advance.
    I am trying to create an online video player of short
    videoclips.
    I have an array, which has around 10+ FLV and a few MPG
    videoclips.
    The requirement-
    - Dynamically load and display these movieclips - one after
    the other.
    - After the current movie has finished playing, the next
    movie, should
    automatically start.
    - After the last movie ends, it should loopback and start
    from the first
    clip.
    Kindly help.
    Thanx again.

    You will need some server side script to be the mediator
    between your database and the SWF. Use the FLVPlayback components'
    source method to play the FLV files you want.

  • Dynamic flv player with auto resize based on content

    Hi,
    I would like to build a .flv player which can accommodate 7
    different video sizes.
    This will probably be made using php and xml to dynamically
    control content.
    What I would like to know is if and how it is possible to
    have a holder.swf (just looks for variables to display the flv)
    that can automatically resize based on the flv dimensions. I dont
    want any kind of browserscreen resolution resizing of content, just
    an swf that will change its size from say 320x240 to 450x253
    depending on the dynamically loaded flv.

    The same thing has been reported for the T410. You can see how to fix it here:
    http://forums.lenovo.com/t5/T400-T500-and-newer-T-series/T410-unstable-screen-brightness/m-p/212492#...
    It appears to occur anytime you are on battery and the intel graphics power plan is set to anything other than 'maximum performance.' It's pretty subtle, but really annoying when it happens.

  • FLV Playlist

    I want to embed multiple *.flv files into my video however,
    after the first video has stopped playing, I want it to
    automatically start playing video two.
    Is this possible via actionscript for though any way that I
    havent looked at yet. At the moment, I've imported video a and
    video b (for ease) and my clients are forced to click a button to
    view clip #2.

    haha, that just so happens to be exactly why I was doing this
    (the dynamic text). Now I'm sure i've done it inefficiently, but
    this is my code.....
    I'll add the code required to make it stop instead of keep
    looping....
    I'm not 100% sure about it, experement for yourself a little,
    but you should have the jist of it.
    VideoArray = new Array();
    VideoArray[0] = "part1.flv";
    VideoArray[1] = "part2.flv";
    VideoArray[2] = "part3.flv";
    var currentVideo = 0;
    my_video.play(VideoArray[currentVideo]);
    var listenerObject:Object = new Object();
    listenerObject.complete = function(eventObject:Object):Void {
    if (currentVideo < VideoArray.length) {
    // Increment to the next video in the list
    currentVideo++;
    // begin playing the new video
    my_video.play(VideoArray[currentVideo]);
    my_video.addEventListener("complete", listenerObject);
    /* End control of video */
    // when the timer ticks....
    countDown = function () {
    switch(Math.round(my_video.playheadTime)) {
    // Part 1 Slides and some combined for part 2
    case 0:
    if (my_video.contentPath == "part1.flv") {
    myText.text = "1";
    if (my_video.contentPath == "part2.flv") {
    myText.text = "5";
    break;
    case 66:
    if (my_video.contentPath == "part1.flv") {
    myText.text = "2";
    break;
    case 179:
    if (my_video.contentPath == "part1.flv") {
    myText.text = "3";
    break;
    case 218:
    if (my_video.contentPath == "part1.flv") {
    myText.text = "4";
    break;
    case 83:
    if (my_video.contentPath == "part2.flv") {
    myText.text = "6";
    break;
    case 128:
    if (my_video.contentPath == "part2.flv") {
    myText.text = "7";
    break;
    case 309:
    if (my_video.contentPath == "part2.flv") {
    myText.text = "8";
    break;
    case 521:
    if (my_video.contentPath == "part2.flv") {
    myText.text = "9";
    break;
    case 700:
    if (my_video.contentPath == "part2.flv") {
    myText.text = "10";
    break;
    case 1043:
    if (my_video.contentPath == "part2.flv") {
    myText.text = "11";
    break;
    case 1190:
    if (my_video.contentPath == "part2.flv") {
    myText.text = "12";
    break;
    case 1321:
    if (my_video.contentPath == "part2.flv") {
    myText.text = "13";
    break;
    /* DEBUG MODE!!! Will display current time and content path.
    Just remove comments
    myText.text = Math.round(my_video.playheadTime) + " " +
    my_video.contentPath;
    // Start the timer, 10ms intervals for accuracy
    timer = setInterval(countDown, 10);

  • Is there a way to create a dynamic random playlist?

    I am upgrading (downgrading?) from a 60gb 5G iPod to a Touch. Since the Touch has less space on it than my former iPod, I would like to know if there is a way to have it filled with different random songs each time it is docked.
    I know how to create a playlist that consists of random songs, but I want this list to change periodically, so that I have a different variety of songs available on the Touch.
    Is there a way to do this?

    You need to make sure that the smart playlist has a criterion that will vary with time, such as Playcount is not 0, or Last played is not within the last x days". You also need to make sure that live updating is checked.
    You may need to play around with it a little to get the mix you like.

  • Dynamic FLV selection

    Hello,
    I am using Flash CS4 and I created a video player with the
    Import Video function that links to an FLV video on my web server.
    It works fine, however I have several FLV files that I want to be
    able to select at runtime. I don't want the FLV video target
    hardcoded into the SWF file like it appears to be now. I want to be
    able to specify it in the calling HTML file somehow.
    How do I make it so that the SWF does not have the video
    filename hardcoded into it, and can take the filename as a
    parameter instead? Then how do I pass it that parameter from the
    HTML page?
    Thanks,
    Jim

    quote:
    Originally posted by:
    xchanin
    //You could use a flashvar to pass the URL into your .swf.
    <PARAM NAME=FlashVars
    VALUE="videoURL=http://yourdomaon.com/video.flv">
    //create a variable that will hold the value from your flash
    var:
    var videoPath =
    reference.root.loaderInfo.parameters['videoURL']
    use this variable to load your video
    I tried this, I put the flashvars in the html and I put the
    var videoPath line into the layer 1 frame 1 action script, but the
    video does not load. The progress bar under the video just shows a
    candy cane striped pattern when I load the page. I also left the
    contentPath parameter blank in the FLVPlayback instance.
    Any idea what might be wrong?

  • Dynamic Flv Player

    Hi anyone & all,
    Iam using this files for FMS testing.
    Sample
    file which iam using now
    Everything is working fine, but i need some more features.
    (i) when published i need to play the first flv in the list.
    (ii) when i click next button it should skip to the next flv.
    (iii) How can i change Flvplayback skin.
    (iv) I need a fullscreen option button in the control tab.
    Please any one help. Thanks in advance.
    Jayaraj D
    email : [email protected]:disgust;:smile;

    You will need some server side script to be the mediator
    between your database and the SWF. Use the FLVPlayback components'
    source method to play the FLV files you want.

  • Dynamic flv contentPath

    Hi all,
    I am writing a script that loads the path to an FLV file and
    loads it in an FLVPlayback object. The FLVPlayback object is placed
    inside a MovieClip called "theVideo" and has the instance name
    "player".
    If theVideo is already on stage when the movie loads, this
    works fine. The problem is that until I actually load the FLV file,
    the FLVPlayback object is displayed with the "loading bars" in the
    timeline, and I am guessing this is wasting CPU cycles.
    If I try to load the MC when I am ready to load the video,
    the MC loads but I cannot seem to set the contentPath since I get
    these "loading bars".
    I checked my path and I know it is correct since it works
    with the first option, but I would need to do this the second way.
    Would anyone know why I am having problems setting the contentPath
    parameter?
    Thanks for the help

    A couple of observations, maybe nothing to do with your
    problem:
    1) you attach a movieClip to _root, but you use a
    getNextHighestDepth of a different movieClip (contentMC ???
    2) did you just quickly type this from memory or did you
    copy/paste the code? You have spaces in front of and after "root."
    Other than that, I haven't understood what you mean with
    "loading bars in the timeline". Maybe you can expand on that a bit?
    Good luck
    Wolf

  • Dynamic FLV StreamName using MySQL

    Hi there,
    I am trying to display a *.flv movie which has its filepath drawn from a php MySQL dataset
    The recordset works ok and is tested with just a text output of the filename but i cant get the flv player code right. 
    <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName=Corona_Skin_2&amp;streamName=../videos/art istvideos/<?php echo $row_selectedcharactervideo['videofile']; ?>;autoRewind=true" /> 
    or do i need to set this as a $videofile then insert that somehow am completely n00b at this one. 
    Any help is appreciated 
    Cheers

    Sorry, my mistake.
    Ok, I think that if you used a prebuilt component, the play
    button i used only to start the clip. You have to create your own
    Play button, that verify if the video exist or if it has to load
    it. So the first time, the video does not exist, then when the used
    will click on it, it will start the video load. Don't put the video
    path on the component, just feed it with actionScript. After that
    if the user stop the video or just pause it and press Play button
    again your code will check, then the video already exist and it
    will not start the load again, but just play it.
    Has I said, this is the way I think it should be, you have to
    Script your own play btn. May be there is other way, but I don't
    know them.
    Hope that can help you!

Maybe you are looking for

  • Print thru Airport Express under Fusion/Windows XP

    I have a MacBook Pro (10.5.2), Airport Extreme Base Station, and a new Airport Express with an attached HP color laserjet. No problem printing wirelessly from OS-X. However, also running Fusion with WinXP and have been printing from there for months

  • Connecting New with the Old

    Try not to laugh too too much. I have Verizon FIOS with wireless router to a computer and laptop, both run Windows XP. I would like to connect to my "other" computer upstairs using wireless capability. The "other" computer is running Windows 95. Can

  • I don't know what happened?!

    So last night, to give a little history, I was trying to look at a slideshow that I had made using iphoto. That's when the touble started, I could see the pictures in the library but when I clicked on them to edit, they woud not show up. When I tried

  • My airdrop isn't working how do I get it to work

    I can't connect to anyone's Bluetooth it won't let me airdrop photos

  • Files missing from exports

    This is now getting ridiculous.  I'm on Windows 8.1 and have updated all of my Adobe products:  AE, Premier etc. to the very latest versions. So this is happening:  when I go to export a composition, certain files within the composition don't make th