C
chucklyons
Guest
File Submitter: chucklyons
File Submitted: 24 Sep 2011
File Updated: 13 Nov 2011
File Category: Premise
Author: chucklyons
Contact: chucklyons
Version: 1.3
New version of MiniBrowser MediaShortcutEx. Swapped out the Yahoo player for Sound Manager2. Uses HTML5 with Flash fallback. Tested on FF, IE, Chrome, WP7, Iphone4.(I don't have any Android devices; if someone could and give me feedback...) Haven't tried it on Safari. Currently supports MP3, M4a, wmv audio files.
MediaShortcutEx provides direct access to media from the minibrowser home page, bypassing the need to play media from a zone, thereby allowing local playback from browser based devices (pc, tablet, phone).
Video coming in next release. (works fine in my test enviironment).
Installation.
Unzip file. Move SM2 Directory DIRECTLY under Premise/SYS/Web. Import .xdo. (it adds the module and the 'validclass'). Will be found under Modules->Minibrowser->Classes->MediaShortCutEx. Add the following to the head section in Modules->Minibrowser->Globalscripts->MiniBrowserFunctions.
Code:
'add soundmanager
sHTML = sHTML & ("<link rel=""stylesheet"" type=""text/css"" href=""/sm2/flashblock.css""/>")
sHTML = sHTML & ("<link rel=""stylesheet"" type=""text/css"" href=""/sm2/inlineplayer.css""/>")
sHTML = sHTML & ("<script src=""/sm2/soundmanager2-nodebug-jsmin.js""></script>")
sHTML = sHTML & ("<script type=""text/javascript"" src=""/sm2/inlineplayer.js""></script>")
Add a MediaShortcut under 'Home'.
Done.
Usual Caveats. Let me know if you have issues.
Click here to download this file