mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
parent
ed163a0902
commit
e87a82b350
1 changed files with 5 additions and 1 deletions
|
@ -200,7 +200,11 @@ if ($removeAnimation || !empty($advancedCustom->disableAnimations)) {
|
|||
<script>
|
||||
function shareCarouselShorts() {
|
||||
$('.ShortsPlayerOverlay').hide();
|
||||
if (iframe && iframe[0] && iframe[0].contentWindow) {
|
||||
iframe[0].contentWindow.postMessage('togglePlayerSocial', '*');
|
||||
} else {
|
||||
console.warn('iframe not available for postMessage');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<?php
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue