Fullscreen on a Mac - Safari or Firefox
Posted: 04 Aug 2006 23:10
Hi All,
Using the demo code below, I was able to successfully embed a stream. All of the control links (Play, Pause, Stop, Full Screen) work under Windows, but Full Screen does not work on my Mac, using either Firefox or Safari. Has anyone had luck getting full screen from any browser on a Mac? Does the javascript need to be different?
Many thanks.
-------------------------------------------------------------
<html>
<head><title>Demo of VLC mozilla plugin</title></head>
<body>
<h1>Demo of VLC mozilla plugin - Example 1</h1>
<embed type="application/x-vlc-plugin"
name="video1"
autoplay="no" loop="yes" width="400" height="300"
target="udp://@xxx.xxx.xxx.xxx:yyyy" />
<br />
<a href="javascript:;" onclick='document.video1.play()'>Play video1</a>
<a href="javascript:;" onclick='document.video1.pause()'>Pause video1</a>
<a href="javascript:;" onclick='document.video1.stop()'>Stop video1</a>
<a href="javascript:;" onclick='document.video1.fullscreen()'>Fullscreen</a>
</body>
</html>
Using the demo code below, I was able to successfully embed a stream. All of the control links (Play, Pause, Stop, Full Screen) work under Windows, but Full Screen does not work on my Mac, using either Firefox or Safari. Has anyone had luck getting full screen from any browser on a Mac? Does the javascript need to be different?
Many thanks.
-------------------------------------------------------------
<html>
<head><title>Demo of VLC mozilla plugin</title></head>
<body>
<h1>Demo of VLC mozilla plugin - Example 1</h1>
<embed type="application/x-vlc-plugin"
name="video1"
autoplay="no" loop="yes" width="400" height="300"
target="udp://@xxx.xxx.xxx.xxx:yyyy" />
<br />
<a href="javascript:;" onclick='document.video1.play()'>Play video1</a>
<a href="javascript:;" onclick='document.video1.pause()'>Pause video1</a>
<a href="javascript:;" onclick='document.video1.stop()'>Stop video1</a>
<a href="javascript:;" onclick='document.video1.fullscreen()'>Fullscreen</a>
</body>
</html>