Q:

Embedding a Video on an ASP.NET MVC Website

I have created a SWF file using Flash that loads an FLV file on my local development machine.  When publishing the SWF file and generating the appropriate HTML, I can successfully load the video by opening the generated HTML page that Flash creates.  However, when placing the generated HTML code in my View, the Flash is loading, but the video is not playing.  I think it's a reference error to the location of the FLV file, but I've tried every combination I can think of.  I placed the SWF and FLV in the corresponding View folder where I want the video to load, but to no avail.  Does anyone have a working example that I can look at, or any suggestions?  Thanks.

A:

I think it's a reference error to the location of the FLV file, but I've tried every combination I can think of.

Yes, I think so as well. Have you tried using Url helpers to reference static resources on your site, like
@Url.Content("~/Content/Videos/MySupervideo.flv")

