www.webdeveloper.com
Results 1 to 3 of 3

Thread: How do I play an MP4 with a Flash file?

  1. #1
    Join Date
    May 2009
    Location
    Rochester, NY
    Posts
    372

    How do I play an MP4 with a Flash file?

    I need to use a Flash file to play an MP4. I know how to set that up in Flash (simply import video), but how would I make it so the video is interchangeable with others? For example, if I have a library of videos, how do I have the Flash player select one at random?

    Thanks,
    Multi

  2. #2
    Join Date
    Mar 2007
    Location
    USA
    Posts
    449
    What do you use to load flash onto your page? swfobject is used by a ton of people and it will let you include a variable, say the url of the mp4 for instance, and send it through to the swf. You can grab this variable value inside the flash application and then set the video player's source to the value of this variable.
    infinityspiral.com

  3. #3
    Join Date
    Dec 2005
    Posts
    2,984
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...
    awesome.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles