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.

Similar Messages

  • 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  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!

  • An image changing to FLV Video Player in AJAX Update Panel

    Hi,
    I'm trying to design part of a website can seen as video gallery. I have videos related to subcategories; and subcategories that related to categories.
    I was using popups but now want to change it. Simply, firstly there are images and descriptions(in an update panel) of videos on page. After clicking thumbnail, the region includes thumbnail and description wil be changed to FLV video player.
    Outside of updatepanel player is working good. but when i move it into updatepanel; doesn't working in IE. Because JS code (AC_FL_RunContent(.....)) is not working in updatepanel. Tried another script (like alert('hello!');), it's working. I think i have problem with the function named AC_FL_RunContent(...). It's working as i want, if open page with Firefox.
    Looked for this in google. Visited many pages, but never find a solution for this nor source of problem. I hope someone can help me
    Using ASP.Net. I'm attaching my tree structure and codes below:
    Default.aspx
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"%> 
    <! 
    DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" //www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

    html xmlns ="http://www.w3.org/1999/xhtml">

    head id="Head1" runat="server">
    <title>Untitled Page</title>
    <link href="StyleSheet.css" rel="stylesheet" type="text/css"/>
    <script type ="text/javascript">
    function  
    MM_CheckFlashVersion(reqVerStr,msg){
      with (navigator){
          var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
          var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
          if (!isIE || !isWin){
            var flashVer = -1;
            if (plugins && plugins.length > 0){
                var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
                desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
                if (desc == "") flashVer = -1;
                else{
                  var descArr = desc.split(" ");
                  var tempArrMajor = descArr[2].split(".");
                  var verMajor = tempArrMajor[0];
                  var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
                  var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
                  flashVer = parseFloat(verMajor + "." + verMinor);
            // WebTV has Flash Player 4 or lower -- too low for video
            else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;
            var verArr = reqVerStr.split(",");
            var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
            if (flashVer < reqVer){
                if(confirm(msg))
                  window.location = http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash;
    function  callFLVP(){
      AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','320','height','240','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=./VideoGallery/serpende&autoPlay= false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive');
    </ 
    script>

    script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    </ 
    head>
    <body onload="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');">
      <form id="form1" runat="server">
          <ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" />
          <div>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Literal ID="thumbLiteral" runat="server"></asp:Literal>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="showvideoButton" EventName="Click" />
            </Triggers>
            </asp:UpdatePanel>
            <asp:Button ID="showvideoButton" Text="Video" runat="server" onclick="showButton_Click"/>
         </div>
       </form>
    </ 
    body>
    </ 
    html>
    Default.aspx.cs
    public partial class _Default : System.Web.UI.Page
         protected void Page_Load(object sender, EventArgs e)
              thumbLiteral.Text = "<img src id=\"imgThumb\" src=\"./VideoGallery/small/serpende.jpg\" />";
         protected void showButton_Click(object sender, EventArgs e)
              string strNoScriptBlock = "";
              strNoScriptBlock += "<noscript>";
              strNoScriptBlock += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"320\" height=\"240\" id=\"Object1\"><param name=\"movie\" value=\"FLVPlayer_Progressive.swf\" /><param name=\"salign\" value=\"lt\" /><param name=\"quality\" value=\"high\" /><param name=\"scale\" value=\"noscale\" /><param name=\"FlashVars\" value=\"&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=serpende&autoPlay=false&a utoRewind=false\" /><embed src=\"FLVPlayer_Progressive.swf\" flashvars=\"&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=serpende&autoPlay=fal se&autoRewind=false\" quality=\"high\" scale=\"noscale\" width=\"320\" height=\"240\" name=\"FLVPlayer\" salign=\"LT\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" /></object>";
         strNoScriptBlock += "</noscript>";
         string strScriptBlock = "";
         strScriptBlock += "<script>";
         strScriptBlock += "callFLVP();";
         strScriptBlock += "</script>";
         ScriptManager.RegisterClientScriptBlock(this, typeof(string), "strScriptBlock", strScriptBlock, false);
         thumbLiteral.Text = strNoScriptBlock;

    Let's check this first;
    If you have problems with current Shockwave Flash plugin versions then check this:
    * see if there are updates for your graphics drive drivers
    '''https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration'''
    * disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    '''https://forums.adobe.com/message/4468493#TemporaryWorkaround'''
    * disable hardware acceleration in the Flash plugin
    '''https://forums.adobe.com/thread/891337'''
    See also:
    * '''http://kb.mozillazine.org/Flash#Troubleshooting'''

  • Creating a FLV video player with full screen option

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3258016930_5977304
    Content-type: text/plain;
    charset="ISO-8859-1"
    Content-transfer-encoding: 8bit
    Hi!
    I am trying to create a video player that will allow full
    screen functions
    like what we can see on youtube. I know how to create the
    window and the pop
    up but the only problem I am having is having the original
    video in the
    small screen to pause or go silent when the full screen mode
    is activated.
    How can get it done?
    Thank you.
    °K.
    --B_3258016930_5977304
    Content-type: text/html;
    charset="ISO-8859-1"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Creating a FLV video player with full screen
    option</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Hi!<BR>
    <BR>
    <BR>
    I am trying to create a video player that will allow full
    screen functions =
    like what we can see on youtube. I know how to create the
    window and the pop=
    up but the only problem I am having is having the original
    video in the sma=
    ll screen to pause or go silent when the full screen mode is
    activated. How =
    can get it done?<BR>
    <BR>
    Thank you.<BR>
    <BR>
    <BR>
    <B>&deg;K.<BR>
    </B> </SPAN></FONT>
    </BODY>
    </HTML>
    --B_3258016930_5977304--

    Hello,
    You should ask in the
    Windows Phone forums on the Microsoft Community forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Create a video player for embedded FLV

    So I want to embed a FLV in my flash so that I just have ONE SWF that contains everything.
    I know if I say "load external video with playback component" I will end up with a swf, html and the flv- this is NOT what I want so please don't ask me why I'm not using this option.
    "Embed FLV in SWF and play in timeline" is EXACTLY what I want- the result is just a single SWF.
    Here is the question: How do I get a video player if I embed a FLV in flash?
    I know if I load the video external I will get some nice players - exactly what I want. How do I get a player if the video is embedded? Are there any coded player templates on the net? I couldn't find anything on google I could use but I've to admit I'm not too good at AS.
    Thanks A LOT for your help

    Not sure if this will work. Embed the FLV into a movie clip and in the expanded propertied check export for action script. Then you may be able to call the movie clip from the content path in the FLV video component.

  • Little video player (1 playback component, 3 buttons linked to 3 .flv files) not working in the published html! Why?

    Hey everyone out there that is smarter than me. I have made this little prototype video player, and it isn't working. It'll eventually become a nice little player show videos from our summer camp for the last few years, but first I want to make it work in a basic stripped down version.
    There is a playback component with one of the skins right above the three buttons.
    Here's the ActionScript:
    btn1.addEventListener(MouseEvent.CLICK, vid1);
    btn2.addEventListener(MouseEvent.CLICK, vid2);
    btn3.addEventListener(MouseEvent.CLICK, vid3);
    function vid1(e:Event):void{
    vidPlayer.source = "Video1.flv"
    function vid2(e:Event):void{
    vidPlayer.source = "Video2.flv"
    function vid3(e:Event):void{
    vidPlayer.source = "Video3.flv"
    It runs fine when I test in in flash and even the .swf file runs fine alone, but when I put it in a .html file  via Dreamweaver and in the published .html it doesn't run. What up?

    Oh yeah, all the files are in the same directory.

  • YouTube dynamic loading video player

    Hi!
    I'm new to flash but have some experience with flash and need to create a dynamic video player that will play YouTube videos in a random order.  I was wondering what would be the best way to accomplish this?  Do any of you have any suggestions or could point me to a tutorial that would help me figure this out?
    Thanks in advance!

    Hello,
    Here are the Vidoes of Problem with HTC Rezound.
    1) 4G LTE signal is excellent, 2)the phone is out of box so no issue of any cache, 3)Update the firmware and Youtube app from market.
    Still the same problem
    Before Update, Out of box
    http://www.youtube.com/watch?v=OuURZ7Avd0s
    After Updating firmware and Youtube apps
    http://www.youtube.com/watch?v=lhf56Y5jioQ
    Compare with Galaxy Nexus,
    http://www.youtube.com/watch?v=mMjOecLLiBE

  • Creating a Video Player with Dynamic Draggable Playlist. Is it doable in Flash? Help Please

    Hello Everyone,
    I am scripting a video player and one of its functionalities
    is to be able to have a playlist that can be arranged by the user
    in any order user like. For Example, if there are lets say 5 videos
    within the playlist:
    SONG 1
    SONG 2
    SONG 3
    SONG 4
    SONG 5
    User can then change the order of the videos by clicking on
    any video and dragging it up or down just like windows mediaplayer
    and the player should play the videos in such order.
    So far, I have been able to use the list component but am not
    sure if it will allow the dragging.
    I would highly appreciate it if you guys can suggest what
    should I do to handle this functionality.
    Thanks.

    Hm, you could define ‘slots’ with rectangles and
    each slot would map to a specific slot in some
    ‘playlist’. Then create your own ‘list
    renderer’ that attaches draggable clips based on the playlist
    array. During drag and drop, you’d detect which
    ‘slot’ the movieclip was dropped into, which would
    define where in the playlist array it should be inserted.
    Then shift the elements around, insert the item in the array,
    and rerender the list.
    (I’m sure there are probably better/neater ways to do
    this as well, this is just quickly off the top of my head).

  • How to Play MPG videos in Flex web app?

    Hi,
    I would like to play MPG file in my flex app. Video player available in flex plays only .flv file.
    Is there any way of doing this?? can somebody post an example of this??
    Any help wud be highly appreciated.
    Regards,
    khushboo

    I think there's a dereferrer field in the HTTP header that you can query from the HttpRequest.

  • Video player for N79

    Hi All,
    I am having N79, in this only .flv, .wmv, .3gp and .mp4 video files can be played.
    I cannot play .avi, mpg and .dat files using it.
    Can anyone suggest me a good video player I can download for N79 and where I can do that for free ;-)  ?
    Thanks
    Suren

    I am planned to research on the video player for Motorola L7. I am a Dot Net Developer.and have some knowledge in J2ME. Can u help me how the mobile applications can be created for Motorlola L7? Or what r the peculiarities of Moto L7 to take care while creating mobile applications?

  • I get a security sandbox error #2122 when i try to use ImageSnapshot on video player

    hey guys... so all my application does is... it has a video player... and when i initiate the component it loads the flv from a different server, and plays the video... now while its playing the video i have a button called capture, and whe you hit that button the user is able to take snapshots of the current frame.
    this seems to work perfectly locally, but as soon as i uploaded it to the server i get problems...
    the error states:
    SecurityError: Error #2122: Security sandbox violation: BitmapData.draw: http://website1.com/Content/swf/oneStopImageVersion.swf cannot access http://website2.com/videos/originals/Grand_Opening.flv. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
         at flash.display::BitmapData/draw()
         at mx.graphics::ImageSnapshot$/captureBitmapData()
         at modules.videoHandler::videoHandler/captureVideo()
         at modules.videoHandler::videoHandler/___videoHandler_LinkButton3_click()
    i have the crossdomain file in the root directory of website2.com, and i have the folloing line of code in there
    <?xml version="1.0"?>
    <cross-domain-policy>
         <site-control permitted-cross-domain-policies="all" />
         <allow-access-from domain="website1.com"/>
         <allow-access-from domain="*.website1.com"/>
             <allow-http-request-headers-from domain="*.website1.com" headers="SOAPAction"/>
    </cross-domain-policy>
    any ideas on how to fix this problem???
    my actionscript code is as follows
    public function captureVideo():void{
         var snapshot:BitmapData = ImageSnapshot.captureBitmapData(videoPlayer.videoDisplay);
         initialThumbnail.source = new Bitmap(snapshot); //this is the image tag in my mxml
    any help is greatly appretiated!!!!
    thanks in advance!

    any one with ideas???
    i've been doing some more research... and found a possible solution... where i could send the video thru a server proxy... but the only thing is doing that might slow down my process... i was wondering if there was any other solution to this problem??

  • The video player is in the connection error state.

    Flash cS 5.5 / Win 7. Inserting video into movieclip both with 'import video' wizard and via component. FLV that plays fine on a number of different servers. On opening (after gathering metadata) the message 'The video player is in the connection error state. It enters this state when a video stream attempted to load but was unsuccessful. There are two possible reasons for the error: no connection to the server or the stream was not found.' Firstly I am treating this as a progressive download, not streaming. Second this plays fine locally, it's only when I upload to a server it fails. The FLV is in a folder directly below the SWF. Result is same with FLV in same location as SWF. MIME type set to vide/x-flv although I've also set it to applicaiton/octet-stream.
    This is a very basic requirement to call the video directly from Flash, the default parameters of the component are adequate and work locally. However the video does not play. Is it fair to assume this functionality simply does not work correctly within Flash CS5.5? I'm unclear as to what >less< I could be doing with this file.

    You can place the Flash and any Flash assets in any folder location that you want.... provided that you understand how Flash assets (like .flv files) are "Pathed" or located by the .swf that is calling them. The underlying principle is that the Flash assets need to be pathed relative to the Web page that the .swf is located on, NOT the actual, physical location of the .swf.
    For review:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    So you can place the .flv wherever you want, but you can't just go and move the .flv without also correcting the path to the .flv inside the .swf.
    So be sure that you have the .flv in the correct subfolder before you do any insert of the Flash player.
    Also I'm not a great fan of requiring my viewers use the latest and greatest (and most bug filled version) of any pluggin or software for that matter.
    <param name="swfversion" value="11.0.0.0" />
    I refer NOT to upgrade to ver 11 so will not be seeing your Flash anytime soon. If you want to appeal to a large audience, change that to version 10.
    Best wishes,
    Adninjastrator

  • Video Player X, Acrobat 10.1.4, and Flash

    I'm trying to troubleshoot a problem for someone who is troubleshooting it for someone else who is troubleshooting it for one if his users, so I don't have direct access to the machine I'm asking about and some of the info I have could be inaccurate.
    The document in question has several RMAs that display swf-based videos using the latest Video Player X (http://www.uvsar.com/projects/acrobat/videoplayerx/), set to begin when the page is opened and loop. For one user with Acrobat 10.1.4, they are not showing up and instead a FLV icon is displayed in the upper-left of one of the three RMAs on the page.
    Does anyone know what could be possible causes of this? I realize the captive player was decoupled, but exactly which version of Flash Player should be installed for 10.1.4? Is it different than the one for Acrobat 11? If an external player is not installed, or an insufficient player is installed, should the user be prompted to download the correct version?
    Thanks!

    Decoupling only affects the Acrobat XI Family and the latest update of the Acrobat 9 Family. At this time, Acrobat and Adobe Reader X are still hanging on to their copies of captive player (which is at 10.3.183.20 as of this morning).
    I have no idea where the FLV icon has come from (it's not in VideoPlayerX, if for some reason the media file won't play or the skin won't load, all you get is a blank box). Even if you overload Flash Player's memory stack by playing a heap of videos at the same time, all you should see is a drop in framerate (I've got test PDFs with 12 videos per page that all play in unison, albeit somewhat stuttery).
    Ping me offline if there's any stuff you can share, and I'd love to see a screenshot of this mysterious icon.

Maybe you are looking for