mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +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>
|
<script>
|
||||||
function shareCarouselShorts() {
|
function shareCarouselShorts() {
|
||||||
$('.ShortsPlayerOverlay').hide();
|
$('.ShortsPlayerOverlay').hide();
|
||||||
|
if (iframe && iframe[0] && iframe[0].contentWindow) {
|
||||||
iframe[0].contentWindow.postMessage('togglePlayerSocial', '*');
|
iframe[0].contentWindow.postMessage('togglePlayerSocial', '*');
|
||||||
|
} else {
|
||||||
|
console.warn('iframe not available for postMessage');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue