Forums

/

"Video not found or access denied" on Mac OS only

9 replies [Last post]

Hi,

I just built a presentation CD which is basically the offline version of a website full of videos. To play these videos (.MP4 files, also on the CD) I'm using JW Player v5.4 (no Viral plugin). The following code works fine on Windows but gives me a "video not found or access denied" error on Mac OS X.

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="640" height="384">
  <param name="movie" value="player.swf" />
  <param name="allowfullscreen" value="true" />
  <param name="allowscriptaccess" value="always" />
  <param name="flashvars" value="file=video.mp4&image=preview.jpg"/>
  <embed
    type="application/x-shockwave-flash"
    id="player2"
    name="player2"
    src="player.swf"
    width="640"
    height="384"
    allowscriptaccess="always"
    allowfullscreen="true"
    flashvars="file=video.mp4&image=preview.jpg"
  />
</object>

player.swf, preview.jpg and video.mp4 are all in the same folder. I already tried changing the paths above to ./player.swf, ./preview.jpg and ./video.mp4 but it didn't work either. I can see the preview frame, the player controls (fullscreen, volume, etc) work but when I press play I get a "Video not found or access denied: video.mp4" error message.

Any idea why it work on Windows and not on Mac OS? Any possible solutions?

Thanks!

Please ignore the " "s above. They are not present on my code. Here's the code after removing a few line breaks:

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="640" height="384">
  <param name="movie" value="player.swf" />
  <param name="allowfullscreen" value="true" />
  <param name="allowscriptaccess" value="always" />
  <param name="flashvars" value="file=video.mp4&image=preview.jpg"/>
  <embed type="application/x-shockwave-flash" id="player2" name="player2" src="player.swf" width="640" height="384" allowscriptaccess="always" allowfullscreen="true" flashvars="file=video.mp4&image=preview.jpg" />
</object>

I mean, ignore the "& # 10 ;" above. :)

Can you post a link?

Hi Ethan,

I'm sorry but I don't have this content online. As I said it's a presentation CD so JW Player, the HTML files and all MP4 videos are on this CD.

But the code I'm using is exactly the one I posted above and I'm 100% sure all files (player.swf, preview.jpg and video.mp4) are on the same folder as the HTML file. And since the CD works fine on Windows, the "video not found or access denied" seems to be a Mac specific issue.

Any idea why it's not working on Mac OS?

Thanks.

Can you put it on a test page? I really have no idea without seeing it. I can't guess, sorry.

I also have this issue.
I have done chmod 0777 and chown nobody:nogroup

Yet the file locations are correct/accessible via by other means (plays directly in browser).

I expect this is my ignorance if MAC OSX.
The same setup works ok under windows.

Using OSX 10.6.6 latest XAMPP, several development sites running locally no problem, just this stupid issue...

Any mac gurus out there?

Please provide a link.

Even I also have the same problem

The Url is
http://www.mark-weiss.com/Test/

This file is missing - http://www.mark-weiss.com/Test/test.flv

Make sure it exists there.