At the moment I'm figuring out, how to use GoogleChromePortable as local Browser for a CD-MP3-playback-system.
Why?
My goal is to provide a huge amount of lectures to an audience, which may listen to them either on PC (via my HTML-GUI), or on MP3-disc-players, regular DVD-sets, or (after copying the files) on MP3-players.
The MP3-format i choose because of its compatibility - so it is beyond discussion.
I decided to use Soundmanger2 (http://www.schillmania.com/projects/soundmanager2/ and http://www.schillmania.com/projects/soundmanager2/demo/page-player/basic...) because of its playlist-functionality completely without the use of Flash.
As i figured out, IronPortable acceps relative paths (for use with autorun.inf) and claims to play MP3s via pure Html5 but does it not fully (see http://jplayer.org/HTML5.Audio.Support/ ; the issue seems to be the different behavior on the canPlayType() method).
So i tested ChomePortable, which perfectly suites my needs of pure Html5-playback of MP3-files (without Flash-fallback).
But there is no way to persuade ChromePortable to accept relative paths.
Do You remember? Start via autorun.inf.
RunLocally=true is in the GoogleChromePortable.ini.
But LocalHomepage=index.html is missing.
Comparing the sources showed me the total absence of something like
StrCmp "$LOCALHOMEPAGE" "" FixPrefsJsClose
FileWrite $0 `user_pref("browser.startup.homepage", "file:///$EXEDIR/$LOCALHOMEPAGE")
as in FirefoxPortableU.nsi.
So, finally, why i am against Flash?
Flash's trusted-locations-policy makes it impossible to play MP3s from local locations like CDs without adding files to the clients PC (http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204...) or explicit user action (manually adding path to trusted locations).
Thanks in advance.
When playing around with Google Chrome 21 Stable i found a way to pass the desired pathnames for CD-HTML-GUI-use:
The pathnames have to be relative not to "GoogleChromePortable.exe" in the CD-Root but to something (may be "\App\Chrome-bin\21.0.1180.60\chrome_launcher.exe") 3 levels down.
My GoogleChromePortable.ini now contains:
This works fine for me.