Page 1 of 1

Turning controls off with html5

Posted: 29 Dec 2015 23:14
by jeffid357
I need to be able to disable the controls while streaming video using HTML5.
controls="false" does not work.

I am using the following code on an HTML5 .aspx page.


<embed type="application/x-vlc-plugin" src="http://123.13.123.123:8881" width="200"
height="160"
id="vlc" />

Re: Turning controls off with html5

Posted: 12 Jan 2016 22:17
by da2424
Have you the latest version of VLC?
controls="false" was not available in the ActiveX plugin (Internet Explorer) until v2.2.0
Also you could use toolbar="false" instead.

Re: Turning controls off with html5

Posted: 12 Jan 2016 22:55
by jeffid357
The issue is that on an HTML5 page the attribute "controls" and "toolbar", are not valid for the element, embed, so the browser ignores them.

Looking for another method of using VLC besides embed that will allow the controls to be off.

Re: Turning controls off with html5

Posted: 12 Jan 2016 23:11
by da2424
Can't reproduce it with HTML4 and HTML5 (Tested with IE11 and Firefox 43). The plugins shouldn't have a problem to parse the attributes, even if the browser does not recognize these attributes.