| r2782 vs r2783 | ||
|---|---|---|
| ... | ... | |
| 3253 | 3253 | |
| 3254 | 3254 | == 나무나무마크구상5 == |
| 3255 | 3255 | 동영상 매크로. |
| 3256 | {{{#!if this.input="[youtube(GrAchTdepsU, start=1, end= | |
| 3256 | {{{#!if this.input="[youtube(GrAchTdepsU, start=1, end=10000890890, width=640)][youtube(GrAchTdepsU, start=1, end=, width=640)]" | |
| 3257 | 3257 | }}} |
| 3258 | 3258 | |
| 3259 | 3259 | input=@input@ |
| 3260 | 3260 | {{{#!wiki style="display: none" |
| 3261 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=6 | |
| 3261 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 3262 | 3262 | ##)] |
| 3263 | 3263 | }}}{{{#!if this.MacroOpen!=-1 |
| 3264 | 3264 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") |
| 3265 | 3265 | }}}{{{#!if this.MacroClose!=-1 |
| 3266 | {{{#!if this.R | |
| 3267 | }}}{{{#!if this.Comma | |
| 3268 | {{{#!if this. | |
| 3266 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 3267 | }}} | |
| 3268 | ||
| 3269 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 3270 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 3271 | }}} | |
| 3272 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 3273 | {{{#!if this.Comma2 == 0 | |
| 3274 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 3275 | }}} | |
| 3269 | 3276 | }}} |
| 3277 | {{{#!if this.Comma2 != 0 | |
| 3278 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 3279 | }}} | |
| 3280 | }}} | |
| 3270 | 3281 | }}} |
| 3271 | ## {{{#!if this.in | |
| 3272 | ||
| 3282 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 3283 | }}} | |
| 3284 | ||
| 3285 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 3286 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 3287 | }}} | |
| 3288 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 3289 | {{{#!if this.Comma2 == 0 | |
| 3290 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 3291 | }}} | |
| 3292 | }}} | |
| 3293 | {{{#!if this.Comma2 != 0 | |
| 3294 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 3295 | }}} | |
| 3296 | }}} | |
| 3297 | }}} | |
| 3298 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 3299 | }}} | |
| 3300 | ||
| 3301 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 3302 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 3303 | }}} | |
| 3304 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 3305 | {{{#!if this.Comma2 == 0 | |
| 3306 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 3307 | }}} | |
| 3308 | }}} | |
| 3309 | {{{#!if this.Comma2 != 0 | |
| 3310 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 3311 | }}} | |
| 3312 | }}} | |
| 3313 | }}} | |
| 3314 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 3315 | }}} | |
| 3316 | ||
| 3317 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 3318 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 3319 | }}} | |
| 3320 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 3321 | {{{#!if this.Comma2 == 0 | |
| 3322 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 3323 | }}} | |
| 3324 | }}} | |
| 3325 | {{{#!if this.Comma2 != 0 | |
| 3326 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 3327 | }}} | |
| 3328 | }}} | |
| 3329 | }}} | |
| 3330 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 3331 | }}} | |
| 3332 | ||
| 3333 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroClose+2) | |
| 3334 | }}} | |
| 3273 | 3335 | }}} |
| 3274 | 3336 | }}} |
| 3337 | {{{#!if this.MacroOpen=this.input.indexOf("\[youtube\("), Ywidth=640, Yheight=360, Ystart='', Yend='' | |
| 3338 | ##)] | |
| 3339 | }}}{{{#!if this.MacroOpen!=-1 | |
| 3340 | {{{#!if this.MacroClose=this.input.substring(this.MacroOpen).indexOf(")]") | |
| 3341 | }}}{{{#!if this.MacroClose!=-1 | |
| 3342 | {{{#!if this.MacroRaw=this.input.substr(this.MacroOpen,this.MacroClose), this.link = this.MacroRaw.substring(9,20) | |
| 3343 | }}} | |
| 3344 | ||
| 3345 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 3346 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 3347 | }}} | |
| 3348 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 3349 | {{{#!if this.Comma2 == 0 | |
| 3350 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 3351 | }}} | |
| 3352 | }}} | |
| 3353 | {{{#!if this.Comma2 != 0 | |
| 3354 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 3355 | }}} | |
| 3356 | }}} | |
| 3357 | }}} | |
| 3358 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 3359 | }}} | |
| 3360 | ||
| 3361 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 3362 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 3363 | }}} | |
| 3364 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 3365 | {{{#!if this.Comma2 == 0 | |
| 3366 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 3367 | }}} | |
| 3368 | }}} | |
| 3369 | {{{#!if this.Comma2 != 0 | |
| 3370 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 3371 | }}} | |
| 3372 | }}} | |
| 3373 | }}} | |
| 3374 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 3375 | }}} | |
| 3376 | ||
| 3377 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 3378 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 3379 | }}} | |
| 3380 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 3381 | {{{#!if this.Comma2 == 0 | |
| 3382 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 3383 | }}} | |
| 3384 | }}} | |
| 3385 | {{{#!if this.Comma2 != 0 | |
| 3386 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 3387 | }}} | |
| 3388 | }}} | |
| 3389 | }}} | |
| 3390 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 3391 | }}} | |
| 3392 | ||
| 3393 | {{{#!if this.Comma1 = MacroRaw.indexOf(','), this.EqualSign = MacroRaw.indexOf('=') | |
| 3394 | }}}{{{#!if this.Comma2 = MacroRaw.substr(Comma1+1).indexOf(',')+1 | |
| 3395 | }}} | |
| 3396 | {{{#!if (this.Comma1 != -1) && (this.EqualSign != -1) | |
| 3397 | {{{#!if this.Comma2 == 0 | |
| 3398 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1).trim() | |
| 3399 | }}} | |
| 3400 | }}} | |
| 3401 | {{{#!if this.Comma2 != 0 | |
| 3402 | {{{#!if this['Y'+MacroRaw.substring(Comma1+1,EqualSign).trim()]=MacroRaw.substring(EqualSign+1,Comma1+Comma2).trim() | |
| 3403 | }}} | |
| 3404 | }}} | |
| 3405 | }}} | |
| 3406 | {{{#!if this.MacroRaw = this.MacroRaw.substr(Comma1+Comma2) | |
| 3407 | }}} | |
| 3408 | ||
| 3409 | {{{#!if this.input = this.input.substring(0,this.MacroOpen)+'<iframe width="'+this.Ywidth+'" height="'+this.Yheight+'" src="https://www.youtube.com/embed/' + this.link + '?start='+this.Ystart+'&end='+this.Yend+'" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>' + this.input.substring(this.MacroClose+2) | |
| 3410 | }}} | |
| 3411 | }}} | |
| 3275 | 3412 | }}} |
| 3413 | }}} | |
| 3276 | 3414 | |
| 3415 | ## {{{#!html <iframe width="640" height="360" src="https://www.youtube.com/embed/GrAchTdepsU?start=1&end=2" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>}}} | |
| 3277 | 3416 | |
| 3278 | ## {{{#!html <iframe width="640" height="360" src="https://www.youtube.com/embed/GrAchTdepsU?start=35&end=15" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>}}} | |
| 3279 | ||
| 3280 | 3417 | output: {{{#!html @input@}}} |
| 3281 | 3418 | == ㅁㄴㅇㄹ == |
| 3282 | 3419 | [include(a)]''''''[include(a)][include(a)] |
| ... | ... |