Learning center videos don't play
J. Landman Gay
jacque at hyperactivesw.com
Fri Oct 21 16:05:33 EDT 2005
Trevor DeVore wrote:
> Okay, I didn't realize that on Windows it tries to use Windows Media
> Player. Looking at the code for the online viewer I would check that
> path where Windows Media Player is installed. The path is hard coded
> in the online viewer:
>
> ============
> case "Win32"
> put false into sgSystemPlayer
> if there is a file "C:/Program Files/Windows Media Player/
> wmplayer.exe" then
> put "C:/Program Files/Windows Media Player/wmplayer.exe
> [[quote]][[sgVideoFilename]][[quote]]" into sgPlayerCommand
> else if there is a file "C:/Program Files/Windows Media Player/
> mplayer2.exe" then
> put "C:/Program Files/Windows Media Player/mplayer2.exe
> [[quote]][[sgVideoFilename]][[quote]]" into sgPlayerCommand
> end if
> set the visible of control "Play" of me to true
> break
> ============
>
> I assume that if the Media Player isn't located at "C:/Program Files/
> Windows Media Player/wmplayer.exe" or "C:/Program Files/Windows Media
> Player/mplayer2.exe" then the launch command further on down would fail.
>
Good sleuthing. Let's see what he says. If that's the problem, then
Rev's scripts should probably be revised to account for a missing
executable.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list