forked from leftypol/leftypol
config.php: adjust youtube shorts sizes
This commit is contained in:
parent
da7266d5e1
commit
856d124c88
1 changed files with 1 additions and 1 deletions
|
@ -1197,7 +1197,7 @@
|
|||
$config['embedding'] = array(
|
||||
[
|
||||
'/^https?:\/\/(\w+\.)?youtube\.com\/shorts\/([a-zA-Z0-9\-_]{10,11})$/i',
|
||||
'<iframe style="float: left; padding: 0.6em 1em 0.2em 0.2em;" width="248" height="440" frameborder="0" id="ytplayer" src="https://www.youtube.com/embed/$2"></iframe>'
|
||||
'<iframe style="float: left; padding: 0.6em 1em 0.2em 0.2em;" width="240" height="426" frameborder="0" id="ytplayer" src="https://www.youtube.com/embed/$2"></iframe>'
|
||||
],
|
||||
array(
|
||||
'/^https?:\/\/(\w+\.)?youtube\.com\/watch\?v=([a-zA-Z0-9\-_]{10,11})(&.+)?$/i',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue