Skip to main content
Known Participant
August 4, 2010
Question

Add an intro video before main Video starts

  • August 4, 2010
  • 2 replies
  • 1158 views

Hi,

I have a 10 second Intro video that I would like to play before each main video plays.

The videos are streaming through FMS 3.5.

At the moment I have to attach the intro to the start of the main videos and render out in Premiere Pro CS5

Ideally I would like to set it up so that the intro starts for the 10 seconds and then auto switches to the manin video.

To show an example of what I need to do here is a link to an Archery site ( I also do archery as a hobby and noticed this)

http://europroarchery.com/cgi-bin/htmlos.cgi/003628.1.1497528102114867862

If you click on any of the 8 parts for either day 1 or Day two, you will notice a couple  the 5 second intro screens and it then automatically goes back to 0 to start the main video.

Can anyone please explain how to do this please?

regards

    This topic has been closed for replies.

    2 replies

    August 9, 2010

    Hi Macnimation,

    The tutorial is helpful only if you are using some Flash Authoring tools to write your playback client (which is playing back the video from the FMS at your side). In that case, inside your client code, there must be a NetStream object ns, and a statement like ns.play(filename, 0, -1), where filename is the name of your final video which you have created by combining the various videos you want to play.

    So to create a playlist (as described in the tutorial), you need to modify the ns.play() statement. If your video files are named A.flv, B.flv, and so on, while the short intro video is named X.flv, you can write the following sequence of statements to create  a playlist:

    ns.play("X", 0, -1, true);
    ns.play("A", 0, -1, false);
    ns.play("X", 0, -1, false);
    ns.play("B", 0, -1, false);

    The last parameter (true/false) is the reset parameter. For the first time, it is true, to indicate that reset the play and start playing stream X immediately. For the following statements, it is false, indicating that play the stream A after the previous stream (i.e. x) is completed.

    Thanks.

    August 9, 2010

    Hi,

    As Priya mentioned, either you prepare the playlist on the server-side or on the client-side, you would need to use Flash on your website to play the stream.

    You can look at this tutorial where a timer based stream play is being showcased, http://fmsguru.com/showtutorial.cfm?tutorialID=27.On the server-side instead of single stream play you can created a playlist as mention in the earlier tutorial I passed you. Instead of a timer -based call, you can invoke the play on click of a button for your usage.

    Another tutorial on creating a dynamic playlist may also be helpful to you, http://www.adobe.com/devnet/flash/articles/video_player_print.html

    Thanks

    Mamata

    August 4, 2010

    Hi

    One way to accomplish this is by creating a playlist. This will ensure that whenever you click a link to invoke the play of video, the intro video will play first followed by the main video.

    The usage is described at http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773d117-7fcc.html

    Hope this helps.

    Regards

    Mamata

    Known Participant
    August 5, 2010

    Hi,

    thanks for the reply.

    I took a look at the link you provided and I had come across that information before.

    Unfortunately, as with a lot of Adobe Help files, are not very helpful or intuitive.

    Also, based on the comments of that file, it is not accurate.

    It does not say where the code is put?

    Or it seems to infer that I have to use Flash to create the video module which I dont really want to do as it tends to cause more issues than solve them.

    If there is an intuitive tutorial on where the code is put, who do you call it , or where in FMS 3.5 do I place the code as it gives no instruction on using the main.asc file then it would be more useful.

    I either stream through creating the video file in Dreamweaver CS5, or if there are a series of videos needed for an online course I create them in Captivate and upload to our LMS.