pluginspage property (embed)
Sets or retrieves the URL for installing a plug-in. If an embedded plug-in is not accessible on the client site, the URL can be used by the browser to download and install the required component.
The embed tag is a non-standard tag in HTML but supported by all commonly used browsers.
Syntax:
You can find the related objects in the Supported by objects section below.
This property is read/write.
HTML page for this property: pluginsPage |
Possible values:
String that sets or retrieves the URL of the plugin. It can be an absolute or relative path as well. Relative paths are relative to the base URL. The base URL is the location of the current document, but it can be overridden by the base tag.
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the pluginspage attribute:
|
||||
<embed id="myEmbed" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" style="width:300px; height:200px;" src="flash.swf" /> |
||||
|
||||
Did you find this example helpful?
|
Example HTML code 2:
This example illustrates the use of the pluginspage property:
|
||||
<head> <script type="text/javascript"> function GetPluginsPage () { var embed = document.getElementById ("myEmbed"); if ('pluginspage' in embed) { alert (embed.pluginspage); } else { alert ("Your browser doesn't support this example!"); } } </script> </head> <body> <embed type="application/x-shockwave-flash" id="myEmbed" pluginspage="http://www.macromedia.com/go/getflashplayer" style="width:300px; height:200px;" src="flash.swf" /> <br /> <button onclick="GetPluginsPage ();">Get pluginspage!</button> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by objects:
HTML elements:
Related pages:
External links:
User Contributed Comments