+ Reply to Thread
Results 1 to 4 of 4
  1. #1

    [REQ] Default Pic file when Player loads

    Greetings Dave, I want to be able to set a default jpg file (and if possible swf also) in the main player window when the player loads which I can use even with the dfileaction = 2 setting.

    I am commonly using the dfileaction = "2" setting to embed each video into my forum topics i.e. it highlights the file in the playlist but does not load the file or begin playback. The user must click the play button or the item in the playlist to start loading and playback.

    So I want to be able to set one default jpg image in the main player window for all the videos which tells them to click the bottom play button to start playing and some other basic instructions rather than they seeing simply a black screen in the player window.

    I hope you can add this very useful feature and variable to your list Thanks. This must be an easier one I guess.

  2. #2
    Member
    Join Date
    May 2007
    Location
    Torsby Sweden
    Posts
    20
    hurry!
    I have the solution för mcmp720x360_player.swf and for mcmp180x180_player.swf.

    mcmp720x360_player.swf:
    // MC Media Player: JavaScript Implementation, v1.07/02
    // This script performs two functions:
    // (1) It writes the HTML code which embeds the Flash media player file on your web page.
    // (2) It allows you to customize your player by editing variables.
    // More information: www.mediacollege.com/flash/media-player

    // Variables - Enter values to customize your player:
    mcplayerfile = "";
    promptVersion = "";
    playlist = "";
    plresize = "none";
    mediadir = "";
    dfile = "Thumb_02.flv";dfileaction = "1";
    defpreclip = "";
    desctxtcolor = "99CCFF";
    descbgcolor = "000000";
    infotype = "swf";
    infohead = "";
    infotxt = " ";
    infoheadcl = "";
    infotxtcl = "";
    infobg = "99CCFF";
    definfo = "";
    bgcolor = "3366FF";
    fullscreenmode = "1";
    buf = "";
    zoom = "0";
    dlinks = "";
    showfileURLs="";
    directlinkURL = "";
    optmenu = "";
    aseq = "";
    aseqd = "";
    imgdur = "";
    swfdur = "";
    startvol = "";
    // Note: Resizing the player may cause distortion in the interface, especially the text.
    // Only resize the player if you really need to. Default size is 720x360
    playerwidth = "720";
    playerheight = "360";

    mcmp180x180_player.swf:
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="436" height="331" align="left">
    <param name="movie" value="mcmp180x180_player.swf">
    <param name="quality" value="high">
    <param name="Flashvars" value="vidfile=SystemiskTraning_08.flv&clipname=Dubbelklicka på Play Video&tn=Tumb_SystemiskTraning_05.jpg&startup=none&buf=5&dur=120&res=3 20x240">
    <embed src="mcmp180x180_player.swf" width="436" height="331" align="left" quality="high"
    pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
    Flashvars="vidfile=SystemiskTraning_08.flv&clipname=Bars and Tone&tn=Tumb_SystemiskTraning_05.jpg&startup=load&buf=5&dur=120&res=32 0x240"></embed>
    </object>
    ===> check Tumb_SystemiskTraning_05.jpg

    Regards
    Bengt

  3. #3

    Will not work for me

    Thanks Bengt, but this will not work for me as I need to set my dfile to the full flv video file which will start playing when the viewers click the play button as my dfileaction variable is set to 2. So I cannot set the dfile to a thumb.flv. I had thought about this earlier. Of course your solution will work for those who do not need to set the full flv file to be played as the dfile.

  4. #4
    Administrator Dave's Avatar
    Join Date
    Sep 2004
    Location
    Te Awamutu, New Zealand
    Posts
    3,473
    Blog Entries
    57
    Yeah, I see what you're saying. Sort of like the still image that comes up on the YouTube player with the play button. I'll add this to the list.
    Dave Owen
    MediaCollege.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts