I'm at wits end with this. I'm doing a contract with a client that uses ASP and am pretty unfamiliar with it. I'm using something called jPlayer for the video functionality. jPlayer will use HTML5 video if it can, and if not it falls back to a Flash plugin. When you setup the player object, you point it to the directory where the Flash player resides.
My problem, after many hours of running around in circles, is that I can't seem to get this path to work when the page is saved as ".aspx" and has the ASPnet features. When I save it as ".html" it works flawlessly. Has anyone ever ran into this issue before? Here's the code that initiates jPlayer:
$(this).siblings('.jPlayer').jPlayer({
swfPath: "scripts/jQuery.jPlayer.2.2.0/",
solution: 'flash, html',
supplied: 'm4v',
cssSelectorAncestor: "#j_controls_"+cur_ctrl,
ready: function () {
$(this).jPlayer("setMedia", {
m4v: file
});
$(this).jPlayer("play");
},
wmode: "opaque"
})