Learning center videos don't play
Trevor DeVore
lists at mangomultimedia.com
Fri Oct 21 15:23:54 EDT 2005
On Oct 21, 2005, at 11:55 AM, J. Landman Gay wrote:
> Thanks Trevor. But he only installed QT to see if that helped. As I
> understand it, the videos should have played via WMP to begin with.
> I forgot to mention that he tried installing on a different Windows
> machine as well, with the same non-results. Since Rev installs the
> codec according to platform, I suspected that codecs aren't the
> problem, but of course, I'd love to be wrong. Or maybe I'm
> misunderstanding something.
>
> Apparently clicking the Play button in the learning center does
> nothing. Any other ideas?
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.
--
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com
More information about the use-livecode
mailing list