html - how to remove controls from embedded video? -
is impossible remove ui controls embedded video?
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_objectmplayer
<param showcontrols="false"> <param uimode="invisible">
...showcontrols="false"...
does not hide controls - contrary natural english meaning of "show controls"
edit: --the following works & cross-browser (until ie10)...
edit2: --but following seems cause never-ending-sendresponse-status worker processes (see https://stackoverflow.com/questions/16790199/iis7-5-wmv-requests-cause-many-workerprocesses-in-never-ending-sendresponse-stat)
<!--[if ie]> <object id="mediaplayer" style="height:100%" classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" standby="loading windows media player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#version=6,4,7,1112"> <param name="filename" value="3d.wmv" /> <param name="showcontrols" value="false" /> <param name="autostart" value="true" /> <param name="wmode" value="transparent" /> </object> <![endif]--> <!--[if !ie]><!--> <object id="mediaplayer" type="application/x-ms-wmp" data="3d.wmv" width="100%" height="80%"> <param name="src" value="3d.wmv" valuetype="ref" type="3d.wmv"> <param name="autostart" value="1"> <param name="showcontrols" value="0"> <param name="showcontrols" value="false" /> <param name="autostart" value="true" /> <param name="wmode" value="transparent" /> <param name="showdisplay" value="0"> <param name="showstatusbar" value="0"> <param name="playcount" value="10"> <param name="autorewind" value="1"> <param name="displaysize" value="0"> <param name="stretchtofit" value="1"> <param name="enablecontextmenu" value="0"> <param name="uimode" value="none"> <embed type="application/x-mplayer2" src="3d.wmv" width="100%" height="100%" autostart="true" pluginspage="http://www.microsoft.com/windows/mediaplayer/"></embed> </object> <!--<![endif]-->
taking w3schools example code -
<!doctype html> <html> <body> <object width="100%" height="100%" type="video/x-ms-asf" url="3d.wmv" data="3d.wmv" classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6"> <param name="url" value="3d.wmv"> <param name="filename" value="3d.wmv"> <param name="autostart" value="1"> <param name="uimode" value="full"> <param name="autosize" value="1"> <param name="playcount" value="1"> <embed type="application/x-mplayer2" src="3d.wmv" width="100%" height="100%" autostart="true" showcontrols="true" pluginspage="http://www.microsoft.com/windows/mediaplayer/"></embed> </object> </body> </html>
change
<embed... showcontrols="true"...
to
<embed... showcontrols="false"...