PageSourceSearch

https://www.stych.fr/js/stych/video.js

js stych.fr collected 2026-10-09 22:42:16 UTC 1,088 bytes, 39 lines download raw bytes

1$(document).ready(function(){
2
3    $('#video-wrapper').attr('data-videoisplaying', false);
4
5    $(document).on('click', '.js-video-code-control', function(e) {
6
7       var elVideoWrapper = $('#video-wrapper');
8       var videoStatus = elVideoWrapper.attr('data-videoisplaying');
9       var elButtonPlay = $(".video-code-control");
10       var elIframe = $('#iframe-video');
11       var player = new Vimeo.Player(elIframe);
12
13       if (videoStatus === 'true')
14       {
15          player.pause();
16          elButtonPlay.find('.material-icons').html('play_arrow');
17          elButtonPlay.toggleClass('video-control-show');
18          elVideoWrapper.attr('data-videoisplaying', 'false');
19
20       }
21       else
22       {
23          player.play();
24          player.setVolume(1);
25
26          elIframe.css({
27             'position': 'absolute',
28             'opacity': '1'
29          });
30
31          elVideoWrapper.attr('data-videoisplaying', 'true');
32          elButtonPlay.find('.material-icons').html('pause');
33       }
34
35       e.preventDefault();
36    });
37
38 });
39

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.