⧼iframe⧽

Aller à : navigation, rechercher

This page gives you an overview about the parameters of the global variable $wgIframe which can be set at in the LocalSettings.php file of the wiki:

Parameter Value(s) Remark
delay 4 Determines when and how fast iframes are loaded (in ms)
width 800 Determines the default width of an iframe (in pixel)
height 600 Determines the default height of an iframe (in pixel)
category Determines if and which category page is used by the extension
server local: {"scheme":"http","domain":"localhost"}
locals: {"scheme":"https","domain":"localhost"}
shiny: {"scheme":"http","domain":"localhost:3838"}
shinys: {"scheme":"https","domain":"localhost:3838"}
rstudio: {"scheme":"http","domain":"shiny.rstudio.com"}
shinyapps: {"scheme":"http","domain":"shinyapps.io"}
mars: {"scheme":"http","domain":"mars.wiwi.hu-berlin.de"}
wiwi: {"scheme":"https","domain":"shinyapps.wiwi.hu-berlin.de"}
hubox: {"scheme":"https","domain":"box.hu-berlin.de"}
sc_cover: {"scheme":"https","domain":"w.soundcloud.com","url2id":"\/player\/?url=https:\/\/api.soundcloud.com\/tracks\/","urlparams":"&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true","args":"style=\"border:none;overflow:hidden\" scrolling=\"no\" allow=\"autoplay\" allowFullScreen=\"true\"","height":"198","width":"300"}
sc_timeline: {"scheme":"https","domain":"w.soundcloud.com","url2id":"\/player\/?url=https:\/\/api.soundcloud.com\/tracks\/","urlparams":"&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true","args":"style=\"border:none;overflow:hidden\" scrolling=\"no\" allow=\"autoplay\" allowFullScreen=\"true\"","height":"120","width":"540"}
yt_small: {"scheme":"https","domain":"www.youtube.com","url2id":"\/embed\/","urlparams":"?rel=0&controls=2&showinfo=0","args":"style=\"border:none;overflow:hidden\" scrolling=\"no\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowFullScreen=\"true\"","height":"198","width":"352"}
yt_medium: {"scheme":"https","domain":"www.youtube.com","url2id":"\/embed\/","urlparams":"?rel=0&controls=2&showinfo=0","args":"style=\"border:none;overflow:hidden\" scrolling=\"no\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowFullScreen=\"true\"","height":"333","width":"592"}
yt_large: {"scheme":"https","domain":"www.youtube.com","url2id":"\/embed\/","urlparams":"?rel=0&controls=1&showinfo=0","args":"style=\"border:none;overflow:hidden; \"scrolling=\"no\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowFullScreen=\"true\"","size":"qHD"}
yt_hd: {"scheme":"https","domain":"www.youtube.com","url2id":"\/embed\/","urlparams":"?rel=0&controls=2&showinfo=0","args":"style=\"border:none;overflow:hidden\" scrolling=\"no\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowFullScreen=\"true\"","size":"HD"}
yt_fhd: {"scheme":"https","domain":"www.youtube.com","url2id":"\/embed\/","urlparams":"?rel=0&controls=2&showinfo=0","args":"style=\"border:none;overflow:hidden\" scrolling=\"no\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowFullScreen=\"true\"","size":"FHD"}
fb_small_bt: {"scheme":"https","domain":"www.facebook.com","url2id":"\/plugins\/video.php?href=https:\/\/www.facebook.com\/","urlparams":"&show_text=0","args":"style=\"border:none;overflow:hidden\" scrolling=\"no\" allowTransparency=\"true\" allowFullScreen=\"true\"","height":"198","width":"352"}
fb_medium_bt: {"scheme":"https","domain":"www.facebook.com","url2id":"\/plugins\/video.php?href=https:\/\/www.facebook.com\/","urlparams":"&show_text=0","args":"style=\"border:none;overflow:hidden\" scrolling=\"no\" allowTransparency=\"true\" allowFullScreen=\"true\"","height":"333","width":"592"}
fb_large_bt: {"scheme":"https","domain":"www.facebook.com","url2id":"\/plugins\/video.php?href=https:\/\/www.facebook.com\/","urlparams":"&show_text=0","args":"style=\"border:none;overflow:hidden\" scrolling=\"no\" allowTransparency=\"true\" allowFullScreen=\"true\"","size":"qHD"}
fb_hd_bt: {"scheme":"https","domain":"www.facebook.com","url2id":"\/plugins\/video.php?href=https:\/\/www.facebook.com\/","urlparams":"&show_text=0","args":"style=\"border:none;overflow:hidden\" scrolling=\"no\" allowTransparency=\"true\" allowFullScreen=\"true\"","size":"HD"}
fb_fhd_bt: {"scheme":"https","domain":"www.facebook.com","url2id":"\/plugins\/video.php?href=https:\/\/www.facebook.com\/","urlparams":"&show_text=0","args":"style=\"border:none;overflow:hidden\" scrolling=\"no\" allowTransparency=\"true\" allowFullScreen=\"true\"","size":"FHD"}
Determines which servers can be used.
A URL is composed by key-scheme://level.key-domain/path
size QQVGA: [160,120]
HQVGA: [240,160]
QVGA: [320,240]
WQVGA: [400,240]
HVGA: [480,320]
nHD: [640,360]
WVGA_1: [640,360]
WVGA_2: [640,384]
SD: [640,480]
VGA: [640,480]
WVGA_3: [720,480]
WGA: [768,480]
WVGA: [768,480]
WVGA_5: [768,480]
WVGA_4: [800,450]
WVGA_6: [800,480]
SVGA: [800,600]
WVGA_7: [848,480]
FWVGA: [854,480]
DVGA: [960,480]
qHD: [960,540]
WSVGA_5: [1024,576]
WSVGA: [1024,600]
WSVGA_6: [1024,600]
XGA: [1024,768]
WXGA_1: [1152,768]
XGA+_1: [1152,832]
XGA+: [1152,864]
XGA+_2: [1152,864]
XGA+_3: [1152,870]
XGA+_4: [1152,900]
HD: [1280,720]
WXGA_2: [1280,720]
WXGA_3: [1280,768]
WXGA_4: [1280,800]
SXGA: [1280,1024]
WXGA_5: [1344,768]
WXGA_6: [1360,768]
WXGA: [1366,768]
WXGA_7: [1366,768]
SXGA+: [1400,1050]
WSXGA: [1440,900]
WXGA+: [1440,900]
HD+: [1600,900]
UXGA: [1600,1200]
WSXGA+: [1680,1050]
FHD: [1920,1080]
WUXGA: [1920,1200]
DCI2K: [2048,1080]
QWXGA: [2048,1152]
QXGA: [2048,1536]
FHD+: [2160,1440]
1440p: [2560,1440]
WQHD: [2560,1440]
WQXGA: [2560,1600]
QSXGA: [2560,2048]
QHD+: [3200,1800]
WQXGA+: [3200,1800]
WQSXGA: [3200,2048]
QUXGA: [3200,2400]
UWQHD: [3440,1440]
UW4K: [3840,1600]
4KUHD: [3840,2160]
UHDTV-1: [3840,2160]
WQUXGA: [3840,2400]
HXGA: [4093,3072]
Cinema4K: [4096,2160]
DCI4K: [4096,2160]
UW5K: [5120,2160]
5K: [5120,2880]
UHD+: [5120,2880]
WHXGA: [5120,3200]
HSXGA: [5120,4096]
HUXGA: [6400,4800]
8KUHD: [7680,4320]
UHDTV-2: [7680,4320]
WHUXGA: [7680,4800]
10KUHD: [10240,4320]
Predefined sizes (in pixel) for iframes
Note: Names are case-sensitive!
allowfullscreen Allow content to be displayed in fullscreen mode