[vlc] Re: embed parameters
vinuprasad
vinuprasad at multitech.co.in
Thu Jun 16 10:57:53 CEST 2005
Thanx,
The height and width is changing now , but the video stills plays in the
orginal size given.
The new size changes shows up as a dark patch behind the plugin screen.
I tried this with mozilla browsers.
Could u please tell me how can play the video in the new increased size
table
VinuP
On Wed, 2005-06-15 at 20:36 +0200, Peter Maersk-Moller wrote:
> Hi Vinup
>
> vinu p wrote:
> > Hi All,
> > Has anyone tried changing the height and width of the
> > plugin image while playing at the client end.
> > I want something like to see the video in half screen
> > mode on clicking a button.
>
> Yep. Try do something like
>
> <table id="Video" height="576px" width="768px" cellspacing="0" cellpadding="0" style="visibility: visible;">
> <tr>
> <td width="100%" height="100%">
> <embed id="vlc_player" type="application/x-vlc-plugin"
> name="vlc_player"
> autoplay="yes"
> loop="no"
> width="100%"
> height="100%"
> target="rtsp://myserver/myclip">
> </embed>
> </td>
> </tr>
> </table>
>
> and then later in a javascript something like
>
> var x = document.getElementById('Video');
> x.setAttribute('height', 480);
> x.setAttribute('width', 640);
>
> Adjust for you own settings and wrap a function to call with parms.
>
> Works in Mozilla/Firefox - most of the time.
>
> Kind regards
>
> --PMM
>
> +----------------------------------------------------------+
> | Kabel-TV over Internettet -- http://www.streamtv.dk/ |
> +----------------------------------------------------------+
>
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list