Arama Sonuçları
Tüm Sonuçları Gör
Home
Reels
Gruplar
Sayfalar
Market
Daha fazla gör
Gruplar
Sayfalar
Market
Events
Blogs
Funding
Offers
Jobs
ViewMe Bonuses
Katıl
Giriş yapın
Başvur
Day Mode
Site içinde arama yapın
Yazı
Blogs
Kullanıcılar
Sayfalar
Gruplar
Events
No data to show
Upgrade to Pro
Choose the Plan That's Right for You
Upgrade
// Custom JavaScript to mute all videos and reels on the Sngine site // This handles both native
tags and Plyr players // It also observes for dynamically loaded content (e.g., in the timeline feed) (function() { function muteAllVideos() { document.querySelectorAll('video').forEach(function(video) { if (video.muted) return; // Skip if already muted video.setAttribute('muted', 'muted'); // Set attribute for persistence video.muted = true; // Mute native video video.volume = 0; // Ensure volume is zero // If using Plyr player (as in Sngine) if (video.plyr) { video.plyr.muted = true; } // Optional: Enable autoplay if not already set (browsers allow muted autoplay) // Uncomment the lines below if you want to force autoplay on all videos // video.setAttribute('autoplay', ''); // video.autoplay = true; // video.setAttribute('playsinline', ''); // For mobile compatibility // if (video.plyr) { // video.plyr.autoplay = true; // } }); } // Run on initial load if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', muteAllVideos); } else { muteAllVideos(); } // Observe for new videos added dynamically (e.g., scrolling in timeline) const observer = new MutationObserver(muteAllVideos); observer.observe(document.body, { childList: true, subtree: true }); })();