help with cd auto play

8 replies
Hey guys,

this might seem quite silly but can someone tell me if it is possible to change the auto play option in any individual CD.. For eg if i want a particular video in the cd to play as soon as it is inserted into the drive, can that be done? im pretty sure its not possible but i just wanted to be sure..
#auto #play
  • Profile picture of the author Tony Marriott
    Originally Posted by bennettdaniel View Post

    Hey guys,

    this might seem quite silly but can someone tell me if it is possible to change the auto play option in any individual CD.. For eg if i want a particular video in the cd to play as soon as it is inserted into the drive, can that be done? im pretty sure its not possible but i just wanted to be sure..
    It will be configurable in the options of your particular CD writing software. If you can't find the answer in the help file and all else fails try reading the manual.

    If you don't have a decent cd writing software and are relying on a Windows default burner the read

    How to make a Windows AutoPlay CD.
    {{ DiscussionBoard.errors[4438188].message }}
    • Profile picture of the author bennettdaniel
      ok cool..thanks..i just need to get it to start playing the video automatically..ill try and see if it works..
      {{ DiscussionBoard.errors[4438195].message }}
      • Profile picture of the author Tony Marriott
        Originally Posted by bennettdaniel View Post

        ok cool..thanks..i just need to get it to start playing the video automatically..ill try and see if it works..
        OK, I see that is really two questions.

        Firstly you need to make the cd autoplay.

        That is not auto play in the sense of a video automatically playing without having to press start.

        The video file needs a player and that player is normally already on the computer that is reading the cd so you have no control over that.

        You will need to "wrap your video" in some code/files and make the cd auto play that file.

        So you need to create your video on your PC so that it autoplays when you run the "script". Then burn the video with the additional files/scripts needed to auto run it to the cd.

        If you can't autorun it on your pc it won't auto-run on the cd - if I explained that clearly?
        Depending on the video will depend on what you need to make it autorun.

        So as an example. I use Camstudio to create videos and render them for using on the web. I get an MP4 video and a _controller.swf file.

        add this script into any html file and it will auto run the video

        <!-- Users looking for simple object / embed tags can copy and paste the needed tags below.
        <div id="media">
        <object id="csSWF" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="401" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0">
        <param name="src" value="example-video_controller.swf"/>
        <param name="bgcolor" value="#1a1a1a"/>
        <param name="quality" value="best"/>
        <param name="allowScriptAccess" value="always"/>
        <param name="allowFullScreen" value="true"/>
        <param name="scale" value="showall"/>
        <param name="flashVars" value="autostart=false#&thumb=FirstFrame.png&thumb scale=45&color=0x000000,0x000000"/>
        <embed name="csSWF" src="
        example-video_controller.swf" width="640" height="401" bgcolor="#1a1a1a" quality="best" allowScriptAccess="always" allowFullScreen="true" scale="showall" flashVars="autostart=true&thumb=FirstFrame.png&thu mbscale=45&color=0x000000,0x000000" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
        </object>

        So loading the video and controller file plus making the html file cd autorun file will give you autorun video on CD.

        If your videos already exist then you can drop an AVI directly into Camstudio and it will do all this for you.

        There will be other tools that will do this but this is the one I use.

        Adobe flash site may also give you more information on this.

        Also to auto run an HTML you need a little extra config.

        see

        CD Autorun for HTML Files

        So yes it is possible but you will need to do a little work
        {{ DiscussionBoard.errors[4438314].message }}
        • Profile picture of the author michael_gourlay
          Also, keep in mind, a lot of people (like me) disable autoplay so you should include instructions on getting the video to play in the scenario where it doesn't start automatically.
          {{ DiscussionBoard.errors[4439415].message }}
  • Profile picture of the author webapex
    You can create an autorun.inf file with notepad and insert a path to an executable to be run on insertion, if the user has autorun enabled (I have not worked with opening documents, check the autorun.inf documentation)

    Here's the typical file, the .ico file is an optional CD icon image.

    [autorun]
    open=MyApp.exe
    icon=MyAppIcon.ico

    If you had provided a player .exe on the CD, like Cantasia has that in turn could access a play list.

    -------------- edit -------------

    Again if you just need an auto play CD and not a banquet, you might check out these guides that detail using the autorun.inf file

    http://autorun.moonvalley.com/autoruninf.htm

    http://www.phdcc.com/shellrun/autorun.htm
    Signature

    “An expert is a person who has made all the mistakes that can be made in a very narrow field” Niels Bohr

    {{ DiscussionBoard.errors[4438253].message }}
  • Profile picture of the author DireStraits
    Whilst we're at it, does anyone have a recipe for Italian lamb stew?

    Also, I need someone to fix my bicycle.

    Cheers.
    {{ DiscussionBoard.errors[4438308].message }}

Trending Topics