Alex Rivera | Logout

Offline (CD, Thumb Drive, etc) No-Install HTML + Video Presentation?

Asked 2010-12-13T18:58:42.200
10

Our company would like to put some marketing/training content onto USB thumb drives to distribute to our clients.

The content is HTML + some embedded videos. The videos (currently .flv's) are not interactive or anything like that, though they are important to the content. The tricky bit is that the HTML contains Javascript that needs to run when the video is finished.

Our first thought was to use a Flash video wrapper solution like Jwplayer. This works fine when the files are hosted on a web server. However, due to Flash's security policies, local (e.g. "file://foo.js") Javascript code cannot receive callbacks from Flash objects. Additionally, Internet Explorer users get nasty security warnings (as they darn well should!) when local web files contain ActiveX objects like Flash.

Ideas?

Ideally, we'd like to be as cross-browser and as cross-platform as possible without requiring users to install anything. But we can't guarantee they ll be able or willing to screw around with security settings and we can't guarantee they'll have an HTML5-video capable browser, either.

Seems like the default industry way to do this is to simply package things up into standalone Flash Player executable. Was wondering if it could be done otherwise, preferably with web standards.

Titanium Appcelerator Desktop would be close to perfect, though the desktop version doesn't support video!

Edit
Report

2 Answers

1

Look into Microsoft HTA's - HTML Applications. They were specifically designed with your purpose in mind and can even be setup as the auto-run target on media insertion. You don't need to change your markup or html structure - just add the <HTA:Application> tag to any html file, rename to .hta and then you can reference the file path like you have it file:///xxx and it will use the logged in user's permissions to access the filesystem without warning.

If you need cross-platform compatibility then I recommend looking into Adobe AIR - similar concept but a bit more markup to get it running.

References:

HTA's

http://msdn.microsoft.com/en-us/library/ms536496(v=vs.85).aspx http://en.wikipedia.org/wiki/HTML_Application

Adobe AIR

http://www.adobe.com/products/air/

answered 2010-12-13T22:05:59.240
0

If this is just marketing/training content, why don't you embed it in a PowerPoint file where you can still have video?

answered 2010-12-14T05:13:12.453

Your Answer