Results 1 to 2 of 2

Thread: Background image for Flash Movie

  1. #1
    Join Date
    Oct 2012
    Location
    England
    Posts
    103
    Thanks
    28
    Thanked 2 Times in 1 Post

    Default Background image for Flash Movie

    Hi, this may seem like a very simple problem but it's one that's eluded me so far.

    I have a 5 minute movie of children pretending to be Area 51 type scientists and I've uploaded it using a code I was kindly shown by someone (sorry forgot who) on DD.

    Code:
     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    
    <body>
    
    <!-- first try HTML5 playback: if serving as XML, expand `controls` to `controls="controls"` and autoplay likewise -->
    <!-- warning: playback does not work on iOS3 if you include the poster attribute! fixed in iOS4.0 -->
    <center><video width="720" height="544" controls>
    	<!-- MP4 must be first for iPad! -->
    	<source src="video1.mp4" type="video/mp4" /><!-- Safari / iOS video    -->
    	<source src="video1.ogv" type="video/ogg" /><!-- Firefox / Opera / Chrome10 -->
    	<!-- fallback to Flash: -->
    	<object width="720" height="544" type="application/x-shockwave-flash" data="film.swf">
    		<!-- Firefox uses the `data` attribute above, IE/Safari uses the param below -->
    		<param name="movie" value="film.swf" />
    		<param name="flashvars" value="controlbar=over&amp;image=video1.jpg&amp;file=video1.mp4" />
    		<!-- fallback image. note the title field below, put the title of the video there -->
    		<img src="video1.jpg" width="640" height="360" alt="__TITLE__"
    		     title="No video playback capabilities, please download the video below" />
    	</object>
    </video></center>
    
    
    </body>
    </html>

    Link... http://www.bigwood.nottingham.sch.uk...ideo/film.html

    I know it says <img src="video1.jpg" etc... but when I open it the page is white for about 5 seconds or so and then the movie appears.

    I need a background image that you have on instead of the white space. Does this make any sense? I'm using Internet Explorer at work.

    Thanks,


    Jay Dog

  2. #2
    Join Date
    Oct 2012
    Location
    England
    Posts
    103
    Thanks
    28
    Thanked 2 Times in 1 Post

    Default

    Doh! Just found out all you need to do is put another Layer in Flash, call it background, import a suitable image and put that 'behind' all the other layers and hey presto!

Similar Threads

  1. Image>flash until movie starts
    By nycguurl in forum JavaScript
    Replies: 0
    Last Post: 10-08-2009, 06:16 AM
  2. Resolved Flash movie should be in background
    By shivu in forum Flash
    Replies: 9
    Last Post: 04-06-2009, 08:07 PM
  3. Replies: 3
    Last Post: 02-08-2009, 01:15 AM
  4. Replies: 2
    Last Post: 07-03-2008, 06:37 PM
  5. how to insert an image as the flash background
    By janicefernandes in forum Flash
    Replies: 2
    Last Post: 06-09-2007, 12:50 PM

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
  •