I wan't to show movies, which basically works on Explorer, Netscape and Mozila... However, when I create a php function that shows the movie, then things go wrong...
I have spend the entire afternoon on it and I realy don't understand what's happening...
When I call this function (ShowMediaPlayer.php) like this:
<a href="ShowMediaPlayerv.php?video=videos/holidaymovie.wmv">Mediaplayer test</a>
The movie is correctly displayed on explorer, but the movie isn't even loaded on the other two browsers. When I ask for the movie properties in Mozilla I get this for the file location:
http://www.myweb.com/myweb/portal/ShowMedi...olidaymovie.wmv
you see what I mean ...its not the path to the movie...its the call to the mediaplayer function with the parameter...(ShowMediaPlayerv.php?video=videos/videos/holidaymovie.wmv)
When I open the same page in explorer it works fine and when I look at the file location properties from mediaplayer it says: http://www.myweb.com/myweb/portal/videos/holidaymovie.wmv
When I look at the html source code in the browser, explorer resolves the full url http://www.myweb.com/myweb/portal/videos/holidaymovie.wmv to the image while mozila/netscaoe only shows src=videos/holidaymovie.wmv
I don't understand this, and what to do about it?
PS: It's not in the <embed> or <object> tags, because when I use them directly in html, with a patf/video defined as a constant it works on all browsers.