jacque wrote:According to the LC page you linked to, you'll need an html file that includes video tags:
Unlike the previous non-CEF browser, we no longer need a media player such as Quicktime installed in order to play many of the media types available to us. As long as the video/audio is in the appropriate tags within a web page, the content should play.
<video width=”320″ height=”240″ controls>
<source src=”movie.mp4″ type=”video/mp4″>
<source src=”movie.ogg” type=”video/ogg”>
Your browser does not support the video tag.
</video>
So it wouldn't work to just load the video URL, you need to construct an html file and load that. Also, you might have an extra slash at the front of the file URL, so check.
This HTML file opens and plays the video fine when dropped onto a browser, with the video in the same folder/directory:
<!DOCTYPE html>
<html>
<body>
<p><video width=”320″ height=”240″ controls>
<source src="TestVideo.mp4" type="video/mp4">
<source src=”movie.ogg” type=”video/ogg”>
Your browser does not support the video tag. </video>
</p>
<p>
</p>
</body>
</html>
but when loading that same HTML file with LC with this script, only the player with a broken link shows in LC:
put revBrowserOpenCef(the windowId of this stack, "file:///Users/stevecollins/Desktop/Player/TestHTML5Video.html") into tBrowserID
revBrowserSet tBrowserID, "rect", the rect of graphic "browserPlaceholder"