need help with tables/video's

Discussion in 'Web Design and Development' started by puckhead193, Nov 26, 2007.

  1. puckhead193 macrumors G3

    puckhead193

    Joined:
    May 25, 2004
    Location:
    NY
    #1
    For my project i wanted to add videos to the site. I created a table so on the left would be the video and the right side would be the description. But when i add the video's they are cropped out. Also how do i get it to not auto-start and give the option of the controller so the viewer can play/stop each video.
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
  3. puckhead193 thread starter macrumors G3

    puckhead193

    Joined:
    May 25, 2004
    Location:
    NY
    #3
    still is cut off and still auto-starts
     
  4. puckhead193 thread starter macrumors G3

    puckhead193

    Joined:
    May 25, 2004
    Location:
    NY
    #4
    i fixed the cropping of the video's by giving the table a height and width higher then the resolution of the videos. But how do I get it not to auto start
     
  5. elppa macrumors 68040

    elppa

    Joined:
    Nov 26, 2003
    #5
    autoplay not auto start. auto start can't be an attribute anyway because it has a space in it.

    Also: Embed is for browsers which don't support the object tag..

    The proper way is apparently to use <object>.

    Just change the sizes and the filename from the code below:

    HTML:
    
    <object width="640" height="340" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
    
    		<param name="src" value="myMovie.mov">
    		<param name="autoplay" value="true">
    		<param name="controller" value="true">
    	
    	<embed src="myMovie.mov" width="640" height="340" autoplay="true" controller="true" pluginspage="http://www.apple.com/quicktime/download/">
    	</embed>
    </object>
    
    
     
  6. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
  7. puckhead193 thread starter macrumors G3

    puckhead193

    Joined:
    May 25, 2004
    Location:
    NY
    #7
    thanks that fixed it!
     
  8. SrWebDeveloper macrumors 68000

    SrWebDeveloper

    Joined:
    Dec 7, 2007
    Location:
    Alexandria, VA, USA
    #8
    May I make an informal suggestion?

    These days I'd convert the video to .FLV which means the Adobe Flash movie format. This is because 98% of the browsers out there support Flash and you can use a SUPER cool tools (see links below) to import/export and fully customize the size, controls, bandwidth usage and appearance of your video. They generate the HTML for you when done, you simply copy/paste, and it takes into account the 2% out there who don't have Flash installed and allows them to download the plugin.

    Flash video loads fast, less client side resources, efficient server side stream and all the popular sites i.e. YouTube use Flash Video in one form or another with those gorgeous controls and overlayed graphics in the player.

    Moyea PC: http://www.flash-video-mx.com/flv_to_video_web/ (freeware version is excellent, too)

    For Mac: http://www.eltima.com/products/flash-optimizer-mac/

    The controls you get are incredible:

    * Size, width, frame to start at, bitrate/sample rates both video and audio
    * thumbnail generation
    * snapshot of frame to embed in your web site to promote the video
    * skins for different controls (play, pause, etc.)
    * pre-load, stream and related options (reload, looping)
    * generate .SWF along with .FLV
    * batch process

    Most of these kinds of tools use all the codecs on your computer so they'll support any video you can view on your own computer for import. They also allow you to save settings so you can quickly add more videos that all use the same layout in your site, if desired, to save you time and keep your content unified in appearance.

    -jim
     

Share This Page