PageSourceSearch

https://ragnador.jp/assets/js/modal_video.js

js ragnador.jp collected 2026-09-24 09:46:37 UTC 741 bytes, 22 lines download raw bytes

1// TopページのYoutubeモーダル:modaalプラグインを使用
2$('.top-youtube-modal-video').modaal({
3  type: 'video',
4  overlay_close: false,
5  after_close: function() {
6    // スマホは再生しない
7    if (!navigator.userAgent.match(/(iPhone|iPad|iPod|Android)/i)) {
8      $("video").get(0).play()
9    }
10  }
11});
12
13// TopページのYoutubeモーダルをURLによって制御する
14// 他のページでヘッダーメニューからTopに帰ってきた際は、modalを表示しない
15if (!location.href.match(/#/)) {
16  $('.top-youtube-modal-video').click()
17} else {
18  // スマホは再生しない
19  if (!navigator.userAgent.match(/(iPhone|iPad|iPod|Android)/i)) {
20    $("video").get(0).play()
21  }
22}

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.