Turning controls off with html5

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
jeffid357
New Cone
New Cone
Posts: 2
Joined: 29 Dec 2015 22:59

Turning controls off with html5

Postby jeffid357 » 29 Dec 2015 23:14

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" />

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Turning controls off with html5

Postby da2424 » 12 Jan 2016 22:17

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.

jeffid357
New Cone
New Cone
Posts: 2
Joined: 29 Dec 2015 22:59

Re: Turning controls off with html5

Postby jeffid357 » 12 Jan 2016 22:55

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.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Turning controls off with html5

Postby da2424 » 12 Jan 2016 23:11

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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 33 guests