11 Replies Latest reply on Apr 14, 2010 11:50 AM by hans-g.

    Using media format?


      If anyone can help, I have a small video clip I took with my camera. The type is a VLC media file. Can I use this in Dreamweaver somehow? When I select the type of media FLV, SWF, Shockwave there isn't an option for VLC. Is there a way I can still use this file or convert it somehow. I know nothing about these types of files?

        • 1. Re: Using media format?
          John Waller Adobe Community Professional & MVP

          VLC is not a file format. It's the media player installed on your computer to play media files.



          When you transferred the movie from your phone to your PC, Windows associated it with VLC, thus you see the icon.


          Your file is probably a mp4 or similar.

          • 2. Re: Using media format?
            mhollis55 Level 4

            OK, the file association has been answered. Now what do you do with it?


            You can buy Apple's Quicktime Pro from Apple and install that, open it up in Quicktime and then do File>Export for Web and Quicktime will create a web page with instructions on how to insert your file into your website. It's easy, it's simple and it works with almost all browsers. Quicktime Pro can also convert it to Flash, which won't work with Apple's portable browsers on the iPhone and iPad but your site can test for that and offer an .M4V file instead.


            That may be the cheapest way to do file conversions for the Web.

            1 person found this helpful
            • 3. Re: Using media format?
              poorlostsoul Level 1

              Thanks for your input.


              Someone in my class was able to convert it to an SWF media type. I don't know how they did it.


              My question now though. Is there a way to get controls for the SWF? The practice exericise I worked though was an FLV. Progressive Download Video is the video type and you can select controls to play, pause and stop the video.


              I don't see the options for play, pause and stop when I select SWF media. I'm guessing it's not possible to do that with this format? I can play the video but there is no way to control it. Does anyone have any ideas on this?

              • 4. Re: Using media format?
                mhollis55 Level 4

                The absolute minimum amount of code needed to embed a .SWF file is:


                <object width="550" height="400">
                <param name="movie" value="somefilename.swf">
                <embed src="somefilename.swf" width="550" height="400">


                You can change the width and height to what you actually do have.


                A broken icon will appear on the Web page if the user does not have the Flash plug-in installed.


                Alternatively, you can have Dreamweaver do the code.


                Manually place the .SWF file in the root of your site folder or in a folder called video in your website.


                If you have the Common toolbar visible, click on the camera icon. Dreamweaver will come up with a dialog box that will allow you to browse to the file. choose the file. You can have Dreamweaver "skin" the video. Click on "Detect Size" to create a video the same size as it is really on your website (though you can constrain the size).


                You can choose autoplay and have it play as soon as it loads or let people manually play it using the controls created by the skin. I recommend that you choose to prompt visitors to download flash as needed.


                Your video will be embedded in your website. you cannot see it in Dreamweaver CS3 but you can test it in a browser by pressing [F12] and see how it works (on a Mac, that's [option]-[F12]).

                1 person found this helpful
                • 5. Re: Using media format?
                  poorlostsoul Level 1

                  Thanks for your help.


                  I only have access to Dreamweaver at school so I'll have to follow your instructions at school tomorrow.


                  I did have the SWF file within a file in my Dreamweaver folder.  I went to the Common layout and selected Media. I then selected SWF for the media type. I didn't see the skin option available like you would get if you had selected the FLA., so I'm not sure if I missed an option or wasn't in the right area to select that option? When I was working with my practice files we used the FLA since that's what came with our text.


                  I just put it in my site the way it was and when I tried it in IE it was there but it played over and over with no way to control. If I'm not able to change this I'm just going to leave it as is.


                  Ohh, I forgot. The type of file they converted was an AVI. Neither of my instructors knew how to convert it and it took them quite awhile, but one of the students had an idea and they tried that and it worked. My folder also includes an html version of the file. Maybe you guys know what he did or why he needed the html to do the conversion. Again, I didn't understand what they were doing but they got it converted so my video will now at least play in Dreamweaver.


                  Thanks again for your help.

                  • 6. Re: Using media format?
                    poorlostsoul Level 1

                    When I go to the common toolbar and select the camera icon and select the folder with my flash.swf video file it's empty. I have to make the media type SWF where it doesn't have the camera icon. It doesn't give me the option to add the skin when I do this. There is no way to stop or pause the video. Is there anyway to control the video if you can't add the skin to it.


                    Does anyone know if controls can be added into the code somehow? This is what my code looks like. When I've posted before and tried to put between html tags the code didn't show up, so hope it's ok to post without.



                    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="320" height="240">
                      <param name="movie" value="assets/flash/Flash1.swf" />
                      <param name="quality" value="high" />
                      <param name="wmode" value="opaque" />
                      <param name="swfversion" value="" />
                      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                      <param name="expressinstall" value="Scripts/expressInstall.swf" />
                      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                      <!--[if !IE]>-->
                      <object type="application/x-shockwave-flash" data="assets/flash/Flash1.swf" width="320" height="240">
                        <param name="quality" value="high" />
                        <param name="wmode" value="opaque" />
                        <param name="swfversion" value="" />
                        <param name="expressinstall" value="Scripts/expressInstall.swf" />
                        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
                          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                        <!--[if !IE]>-->

                    • 7. Re: Using media format?
                      hans-g. Adobe Community Professional & MVP



                      did you really load all the files to the server which DW created in your subdirectory?


                      YourFlv.php (or YourFlv.html or ...
                      Clear_Skin_1.swf (my choice)


                      Have a look here, it's my testsite (works with swf in the same way):




                      • 8. Re: Using media format?
                        poorlostsoul Level 1

                        Hans, I'm not quite sure what you meant. The only files in my flash video folder are Flash -flash shockwave flash object a Flash html document and there is a notes folder and within that folder is a file called flash.swf.mno. I selected the file that is a shockwave flash object as the file to link to for the video.  It plays perfectly in my document but I have no way to control it or add a skin to it?


                        Sorry, If I'm not understanding what you were asking me?

                        • 9. Re: Using media format?
                          hans-g. Adobe Community Professional & MVP



                          didn't you say: "... but I have no way to control it or add a skin to it?"  Did you hover your mouse over my example? Do we talk about this part of the panel (under the green arrow)?




                          This panel comes from a skin DW-file and was the reason for my recommendation. Here's the way I got it (translated from my German DW):


                          create a really new subdirectory
                          create a new html-file
                          DesignMode: Insert Flash-Video
                          search/browse ---> myFLV.flv
                          skin: Halo Skin 3 (min. width 280) ( it's only my choice)
                          width 640 ( it's only my choice)
                          height 480 ( it's only my choice)
                          I clicked all the boxes



                          • 10. Re: Using media format?
                            poorlostsoul Level 1



                            The skin you added to that video works really well.


                            I just wasn't sure how to implement it.


                            Thanks for pointing it out to me.

                            • 11. Re: Using media format?
                              hans-g. Adobe Community Professional & MVP



                              delighted with your success! And ... the poorlostsoul might now become a very happy soul?