[Pro] HTML5 Video and Safari problem

I have uploaded a test site in a corporate environment. It uses Spawn New Window to bring up the html5 video.

The videos are m4v, H.264 – encoded in Handbrake and web-optimised. With the alternative ogv versions. All the files are in the media folder for the website.

I use a Macbook Pro to create and upload the site in the corporate environment. The videos play fine in the site. They play fine in both Firefox and Safari (latest versions). I take the Macbook home and open the site via broadband and the videos play fine in both browsers.

However – when I go upstairs to the desktop (latest OS version 10.7 and same with previous 10.6) the videos will not open in Safari, even though they will in Firefox. The triggers are gif animations which then bring up a page with the html5 video. In Safari the page opens with the video box controls on the bottom showing the word ‘Loading …’. But they don’t load. This is also the case with another macbook at home - even though they play on the Macbook I use in the corporate office.

I went into the Apple shop yesterday and tried loading the site on iPad. Everything payed fine. However, again, when I tried it on a desktop machine, Safari would not load the videos.

Can anyone help?

Thanks

G Tate


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I have uploaded a test site in a corporate environment. It uses Spawn New Window to bring up the html5 video.

The link cannot be shared?


André Rombauts
email@hidden
Belgium


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Its a test site not for public consumption yet.

Sorry.

G Tate


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Is the site available for anyone to see, or is it inside your
firewall? I may be able to help you diagnose this, but I would need to
see the source code of the popup window to be sure. My hunch is that
the link to the file is somehow bound to the version on your MacBook,
and the HTML works as long as the network can resolve a path to that
machine. But that’s just a hunch. The code knows.

Walter

On Jul 24, 2011, at 4:24 AM, G Tate wrote:

Can anyone help?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

View source on the popup window (in your browser where it works),
select all, copy, and go to Gist or Pastie and paste it. Share the
link to that. We can tell a whole lot from the source code.

Walter

On Jul 24, 2011, at 4:59 AM, G Tate wrote:

Its a test site not for public consumption yet.

Sorry.

G Tate


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter has had alook at the site - some feedback below which could be of interest to all. Thanks Walter.


'I did see some spaces in your filenames in one of the popup images – I didn’t look at all of them, so I’m not sure if that’s common or a single mistake.

You should avoid all use of spaces and punctuation in filenames, with the only excepting being the dot before the file-type extension. If you really want to, you can use the underscore to mark word boundaries.

Spaces are especially bad, because in a Unix command (which is precisely what every URL ends up being a part of) a space indicates the end of a variable and the beginning of the next variable. Since the entire URL is a single variable being passed to a program, you really want it to be unambiguously a single variable.’

GT


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Just to emphasize this a little bit more. When I say filename, I
really mean file PATH, which encompasses all the folder names as well
as the name of the file. So if you look at your server or your local
site folder, you should never see any names of anything that include
spaces.

Walter

On Jul 24, 2011, at 12:13 PM, G Tate wrote:

You should avoid all use of spaces and punctuation in filenames,
with the only excepting being the dot before the file-type
extension. If you really want to, you can use the underscore to mark
word boundaries.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options