PageSourceSearch

https://club.grazia.fr/wp-content/themes/reworldmedia/assets/javas…/mobile_first_play.js?ver=648

js grazia.fr collected 2026-10-01 09:10:49 UTC 948 bytes, 28 lines download raw bytes

1function do_mobile_first_play ($player, $el, type){
2    try{
3        if( !rw_isMobile.apple.device  &&  (is_mobile || is_tablet) && window.first_autoplay_mobile === undefined){
4
5            $("body").on({touchmove:function(a){
6                    if( window.first_autoplay_mobile === undefined && $(window).scrollTop() + $(window).height()  >= $el.offset().top){
7                        $player.play();
8                        window.first_autoplay_mobile =  true ;
9
10                        //lancer le player Mute par défaut
11                        if(site_config_js.mobile_autoplay_mute){
12                            if(type == 'videojs'){
13                                $player.muted(true);
14                            }else if(type == 'dailymotion'){
15                                $player.setVolume(0) ;
16                            }
17
18                        }
19                    }
20
21                }});
22
23        }
24    }catch(e){
25
26    }
27
28}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.