Skip to main content
Participant
December 29, 2016
Question

Embedding SWF in web page with linked MP4 files

  • December 29, 2016
  • 1 reply
  • 319 views

I'm having some difficulties embedding a swf in my webpage. I've embedded a few successfully, but the one I am having trouble with has linked MP4s.

Within my site the swf is stored in the same folder as the 8 linked video files. The format is mixed flash game/video. The swf displays fine initially, but the button that launches my first video never seems to call that mp4.

Years ago I found a solution but it seems to no longer work and I'm out of practice. Any recommendations?   Thank you.

This topic has been closed for replies.

1 reply

Participant
December 30, 2016

Are you talking about something like on this website [link removed]

Participant
December 30, 2016

This looks like an embedded YouTube video -unless I am missing something? What I am working on is a flash game (swf file) that is linked to video clips in an MP4 format.

jeromiec83223024
Inspiring
January 6, 2017

If the content is loading the videos from a path relative to the SWF, then it should work in theory.  You could confirm that by disassembling the SWF if you don't have source.

A couple things might help:

- Install a content debugger variant of Flash Player to see if any useful error messages are displayed (the release Flash Player suppresses content error dialogs)

- Look in your browser's developer tools to see if the videos are getting loaded, or if there's just something simple like an underlying network issue (missing mime-type, etc) that's causing the requests for the videos to not be fulfilled correctly

- If the requests for the videos aren't getting made at all, then something a little more nuanced is going on, but in those cases, my guess is that the SWF is hard-coded to load those videos from a specific host and path that isn't the domain where you're hosting the SWF.  Again, a SWF disassembler (I'm a fan of SWFWire Investigator) should make that pretty plain.