If your site does not support HTTPS, you can use Baidu cloud acceleration or other services of the same type, open HTTPS
Title |
Content |
Type |
General |
Support layout |
Responsive, fixed-height, fixed |
The required script |
No |
Sample
Basic Use
<mip-iframe
allowFullScreen
Srcdoc= "<p>123</p>"
Src= "Http://m.baidu.com"
Sandbox= ""
allowFullScreen
Width= "400"
height= "300"
Allowtransparency= "true" >
</mip-iframe>
Add layout (Fixed-height for example)
<mip-iframe
layout= "Fixed-height"
Height= "50"
allowFullScreen
Srcdoc= "<p>123</p>"
Src= "Http://m.baidu.com"
Sandbox= ""
allowFullScreen
Width= "400"
height= "300"
Allowtransparency= "true" >
</mip-iframe>
Property
src
Description: The src attribute of the original IFRAME is consistent
Required option: Yes
Type: URL
Unit: None
Value: HTTPS address must be used
Default value: None
width
Note: The ratio of height to altitude is mip-iframe to calculate the scale and size of the area.
Required option: Yes
Type: Digital
Unit: None
Default value: None
Height
Description: The ratio to width is mip-iframe to calculate the scale and size of the area.
Required option: Yes
Type: Digital
Unit: None
Default value: None
allowFullScreen
Description: Consistent with the allowfullscreen properties of native iframe
Required option: No
Take value: null
Default value: None
Srcdoc
Description: Consistent with the srcdoc properties of native iframe
Required option: No
Type: Html_code
Unit: None
Value: The HTML content to display in the IFRAME. Must be valid HTML syntax.
Default value: None
Sandbox
Description: Consistent with the sandbox properties of native IFRAME
Required option: No
Type: string
Unit: None
Take value: "", Allow-same-origin,allow-top-navigation,allow-forms,allow-script
Default value: None
allowtransparency
Description: Consistent with the allowtransparency properties of native iframe
Required option: No
Type: string
Unit: None
Take value: "", True,false
Default value: None