j1-template 2024.0.2 → 2024.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. checksums.yaml +4 -4
  2. data/assets/data/galeries.html +9 -4
  3. data/assets/themes/j1/adapter/js/navigator.js +2 -0
  4. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +5 -14
  5. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  6. data/assets/themes/j1/core/fonts/fontawesome_5/LICENSE.txt +2 -2
  7. data/assets/themes/j1/core/js/template.js +175 -180
  8. data/assets/themes/j1/core/js/template.min.js +5 -5
  9. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  10. data/assets/themes/j1/modules/iframeResizer/README.md +105 -105
  11. data/assets/themes/j1/modules/lightGallery/css/themes/uno/uno.css +34 -2
  12. data/assets/themes/j1/modules/lightGallery/css/themes/uno/uno.min.css +1 -1
  13. data/assets/themes/j1/modules/lightGallery/js/parser/webvtt/LICENSE.md +44 -0
  14. data/assets/themes/j1/modules/lightGallery/js/parser/webvtt/README.md +37 -0
  15. data/assets/themes/j1/modules/lightGallery/js/parser/webvtt/parser.js +890 -0
  16. data/assets/themes/j1/modules/lightGallery/js/parser/webvtt/parser.min.js +8 -0
  17. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.js +118 -5
  18. data/assets/themes/j1/modules/lightGallery/js/plugins/lg-video.min.js +4 -3
  19. data/assets/themes/j1/modules/videojs/assets/material-icons.woff +0 -0
  20. data/assets/themes/j1/modules/videojs/assets/material-icons.woff2 +0 -0
  21. data/assets/themes/j1/modules/videojs/css/plugins/zoom.css +96 -0
  22. data/assets/themes/j1/modules/videojs/css/plugins/zoom.min.css +21 -0
  23. data/assets/themes/j1/modules/videojs/css/themes/city.css +1 -1
  24. data/assets/themes/j1/modules/videojs/css/themes/city.min.css +1 -1
  25. data/assets/themes/j1/modules/videojs/css/themes/fantasy.css +1 -1
  26. data/assets/themes/j1/modules/videojs/css/themes/fantasy.min.css +1 -1
  27. data/assets/themes/j1/modules/videojs/css/themes/forest.css +1 -1
  28. data/assets/themes/j1/modules/videojs/css/themes/forest.min.css +1 -1
  29. data/assets/themes/j1/modules/videojs/css/themes/sea.css +1 -1
  30. data/assets/themes/j1/modules/videojs/css/themes/sea.min.css +1 -1
  31. data/assets/themes/j1/modules/videojs/css/themes/uno.css +33 -17
  32. data/assets/themes/j1/modules/videojs/css/themes/uno.min.css +3 -2
  33. data/assets/themes/j1/modules/videojs/css/{video-js.css → video.css} +9 -7
  34. data/assets/themes/j1/modules/videojs/css/{video-js.min.css → video.min.css} +2 -2
  35. data/assets/themes/j1/modules/videojs/js/plugins/zoom.js +377 -0
  36. data/assets/themes/j1/modules/videojs/js/plugins/zoom.min.js +21 -0
  37. data/assets/themes/j1/modules/videojs/js/video.js +641 -71
  38. data/assets/themes/j1/modules/videojs/js/video.min.js +10 -9
  39. data/lib/j1/version.rb +1 -1
  40. data/lib/starter_web/Gemfile +2 -2
  41. data/lib/starter_web/README.md +8 -8
  42. data/lib/starter_web/_config.yml +2 -1
  43. data/lib/starter_web/_data/blocks/defaults/footer.yml +1 -1
  44. data/lib/starter_web/_data/blocks/footer.yml +1 -1
  45. data/lib/starter_web/_data/blocks/panel.yml +3 -3
  46. data/lib/starter_web/_data/modules/carousel.yml +2 -2
  47. data/lib/starter_web/_data/modules/defaults/gallery.yml +1 -1
  48. data/lib/starter_web/_data/modules/gallery.yml +21 -9
  49. data/lib/starter_web/_data/resources.yml +7 -4
  50. data/lib/starter_web/_data/templates/feed.xml +1 -1
  51. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  52. data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +3 -2
  53. data/lib/starter_web/_plugins/index/lunr.rb +3 -1
  54. data/lib/starter_web/assets/images/modules/attics/1920x1280/alexander-redl.jpg +0 -0
  55. data/lib/starter_web/assets/images/modules/attics/1920x1280/alina-grubnyak.jpg +0 -0
  56. data/lib/starter_web/assets/images/modules/attics/1920x1280/andrea-badino.jpg +0 -0
  57. data/lib/starter_web/assets/images/modules/attics/1920x1280/brad-neathery.jpg +0 -0
  58. data/lib/starter_web/assets/images/modules/attics/1920x1280/brigitta-schneiter.jpg +0 -0
  59. data/lib/starter_web/assets/images/modules/attics/1920x1280/bruno-figueiredo.jpg +0 -0
  60. data/lib/starter_web/assets/images/modules/attics/1920x1280/clem-onojeghuo.jpg +0 -0
  61. data/lib/starter_web/assets/images/modules/attics/1920x1280/crawford-jolly.jpg +0 -0
  62. data/lib/starter_web/assets/images/modules/attics/1920x1280/eleni-afiontzi.jpg +0 -0
  63. data/lib/starter_web/assets/images/modules/attics/1920x1280/fly-d.jpg +0 -0
  64. data/lib/starter_web/assets/images/modules/attics/1920x1280/guillaume-bolduc.jpg +0 -0
  65. data/lib/starter_web/assets/images/modules/attics/1920x1280/harpal-singh.jpg +0 -0
  66. data/lib/starter_web/assets/images/modules/attics/1920x1280/hayden-mills-2.jpg +0 -0
  67. data/lib/starter_web/assets/images/modules/attics/1920x1280/isaac-davis.jpg +0 -0
  68. data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-1.jpg +0 -0
  69. data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-2.jpg +0 -0
  70. data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-content-mockup-3.jpg +0 -0
  71. data/lib/starter_web/assets/images/modules/attics/1920x1280/j1-starter-mockup-1.jpg +0 -0
  72. data/lib/starter_web/assets/images/modules/attics/1920x1280/john-schnobrich-2.jpg +0 -0
  73. data/lib/starter_web/assets/images/modules/attics/1920x1280/josep-martins.jpg +0 -0
  74. data/lib/starter_web/assets/images/modules/attics/1920x1280/josh-liu.jpg +0 -0
  75. data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
  76. data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
  77. data/lib/starter_web/assets/images/modules/attics/1920x1280/kristopher-roller.jpg +0 -0
  78. data/lib/starter_web/assets/images/modules/attics/1920x1280/matthaeus.jpg +0 -0
  79. data/lib/starter_web/assets/images/modules/attics/1920x1280/melanie-deziel.jpg +0 -0
  80. data/lib/starter_web/assets/images/modules/attics/1920x1280/milad-fakurian.jpg +0 -0
  81. data/lib/starter_web/assets/images/modules/attics/1920x1280/mohammad-rahmani.jpg +0 -0
  82. data/lib/starter_web/assets/images/modules/attics/1920x1280/nasa.jpg +0 -0
  83. data/lib/starter_web/assets/images/modules/attics/1920x1280/quino-al-2.jpg +0 -0
  84. data/lib/starter_web/assets/images/modules/attics/1920x1280/recha-oktaviani.jpg +0 -0
  85. data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg +0 -0
  86. data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280.jpg +0 -0
  87. data/lib/starter_web/assets/images/modules/attics/christina-1920x1280.jpg +0 -0
  88. data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200.jpg +0 -0
  89. data/lib/starter_web/assets/images/modules/attics/franck-1920x1280.jpg +0 -0
  90. data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
  91. data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg +0 -0
  92. data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280.jpg +0 -0
  93. data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg +0 -0
  94. data/lib/starter_web/assets/images/modules/attics/joanna-kosinska-1920x1280.jpg +0 -0
  95. data/lib/starter_web/assets/images/modules/attics/katie-moum-1920x1280.jpg +0 -0
  96. data/lib/starter_web/assets/images/modules/attics/leon-1920x1280.jpg +0 -0
  97. data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
  98. data/lib/starter_web/assets/images/modules/attics/library-1920x1280.jpg +0 -0
  99. data/lib/starter_web/assets/images/modules/attics/lunr-1280x800.jpg +0 -0
  100. data/lib/starter_web/assets/images/modules/attics/machine-generator-1920x1280.jpg +0 -0
  101. data/lib/starter_web/assets/images/modules/attics/markus-krisetya-1920x1280.jpg +0 -0
  102. data/lib/starter_web/assets/images/modules/attics/markus-spiske-1920x1280.jpg +0 -0
  103. data/lib/starter_web/assets/images/modules/attics/markus-spiske4-1920x1280.jpg +0 -0
  104. data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg +0 -0
  105. data/lib/starter_web/assets/images/modules/attics/matthew-dockery-1920x1280.jpg +0 -0
  106. data/lib/starter_web/assets/images/modules/attics/no-time-1920x1280.jpg +0 -0
  107. data/lib/starter_web/assets/images/modules/attics/rirri-1920x1280.jpg +0 -0
  108. data/lib/starter_web/assets/images/modules/attics/shubham-dhage-1920x1280.jpg +0 -0
  109. data/lib/starter_web/assets/images/modules/attics/shutterstock_sponsor-1920x1280.jpg +0 -0
  110. data/lib/starter_web/assets/images/modules/attics/sigmund-1920x1280.jpg +0 -0
  111. data/lib/starter_web/assets/images/modules/attics/szabo-viktor-1920x1280.jpg +0 -0
  112. data/lib/starter_web/assets/images/modules/attics/themes-1920x1280-bw.jpg +0 -0
  113. data/lib/starter_web/assets/images/modules/attics/tldr-1920x800.jpg +0 -0
  114. data/lib/starter_web/assets/images/modules/attics/vladislav-klapin-1920x1280.jpg +0 -0
  115. data/lib/starter_web/assets/images/modules/attics/yellow-cactus-1920x1280.jpg +0 -0
  116. data/lib/starter_web/assets/images/modules/carousel/cats/cat-1.jpg +0 -0
  117. data/lib/starter_web/assets/images/modules/carousel/cats/cat-2.jpg +0 -0
  118. data/lib/starter_web/assets/images/modules/carousel/cats/cat-3.jpg +0 -0
  119. data/lib/starter_web/assets/images/modules/carousel/cats/cat-4.jpg +0 -0
  120. data/lib/starter_web/assets/images/modules/carousel/cats/cat-5.jpg +0 -0
  121. data/lib/starter_web/assets/images/modules/carousel/cats/cat-6.jpg +0 -0
  122. data/lib/starter_web/assets/images/modules/carousel/cats/cat-7.jpg +0 -0
  123. data/lib/starter_web/assets/images/modules/carousel/cats/cat-8.jpg +0 -0
  124. data/lib/starter_web/assets/images/modules/carousel/mega_cities/andreas-brucker_b.jpg +0 -0
  125. data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-1_b.jpg +0 -0
  126. data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-2_b.jpg +0 -0
  127. data/lib/starter_web/assets/images/modules/carousel/mega_cities/luca-bravo_b.jpg +0 -0
  128. data/lib/starter_web/assets/images/modules/carousel/mega_cities/thomas-tucker_b.jpg +0 -0
  129. data/lib/starter_web/assets/images/modules/gallery/mega_cities/andreas-brucker_b.jpg +0 -0
  130. data/lib/starter_web/assets/images/modules/gallery/mega_cities/banter-snaps_b.jpg +0 -0
  131. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-1_b.jpg +0 -0
  132. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2-bw.jpg +0 -0
  133. data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2_b.jpg +0 -0
  134. data/lib/starter_web/assets/images/modules/gallery/mega_cities/emmad-mazhari_b.jpg +0 -0
  135. data/lib/starter_web/assets/images/modules/gallery/mega_cities/ethan-brooke_b.jpg +0 -0
  136. data/lib/starter_web/assets/images/modules/gallery/mega_cities/federico-rizzarelli_b.jpg +0 -0
  137. data/lib/starter_web/assets/images/modules/gallery/mega_cities/gints-gailis_b.jpg +0 -0
  138. data/lib/starter_web/assets/images/modules/gallery/mega_cities/johan-mouchet_b.jpg +0 -0
  139. data/lib/starter_web/assets/images/modules/gallery/mega_cities/luca-bravo_b.jpg +0 -0
  140. data/lib/starter_web/assets/images/modules/gallery/mega_cities/steven-diaz_b.jpg +0 -0
  141. data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker-bw.jpg +0 -0
  142. data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker_b.jpg +0 -0
  143. data/lib/starter_web/assets/images/modules/gallery/old_times/image_01.jpg +0 -0
  144. data/lib/starter_web/assets/images/modules/gallery/old_times/image_02.jpg +0 -0
  145. data/lib/starter_web/assets/images/modules/gallery/old_times/image_03.jpg +0 -0
  146. data/lib/starter_web/assets/images/modules/gallery/old_times/image_04.jpg +0 -0
  147. data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-1.jpg +0 -0
  148. data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-2.jpg +0 -0
  149. data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-3.jpg +0 -0
  150. data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-4.jpg +0 -0
  151. data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-5.jpg +0 -0
  152. data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-6.jpg +0 -0
  153. data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-7.jpg +0 -0
  154. data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-8.jpg +0 -0
  155. data/lib/starter_web/assets/images/modules/masterslider/slider_10/panorama-bg-slide1.jpg +0 -0
  156. data/lib/starter_web/assets/images/modules/masterslider/slider_10/panorama-bg-slide2.jpg +0 -0
  157. data/lib/starter_web/assets/images/modules/masterslider/slider_2/andreas-brucker.jpg +0 -0
  158. data/lib/starter_web/assets/images/modules/masterslider/slider_2/denys-nevozhai-1.jpg +0 -0
  159. data/lib/starter_web/assets/images/modules/masterslider/slider_2/denys-nevozhai-2.jpg +0 -0
  160. data/lib/starter_web/assets/images/modules/masterslider/slider_2/luca-bravo.jpg +0 -0
  161. data/lib/starter_web/assets/images/modules/masterslider/slider_2/thomas-tucker.jpg +0 -0
  162. data/lib/starter_web/assets/images/modules/masterslider/slider_3/ms-free-food-family-2.jpg +0 -0
  163. data/lib/starter_web/assets/images/modules/masterslider/slider_3/ms-free-food-hamburger.jpg +0 -0
  164. data/lib/starter_web/assets/images/modules/masterslider/slider_3/ms-free-food-restaurant.jpg +0 -0
  165. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-1-100x80.jpg +0 -0
  166. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-1.jpg +0 -0
  167. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-2-100x80.jpg +0 -0
  168. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-2.jpg +0 -0
  169. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-3-100x80.jpg +0 -0
  170. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-3.jpg +0 -0
  171. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-4-100x80.jpg +0 -0
  172. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-4.jpg +0 -0
  173. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-5-100x80.jpg +0 -0
  174. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-5.jpg +0 -0
  175. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-6-100x80.jpg +0 -0
  176. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-6.jpg +0 -0
  177. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-7-100x80.jpg +0 -0
  178. data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-7.jpg +0 -0
  179. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family-140x80.jpg +0 -0
  180. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family-2-140x80.jpg +0 -0
  181. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family-2.jpg +0 -0
  182. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family-3-140x80.jpg +0 -0
  183. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family-3.jpg +0 -0
  184. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family.jpg +0 -0
  185. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-hamburger-140x80.jpg +0 -0
  186. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-hamburger.jpg +0 -0
  187. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-pizza-140x80.jpg +0 -0
  188. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-pizza.jpg +0 -0
  189. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-table-140x80.jpg +0 -0
  190. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-table.jpg +0 -0
  191. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-woman-hand-140x80.jpg +0 -0
  192. data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-woman-hand.jpg +0 -0
  193. data/lib/starter_web/assets/images/modules/masterslider/slider_6_7/6876385555_74a0d7d7ee_b.jpg +0 -0
  194. data/lib/starter_web/assets/images/modules/masterslider/slider_6_7/6876387431_d86867a3d9_b.jpg +0 -0
  195. data/lib/starter_web/assets/images/modules/masterslider/slider_6_7/6876388511_d618d53455_b.jpg +0 -0
  196. data/lib/starter_web/assets/images/modules/masterslider/slider_6_7/6876389463_db27a377e1_b.jpg +0 -0
  197. data/lib/starter_web/assets/images/modules/masterslider/slider_6_7/6876390339_2e4dd9dbbb_b.jpg +0 -0
  198. data/lib/starter_web/assets/images/modules/masterslider/slider_8/postslider-5-img-1.jpg +0 -0
  199. data/lib/starter_web/assets/images/modules/masterslider/slider_8/postslider-5-img-2.jpg +0 -0
  200. data/lib/starter_web/assets/images/modules/masterslider/slider_8/postslider-5-img-3.jpg +0 -0
  201. data/lib/starter_web/assets/images/modules/masterslider/slider_8/postslider6-bg-slide2-1024x622.jpg +0 -0
  202. data/lib/starter_web/assets/images/modules/masterslider/slider_9/1-2.jpg +0 -0
  203. data/lib/starter_web/assets/images/modules/masterslider/slider_9/5-2.jpg +0 -0
  204. data/lib/starter_web/assets/images/modules/masterslider/slider_9/6-2.jpg +0 -0
  205. data/lib/starter_web/assets/images/modules/masterslider/slider_9/6-3.jpg +0 -0
  206. data/lib/starter_web/assets/images/modules/masterslider/slider_9/8-1.jpg +0 -0
  207. data/lib/starter_web/assets/images/modules/masterslider/slider_9/8.jpg +0 -0
  208. data/lib/starter_web/assets/images/modules/masterslider/wp-examples/ms-free-business-1.jpg +0 -0
  209. data/lib/starter_web/assets/images/modules/masterslider/wp-examples/ms-free-business-2.jpg +0 -0
  210. data/lib/starter_web/assets/images/modules/masterslider/wp-examples/ms-free-business-3.jpg +0 -0
  211. data/lib/starter_web/assets/images/pages/features/blog-post-navigator-1280x1000.jpg +0 -0
  212. data/lib/starter_web/assets/images/pages/features/bootswatch-themes-1280x800.jpg +0 -0
  213. data/lib/starter_web/assets/images/pages/features/clipboard-1280x600.jpg +0 -0
  214. data/lib/starter_web/assets/images/pages/features/comments-1280x600.jpg +0 -0
  215. data/lib/starter_web/assets/images/pages/features/cookie-consent-1280x800.jpg +0 -0
  216. data/lib/starter_web/assets/images/pages/features/desktop-web-navigation-1280x1000.jpg +0 -0
  217. data/lib/starter_web/assets/images/pages/features/example-content-1280x800.jpg +0 -0
  218. data/lib/starter_web/assets/images/pages/features/example-content-present-videos-1280x800.jpg +0 -0
  219. data/lib/starter_web/assets/images/pages/features/fab-1280x500.jpg +0 -0
  220. data/lib/starter_web/assets/images/pages/features/full-text-search-1280x800.jpg +0 -0
  221. data/lib/starter_web/assets/images/pages/features/global-mobile-traffic-1920x1080.jpg +0 -0
  222. data/lib/starter_web/assets/images/pages/features/google-lighthouse-1080x300.jpg +0 -0
  223. data/lib/starter_web/assets/images/pages/features/intro-panel-1280x800.jpg +0 -0
  224. data/lib/starter_web/assets/images/pages/features/master-header-1280x600.jpg +0 -0
  225. data/lib/starter_web/assets/images/pages/features/mobile-navigation-600x800.jpg +0 -0
  226. data/lib/starter_web/assets/images/pages/features/native-speakers-by-language.jpg +0 -0
  227. data/lib/starter_web/assets/images/pages/features/nav-module-1280x300.jpg +0 -0
  228. data/lib/starter_web/assets/images/pages/features/nbi-barchart-1280x800.jpg +0 -0
  229. data/lib/starter_web/assets/images/pages/features/teaser-banner-1280x600.jpg +0 -0
  230. data/lib/starter_web/assets/images/pages/features/translator-1280x800.jpg +0 -0
  231. data/lib/starter_web/assets/images/pages/html_validator/appdevtools-html-validator.jpg +0 -0
  232. data/lib/starter_web/assets/images/pages/html_validator/freeformatter-html-validator.jpg +0 -0
  233. data/lib/starter_web/assets/images/pages/html_validator/w3c-nu-checker.jpg +0 -0
  234. data/lib/starter_web/assets/images/pages/html_validator/w3c-validator.jpg +0 -0
  235. data/lib/starter_web/assets/images/pages/panels/florian-olivo-1920x800.jpg +0 -0
  236. data/lib/starter_web/assets/images/pages/panels/modules-apps-1920x800.jpg +0 -0
  237. data/lib/starter_web/assets/images/pages/panels/no-time-1920x800.jpg +0 -0
  238. data/lib/starter_web/assets/images/pages/panels/responsive-text-1920x800.jpg +0 -0
  239. data/lib/starter_web/assets/images/pages/panels/the-place-1920x800.jpg +0 -0
  240. data/lib/starter_web/assets/images/pages/posts/adrien-olichon-1920x1280.jpg +0 -0
  241. data/lib/starter_web/assets/images/pages/posts/alejandro-barba-1920x1280.jpg +0 -0
  242. data/lib/starter_web/assets/images/pages/posts/andre-francois-mckenzie-1920x1280.jpg +0 -0
  243. data/lib/starter_web/assets/images/pages/posts/andreas-steger-1920x1280.jpg +0 -0
  244. data/lib/starter_web/assets/images/pages/posts/ansgar-scheffold-1920x1280.jpg +0 -0
  245. data/lib/starter_web/assets/images/pages/posts/ben-white-1920x1280.jpg +0 -0
  246. data/lib/starter_web/assets/images/pages/posts/craig-sybert-1920x1280.jpg +0 -0
  247. data/lib/starter_web/assets/images/pages/posts/danielle-cerullo-1920x1280.jpg +0 -0
  248. data/lib/starter_web/assets/images/pages/posts/deb-dowd-1920x1280.jpg +0 -0
  249. data/lib/starter_web/assets/images/pages/posts/halgatewood-1920x1280.jpg +0 -0
  250. data/lib/starter_web/assets/images/pages/posts/hans-eiskonen-1920x1280.jpg +0 -0
  251. data/lib/starter_web/assets/images/pages/posts/ian-barsby-1920x1280.jpg +0 -0
  252. data/lib/starter_web/assets/images/pages/posts/ivan-aleksic-1920x1280.jpg +0 -0
  253. data/lib/starter_web/assets/images/pages/posts/markus-krisetya-1920x1280.jpg +0 -0
  254. data/lib/starter_web/assets/images/pages/posts/markus-spiske-6-1920x1280.jpg +0 -0
  255. data/lib/starter_web/assets/images/pages/posts/markus-winkler-1920x1280.jpg +0 -0
  256. data/lib/starter_web/assets/images/pages/posts/markus-winkler-2-1920x1280.jpg +0 -0
  257. data/lib/starter_web/assets/images/pages/posts/michelle-cassar-1920x1280.jpg +0 -0
  258. data/lib/starter_web/assets/images/pages/posts/mika-baumeister-1920x1280.jpg +0 -0
  259. data/lib/starter_web/assets/images/pages/posts/science-in-hd-1920x1280.jpg +0 -0
  260. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-1.jpg +0 -0
  261. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-2.jpg +0 -0
  262. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-image-3.jpg +0 -0
  263. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-thumb-1.jpg +0 -0
  264. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-thumb-2.jpg +0 -0
  265. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/lightbox-thumb-3.jpg +0 -0
  266. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_icon.jpg +0 -0
  267. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_input.jpg +0 -0
  268. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_results.jpg +0 -0
  269. data/lib/starter_web/assets/images/pages/roundtrip/bootstrap-1920x1000-bw.jpg +0 -0
  270. data/lib/starter_web/assets/images/pages/roundtrip/cards-1920x1280-bw.jpg +0 -0
  271. data/lib/starter_web/assets/images/pages/roundtrip/emojies-1920x1280-bw.jpg +0 -0
  272. data/lib/starter_web/assets/images/pages/roundtrip/icon-fonts-1920x1280-bw.jpg +0 -0
  273. data/lib/starter_web/assets/images/pages/roundtrip/images-1920x1280-bw.jpg +0 -0
  274. data/lib/starter_web/assets/images/pages/roundtrip/puzzle-1920x1280-bw.jpg +0 -0
  275. data/lib/starter_web/assets/images/pages/roundtrip/tables-1920x1280-bw.jpg +0 -0
  276. data/lib/starter_web/assets/images/pages/roundtrip/themes-1920x1280.jpg +0 -0
  277. data/lib/starter_web/assets/images/pages/roundtrip/typography-1920x1280-bw.jpg +0 -0
  278. data/lib/starter_web/assets/images/pages/skeleton/annie-spratt-1920x1280.jpg +0 -0
  279. data/lib/starter_web/assets/images/pages/skeleton/antonino-visalli-1920x1280.jpg +0 -0
  280. data/lib/starter_web/assets/images/pages/skeleton/humble-lamb-1920x1280.jpg +0 -0
  281. data/lib/starter_web/assets/images/pages/skeleton/library-1920x1280.jpg +0 -0
  282. data/lib/starter_web/assets/images/pages/skeleton/romain-vignes-1920x1280.jpg +0 -0
  283. data/lib/starter_web/assets/images/pages/skeleton/sigmund-1920x1280.jpg +0 -0
  284. data/lib/starter_web/assets/videos/gallery/html5/303/237video2-poster.jpg +0 -0
  285. data/lib/starter_web/assets/videos/gallery/kick-it-old-school-poster.jpg +0 -0
  286. data/lib/starter_web/assets/videos/gallery/nye-party-shop-poster.jpg +0 -0
  287. data/lib/starter_web/assets/videos/gallery/stay-colorful-poster.jpg +0 -0
  288. data/lib/starter_web/assets/videos/gallery/video1-poster.1920..jpg +0 -0
  289. data/lib/starter_web/assets/videos/gallery/video1-poster.jpg +0 -0
  290. data/lib/starter_web/assets/videos/gallery/video1-thumb.jpg +0 -0
  291. data/lib/starter_web/assets/videos/gallery/video2-poster.jpg +0 -0
  292. data/lib/starter_web/assets/videos/gallery/video2-thumb.jpg +0 -0
  293. data/lib/starter_web/assets/videos/gallery/video_adele-poster.jpg +0 -0
  294. data/lib/starter_web/assets/videos/gallery/video_adele_last_carpool_caraoke_poster.1920.jpg +0 -0
  295. data/lib/starter_web/assets/videos/gallery/video_adele_last_carpool_caraoke_poster.jpg +0 -0
  296. data/lib/starter_web/assets/videos/gallery/video_gaga-poster.jpg +0 -0
  297. data/lib/starter_web/assets/videos/gallery/video_gwen-poster.jpg +0 -0
  298. data/lib/starter_web/assets/videos/gallery/video_james_carpool_caraoke.1920.jpg +0 -0
  299. data/lib/starter_web/assets/videos/gallery/video_james_carpool_caraoke_poster.jpg +0 -0
  300. data/lib/starter_web/assets/videos/gallery/video_michelle-poster.jpg +0 -0
  301. data/lib/starter_web/assets/videos/gallery/voice_kids_nl_2021/video_poster.jpg +0 -0
  302. data/lib/starter_web/assets/videos/vtt/captions/readme +7 -0
  303. data/lib/starter_web/assets/videos/vtt/captions/video1.vtt +31 -0
  304. data/lib/starter_web/assets/videos/vtt/chapters/readme +5 -0
  305. data/lib/starter_web/assets/videos/vtt/chapters/video1.vtt +15 -0
  306. data/lib/starter_web/assets/videos/vtt/descriptions/readme +7 -0
  307. data/lib/starter_web/assets/videos/vtt/subtitles/readme +6 -0
  308. data/lib/starter_web/collections/posts/public/featured/_posts/2023-10-18-url-types.adoc +17 -14
  309. data/lib/starter_web/index.html +2 -3
  310. data/lib/starter_web/package.json +2 -34
  311. data/lib/starter_web/pages/public/features/general.adoc +4 -4
  312. data/lib/starter_web/pages/public/features/template.adoc +15 -14
  313. data/lib/starter_web/pages/public/learn/bookshelf/jekyll_collections.adoc +3 -3
  314. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +4 -3
  315. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/100_gistblock.asciidoc +4 -3
  316. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_bootstrap.asciidoc +1 -1
  317. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +68 -47
  318. data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +21 -30
  319. data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +19 -14
  320. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +58 -54
  321. data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +43 -34
  322. data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +17 -18
  323. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +4 -4
  324. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +21 -8
  325. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +29 -192
  326. data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +33 -29
  327. data/lib/starter_web/pages/public/learn/where_to_go.adoc +0 -1
  328. data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +4 -3
  329. data/lib/starter_web/pages/public/panels/roundtrip/100_present_images/lightbox-image-1.jpg +0 -0
  330. data/lib/starter_web/pages/public/panels/roundtrip/100_present_images/lightbox-image-2.jpg +0 -0
  331. data/lib/starter_web/pages/public/panels/roundtrip/100_present_images/lightbox-image-3.jpg +0 -0
  332. data/lib/starter_web/pages/public/panels/roundtrip/100_present_images/lightbox-thumb-1.jpg +0 -0
  333. data/lib/starter_web/pages/public/panels/roundtrip/100_present_images/lightbox-thumb-2.jpg +0 -0
  334. data/lib/starter_web/pages/public/panels/roundtrip/100_present_images/lightbox-thumb-3.jpg +0 -0
  335. data/lib/starter_web/pages/public/panels/roundtrip/410_bs_modals_extentions/avatar.jpg +0 -0
  336. data/lib/starter_web/pages/public/panels/roundtrip/410_bs_modals_extentions/marc.jpg +0 -0
  337. data/lib/starter_web/pages/public/panels/roundtrip/600_quicksearch/quicksearch_icon.jpg +0 -0
  338. data/lib/starter_web/pages/public/panels/roundtrip/600_quicksearch/quicksearch_input.jpg +0 -0
  339. data/lib/starter_web/pages/public/panels/roundtrip/600_quicksearch/quicksearch_results.jpg +0 -0
  340. data/lib/starter_web/pages/public/panels/roundtrip/bootstrap-1920x1000-bw.jpg +0 -0
  341. data/lib/starter_web/pages/public/panels/roundtrip/cards-1920x1280-bw.jpg +0 -0
  342. data/lib/starter_web/pages/public/panels/roundtrip/emojies-1920x1280-bw.jpg +0 -0
  343. data/lib/starter_web/pages/public/panels/roundtrip/icon-fonts-1920x1280-bw.jpg +0 -0
  344. data/lib/starter_web/pages/public/panels/roundtrip/images-1920x1280-bw.jpg +0 -0
  345. data/lib/starter_web/pages/public/panels/roundtrip/puzzle-1920x1280-bw.jpg +0 -0
  346. data/lib/starter_web/pages/public/panels/roundtrip/tables-1920x1280-bw.jpg +0 -0
  347. data/lib/starter_web/pages/public/panels/roundtrip/themes-1920x1280.jpg +0 -0
  348. data/lib/starter_web/pages/public/panels/roundtrip/typography-1920x1280-bw.jpg +0 -0
  349. metadata +46 -29
  350. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-autoplay.css +0 -67
  351. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-comments.css +0 -157
  352. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-fullscreen.css +0 -32
  353. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-medium-zoom.css +0 -40
  354. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-pager.css +0 -115
  355. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-rotate.css +0 -74
  356. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-share.css +0 -168
  357. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-thumbnail.css +0 -133
  358. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-video.css +0 -169
  359. data/assets/themes/j1/modules/lightGallery/css/plugins/lg-zoom.css +0 -141
  360. data/lib/starter_web/assets/images/modules/attics/1920x1280/core_web_vitals_best.png +0 -0
  361. data/lib/starter_web/assets/images/modules/gallery/old_times/colored/image_01.jpg +0 -0
  362. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_icon-800x200.jpg +0 -0
  363. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_input-800x200.jpg +0 -0
  364. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_results_jekyll-.jpg +0 -0
  365. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_results_jekyll.jpg +0 -0
  366. data/lib/starter_web/assets/images/pages/roundtrip/themes-menu-1280x800.jpg +0 -0
  367. data/lib/starter_web/assets/videos/gallery/_video_james_carpool_caraoke_poster.jpg +0 -0
  368. data/lib/starter_web/assets/videos/gallery/html5/video1.subtitles.vtt +0 -39
  369. data/lib/starter_web/pages/public/tools/previewer/iframer_documents/iframe.content.html +0 -51
  370. data/lib/starter_web/pages/public/tools/previewer/iframer_documents/iframe.docsearch.info.html +0 -84
  371. data/lib/starter_web/pages/public/tools/previewer/preview_docsearch.adoc +0 -92
  372. data/lib/starter_web/pages/public/tools/previewer/preview_iframer.adoc +0 -106
  373. /data/lib/starter_web/assets/videos/{tiktok → headers/tiktok}/einhorn.jpg +0 -0
  374. /data/lib/starter_web/assets/videos/{tiktok → headers/tiktok}/waluschka.jpg +0 -0
@@ -1,105 +1,105 @@
1
- <img src="https://raw.githubusercontent.com/davidjbradshaw/iframe-resizer/master/img/logo-no-background.svg" alt="iFrame Resizer" style="margin-bottom: -20">
2
-
3
- [![NPM version](https://badge.fury.io/js/iframe-resizer.svg)](http://badge.fury.io/js/iframe-resizer)
4
- [![NPM Downloads](https://img.shields.io/npm/dm/iframe-resizer.svg)](https://npm-stat.com/charts.html?package=iframe-resizer&from=2014-12-31)
5
- [![](https://data.jsdelivr.com/v1/package/npm/iframe-resizer/badge?style=rounded)](https://www.jsdelivr.com/package/npm/iframe-resizer)
6
- [![Coverage Status](https://coveralls.io/repos/davidjbradshaw/iframe-resizer/badge.svg?branch=master&service=github)](https://coveralls.io/github/davidjbradshaw/iframe-resizer)
7
-
8
- This library enables the automatic resizing of the height and width of both same and cross domain iFrames to fit their contained content. It provides a range of features to address the most common issues with using iFrames, these include:
9
-
10
- - Height and width resizing of the iFrame to content size.
11
- - Works with multiple and nested iFrames.
12
- - Domain authentication for cross domain iFrames.
13
- - Provides a range of page size calculation methods to support complex CSS layouts.
14
- - Detects changes to the DOM that can cause the page to resize using [MutationObserver](https://developer.mozilla.org/en/docs/Web/API/MutationObserver).
15
- - Detects events that can cause the page to resize (Window Resize, CSS Animation and Transition, Orientation Change and Mouse events).
16
- - Simplified messaging between iFrame and host page via [postMessage](https://developer.mozilla.org/en-US/docs/Web/API/window.postMessage).
17
- - Fixes in page links in iFrame and supports links between the iFrame and parent page.
18
- - Provides custom sizing and scrolling methods.
19
- - Exposes parent position and viewport size to the iFrame.
20
- - Provides `onMouseEnter` and `onMouseLeave` events for the iFrame.
21
- - Works with [ViewerJS](http://viewerjs.org/) to support PDF and ODF documents.
22
-
23
- ## Donate
24
-
25
- Iframe-resizer is the result of many 100s of hours of work, if you would like to join others in showing support for the continued development of this project, then please feel free to buy me a coffee.
26
-
27
- <a href="https://www.buymeacoffee.com/davidjbradshaw " target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>
28
-
29
- ## Getting Started
30
-
31
- ### Install
32
-
33
- This package can be installed via NPM (`npm install iframe-resizer --save`).
34
-
35
- ### Usage
36
-
37
- The package contains two minified JavaScript files in the [js](https://github.com/davidjbradshaw/iframe-resizer/tree/master/js) folder. The first ([iframeResizer.min.js](https://raw.githubusercontent.com/davidjbradshaw/iframe-resizer/master/js/iframeResizer.min.js)) is for the page hosting the iFrames. It can be called with via JavaScript:
38
-
39
- ```js
40
- const iframes = iFrameResize( [{options}], [css selector] || [iframe] );
41
- ```
42
-
43
- The second file ([iframeResizer.contentWindow.min.js](https://raw.github.com/davidjbradshaw/iframe-resizer/master/js/iframeResizer.contentWindow.min.js)) needs placing in the page(s) contained within your iFrame. <i>This file is designed to be a guest on someone else's system, so has no dependencies and won't do anything until it's activated by a message from the containing page</i>.
44
-
45
- ### Typical setup
46
-
47
- The normal configuration is to have the iFrame resize when the browser window changes size or the content of the iFrame changes. To set this up you need to configure one of the dimensions of the iFrame to a percentage and tell the library to only update the other dimension. Normally you would set the width to 100% and have the height scale to fit the content.
48
-
49
- ```html
50
- <style>
51
- iframe {
52
- width: 1px;
53
- min-width: 100%;
54
- }
55
- </style>
56
- <script src="/js/iframeResizer.min.js"></script>
57
- <iframe id="myIframe" src="http://anotherdomain.com/iframe.html"></iframe>
58
- <script>
59
- iFrameResize({ log: true }, '#myIframe')
60
- </script>
61
- ```
62
-
63
- **Note:** Using _min-width_ to set the width of the iFrame, works around an issue in iOS that can prevent the iFrame from sizing correctly.
64
-
65
- If you have problems, check the [troubleshooting](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/troubleshooting.md) section.
66
-
67
- ### Example
68
-
69
- To see this working take a look at this [example](https://davidjbradshaw.github.io/iframe-resizer/example/) and watch the [console](https://developer.mozilla.org/en-US/docs/Tools/Web_Console).
70
-
71
- ## API Documentation
72
-
73
- IFrame-Resizer provides an extensive range of options and APIs for both the parent page and the iframed page.
74
-
75
- - **Parent Page API**
76
- - [Options](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/parent_page/options.md)
77
- - [Events](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/parent_page/events.md)
78
- - [Methods](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/parent_page/methods.md)
79
- - **IFramed Page API**
80
- - [Options](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/iframed_page/options.md)
81
- - [Events](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/iframed_page/events.md)
82
- - [Methods](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/iframed_page/methods.md)
83
- - **Use with Libraries and Frameworks**
84
- - [React](https://github.com/davidjbradshaw/iframe-resizer-react)
85
- - [Vue](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/use_with/vue.md)
86
- - [Nuxt](https://github.com/davidjbradshaw/iframe-resizer/issues/831#issuecomment-665760332)
87
- - [Angular](https://github.com/davidjbradshaw/iframe-resizer/issues/478#issuecomment-347958630)
88
- - [Ember](https://github.com/alexlafroscia/ember-iframe-resizer-modifier)
89
- - [jQuery](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/use_with/jquery.md)
90
- - [Google Apps Script](https://stackoverflow.com/a/65724113/2087070)
91
- - [Troubleshooting](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/troubleshooting.md)
92
- - [Upgrade from version 3](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/upgrade.md)
93
- - [Version history](https://github.com/davidjbradshaw/iframe-resizer/blob/master/CHANGELOG.md)
94
-
95
- ## License
96
-
97
- Copyright &copy; 2013-23 [David J. Bradshaw](https://github.com/davidjbradshaw) -
98
- Licensed under the [MIT License](LICENSE)
99
-
100
- <!--
101
- [![NPM](https://nodei.co/npm/iframe-resizer.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/iframe-resizer/)
102
-
103
- [![Build Status](https://travis-ci.org/davidjbradshaw/iframe-resizer.svg?branch=master)](https://travis-ci.org/davidjbradshaw/iframe-resizer)
104
- [![Known Vulnerabilities](https://snyk.io/test/github/davidjbradshaw/iframe-resizer/badge.svg)](https://snyk.io/test/github/davidjbradshaw/iframe-resizer)
105
- -->
1
+ <img src="https://raw.githubusercontent.com/davidjbradshaw/iframe-resizer/master/img/logo-no-background.svg" alt="iFrame Resizer" style="margin-bottom: -20">
2
+
3
+ [![NPM version](https://badge.fury.io/js/iframe-resizer.svg)](http://badge.fury.io/js/iframe-resizer)
4
+ [![NPM Downloads](https://img.shields.io/npm/dm/iframe-resizer.svg)](https://npm-stat.com/charts.html?package=iframe-resizer&from=2014-12-31)
5
+ [![](https://data.jsdelivr.com/v1/package/npm/iframe-resizer/badge?style=rounded)](https://www.jsdelivr.com/package/npm/iframe-resizer)
6
+ [![Coverage Status](https://coveralls.io/repos/davidjbradshaw/iframe-resizer/badge.svg?branch=master&service=github)](https://coveralls.io/github/davidjbradshaw/iframe-resizer)
7
+
8
+ This library enables the automatic resizing of the height and width of both same and cross domain iFrames to fit their contained content. It provides a range of features to address the most common issues with using iFrames, these include:
9
+
10
+ - Height and width resizing of the iFrame to content size.
11
+ - Works with multiple and nested iFrames.
12
+ - Domain authentication for cross domain iFrames.
13
+ - Provides a range of page size calculation methods to support complex CSS layouts.
14
+ - Detects changes to the DOM that can cause the page to resize using [MutationObserver](https://developer.mozilla.org/en/docs/Web/API/MutationObserver).
15
+ - Detects events that can cause the page to resize (Window Resize, CSS Animation and Transition, Orientation Change and Mouse events).
16
+ - Simplified messaging between iFrame and host page via [postMessage](https://developer.mozilla.org/en-US/docs/Web/API/window.postMessage).
17
+ - Fixes in page links in iFrame and supports links between the iFrame and parent page.
18
+ - Provides custom sizing and scrolling methods.
19
+ - Exposes parent position and viewport size to the iFrame.
20
+ - Provides `onMouseEnter` and `onMouseLeave` events for the iFrame.
21
+ - Works with [ViewerJS](http://viewerjs.org/) to support PDF and ODF documents.
22
+
23
+ ## Donate
24
+
25
+ Iframe-resizer is the result of many 100s of hours of work, if you would like to join others in showing support for the continued development of this project, then please feel free to buy me a coffee.
26
+
27
+ <a href="https://www.buymeacoffee.com/davidjbradshaw " target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>
28
+
29
+ ## Getting Started
30
+
31
+ ### Install
32
+
33
+ This package can be installed via NPM (`npm install iframe-resizer --save`).
34
+
35
+ ### Usage
36
+
37
+ The package contains two minified JavaScript files in the [js](https://github.com/davidjbradshaw/iframe-resizer/tree/master/js) folder. The first ([iframeResizer.min.js](https://raw.githubusercontent.com/davidjbradshaw/iframe-resizer/master/js/iframeResizer.min.js)) is for the page hosting the iFrames. It can be called with via JavaScript:
38
+
39
+ ```js
40
+ const iframes = iFrameResize( [{options}], [css selector] || [iframe] );
41
+ ```
42
+
43
+ The second file ([iframeResizer.contentWindow.min.js](https://raw.github.com/davidjbradshaw/iframe-resizer/master/js/iframeResizer.contentWindow.min.js)) needs placing in the page(s) contained within your iFrame. <i>This file is designed to be a guest on someone else's system, so has no dependencies and won't do anything until it's activated by a message from the containing page</i>.
44
+
45
+ ### Typical setup
46
+
47
+ The normal configuration is to have the iFrame resize when the browser window changes size or the content of the iFrame changes. To set this up you need to configure one of the dimensions of the iFrame to a percentage and tell the library to only update the other dimension. Normally you would set the width to 100% and have the height scale to fit the content.
48
+
49
+ ```html
50
+ <style>
51
+ iframe {
52
+ width: 1px;
53
+ min-width: 100%;
54
+ }
55
+ </style>
56
+ <script src="/js/iframeResizer.min.js"></script>
57
+ <iframe id="myIframe" src="http://anotherdomain.com/iframe.html"></iframe>
58
+ <script>
59
+ iFrameResize({ log: true }, '#myIframe')
60
+ </script>
61
+ ```
62
+
63
+ **Note:** Using _min-width_ to set the width of the iFrame, works around an issue in iOS that can prevent the iFrame from sizing correctly.
64
+
65
+ If you have problems, check the [troubleshooting](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/troubleshooting.md) section.
66
+
67
+ ### Example
68
+
69
+ To see this working take a look at this [example](https://davidjbradshaw.github.io/iframe-resizer/example/) and watch the [console](https://developer.mozilla.org/en-US/docs/Tools/Web_Console).
70
+
71
+ ## API Documentation
72
+
73
+ IFrame-Resizer provides an extensive range of options and APIs for both the parent page and the iframed page.
74
+
75
+ - **Parent Page API**
76
+ - [Options](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/parent_page/options.md)
77
+ - [Events](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/parent_page/events.md)
78
+ - [Methods](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/parent_page/methods.md)
79
+ - **IFramed Page API**
80
+ - [Options](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/iframed_page/options.md)
81
+ - [Events](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/iframed_page/events.md)
82
+ - [Methods](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/iframed_page/methods.md)
83
+ - **Use with Libraries and Frameworks**
84
+ - [React](https://github.com/davidjbradshaw/iframe-resizer-react)
85
+ - [Vue](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/use_with/vue.md)
86
+ - [Nuxt](https://github.com/davidjbradshaw/iframe-resizer/issues/831#issuecomment-665760332)
87
+ - [Angular](https://github.com/davidjbradshaw/iframe-resizer/issues/478#issuecomment-347958630)
88
+ - [Ember](https://github.com/alexlafroscia/ember-iframe-resizer-modifier)
89
+ - [jQuery](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/use_with/jquery.md)
90
+ - [Google Apps Script](https://stackoverflow.com/a/65724113/2087070)
91
+ - [Troubleshooting](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/troubleshooting.md)
92
+ - [Upgrade from version 3](https://github.com/davidjbradshaw/iframe-resizer/blob/master/docs/upgrade.md)
93
+ - [Version history](https://github.com/davidjbradshaw/iframe-resizer/blob/master/CHANGELOG.md)
94
+
95
+ ## License
96
+
97
+ Copyright &copy; 2013-23 [David J. Bradshaw](https://github.com/davidjbradshaw) -
98
+ Licensed under the [MIT License](LICENSE)
99
+
100
+ <!--
101
+ [![NPM](https://nodei.co/npm/iframe-resizer.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/iframe-resizer/)
102
+
103
+ [![Build Status](https://travis-ci.org/davidjbradshaw/iframe-resizer.svg?branch=master)](https://travis-ci.org/davidjbradshaw/iframe-resizer)
104
+ [![Known Vulnerabilities](https://snyk.io/test/github/davidjbradshaw/iframe-resizer/badge.svg)](https://snyk.io/test/github/davidjbradshaw/iframe-resizer)
105
+ -->
@@ -16,6 +16,8 @@
16
16
  # -----------------------------------------------------------------------------
17
17
  */
18
18
 
19
+ /* Global styles
20
+ ----------------------------------------------------------------------------- */
19
21
  .img-responsive {
20
22
  width: 100%;
21
23
  height: auto;
@@ -38,8 +40,38 @@
38
40
  height: auto;
39
41
  }
40
42
 
43
+
44
+ /* Custom timeline chapter markers
45
+ ----------------------------------------------------------------------------- */
46
+
47
+ /* marker (bullet) */
48
+ .vjs-chapter-marker {
49
+ position: absolute;
50
+ background: #0D47A1;
51
+ width: 7px;
52
+ height: 7px;
53
+ margin-left: -3px;
54
+ }
55
+
56
+ /* title (text) */
57
+ .vjs-chapter-marker span {
58
+ position: absolute;
59
+ bottom: 50px;
60
+ opacity: 0;
61
+ margin-left: -20px;
62
+ z-index: 90;
63
+ background: rgba(0,0,0,.8);
64
+ padding: 8px;
65
+ font-size: 10px;
66
+ }
67
+
68
+ .vjs-chapter-marker:hover span {
69
+ opacity: 1;
70
+ }
71
+
72
+
41
73
  /* Custom icons
42
- ------------------------------------------------------------------------------- */
74
+ ----------------------------------------------------------------------------- */
43
75
  .lg-uno-video-icon span {
44
76
  display: block;
45
77
  position: absolute;
@@ -66,7 +98,7 @@
66
98
 
67
99
 
68
100
  /* Custom thumbnails
69
- ------------------------------------------------------------------------------- */
101
+ ----------------------------------------------------------------------------- */
70
102
  .lg-uno-thumbnails .lg-outer {
71
103
  width: auto;
72
104
  right: 230px;
@@ -16,4 +16,4 @@
16
16
  # -----------------------------------------------------------------------------
17
17
  */
18
18
 
19
- .lg-uno-video-icon span{display:block;position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;background:url(icons/play-button.png) no-repeat center center}.lg-uno-thumbnails .lg-outer{width:auto;right:230px;left:10px}.lg-uno-thumbnails .lg-outer .lg-thumb-outer{left:auto;top:0;width:230px;max-height:none;bottom:0;background-color:#999;padding-left:5px;padding-right:5px;margin:0 -10px;overflow-y:auto;position:fixed;right:0;transform:translate3d(30%,0,0);opacity:0;will-change:transform opacity;transition:transform .15s cubic-bezier(0,0,0.25,1) 0,cubic-bezier(0,0,0.25,1) .15s}.lg-uno-thumbnails .lg-outer.lg-components-open .lg-thumb-outer{transform:translate3d(0,0,0);opacity:1}.lg-uno-thumbnails .lg-outer .lg-thumb-item{float:left;will-change:filter;transition:filter .12s ease-in,border-color .12s ease}.lg-uno-thumbnails .lg-outer .lg-thumb{padding:5px;background-color:#1c1c1d}
19
+ .img-responsive{width:100%;height:auto;overflow:hidden}.img-fluid{max-width:100%;height:auto;overflow:hidden}.gallery-container a{width:240px;margin:5px}.gallery-container a img{max-width:100%;height:auto}.vjs-chapter-marker{position:absolute;background:#0d47a1;width:7px;height:7px;margin-left:-3px}.vjs-chapter-marker span{position:absolute;bottom:50px;opacity:0;margin-left:-20px;z-index:90;background:rgba(0,0,0,.8);padding:8px;font-size:10px}.vjs-chapter-marker:hover span{opacity:1}.lg-uno-video-icon span{display:block;position:absolute;top:0;left:0;bottom:0;right:0;z-index:1;background:url(icons/play-button.png) no-repeat center center}.lg-video-icon span{display:block;position:absolute;overflow:hidden;max-height:50%;top:15px;left:0;bottom:0;right:0;z-index:1;background:url(icons/play-button.png) no-repeat center center}.lg-uno-thumbnails .lg-outer{width:auto;right:230px;left:10px}.lg-uno-thumbnails .lg-outer .lg-thumb-outer{left:auto;top:0;width:230px;max-height:none;bottom:0;background-color:#999;padding-left:5px;padding-right:5px;margin:0 -10px;overflow-y:auto;position:fixed;right:0;transform:translate3d(30%,0,0);opacity:0;will-change:transform opacity;transition:transform .15s cubic-bezier(0,0,0.25,1) 0,cubic-bezier(0,0,0.25,1) .15s}.lg-uno-thumbnails .lg-outer.lg-components-open .lg-thumb-outer{transform:translate3d(0,0,0);opacity:1}.lg-uno-thumbnails .lg-outer .lg-thumb-item{float:left;will-change:filter;transition:filter .12s ease-in,border-color .12s ease}.lg-uno-thumbnails .lg-outer .lg-thumb{padding:5px;background-color:#1c1c1d}
@@ -0,0 +1,44 @@
1
+ ## creative commons
2
+
3
+ # CC0 1.0 Universal
4
+
5
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER.
6
+
7
+ ### Statement of Purpose
8
+
9
+ The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an "owner") of an original work of authorship and/or a database (each, a "Work").
10
+
11
+ Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works ("Commons") that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others.
12
+
13
+ For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights.
14
+
15
+ 1. __Copyright and Related Rights.__ A Work made available under CC0 may be protected by copyright and related or neighboring rights ("Copyright and Related Rights"). Copyright and Related Rights include, but are not limited to, the following:
16
+
17
+ i. the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work;
18
+
19
+ ii. moral rights retained by the original author(s) and/or performer(s);
20
+
21
+ iii. publicity and privacy rights pertaining to a person's image or likeness depicted in a Work;
22
+
23
+ iv. rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(a), below;
24
+
25
+ v. rights protecting the extraction, dissemination, use and reuse of data in a Work;
26
+
27
+ vi. database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and
28
+
29
+ vii. other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof.
30
+
31
+ 2. __Waiver.__ To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's express Statement of Purpose.
32
+
33
+ 3. __Public License Fallback.__ Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "License"). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer's express Statement of Purpose.
34
+
35
+ 4. __Limitations and Disclaimers.__
36
+
37
+ a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document.
38
+
39
+ b. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law.
40
+
41
+ c. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work.
42
+
43
+ d. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work.
44
+
@@ -0,0 +1,37 @@
1
+ WebVTT parser and validator
2
+ ===========================
3
+
4
+ https://github.com/w3c/webvtt.js
5
+
6
+ Relevant links:
7
+
8
+ * [Live WebVTT Validator](http://quuz.org/webvtt/).
9
+ * [WebVTT Specification](https://w3c.github.io/webvtt/)
10
+
11
+ ## Install
12
+
13
+ You can load the `parser.js` file into your HTML page and the API will become available on
14
+ `window`. Alternatively you can install it using bower (`webvtt`) or npm (`npm install webvtt-parser`).
15
+
16
+ ## API
17
+
18
+ This module exports classes to either through `window` or `require()`/`import`; the ones you are
19
+ likely to need are `WebVTTParser` and `WebVTTSerializer`.
20
+
21
+ To parse a WebVTT string:
22
+
23
+ ```js
24
+ import { WebVTTParser } from 'webvtt-parser';
25
+ const parser = new WebVTTParser();
26
+ const tree = parser.parse(someVTT, 'metadata');
27
+ ```
28
+
29
+ By default, the WebVTT parser only recognizes a small subset of named character entities. If you want the full spec-compliant behavior, pass the content of [[html-entities.json]] to the `WebVTTParser()` constructor.
30
+
31
+ To serialize a WebVTT tree to string:
32
+
33
+ ```js
34
+ import { WebVTTSerializer } from 'webvtt-parser';
35
+ const seri = new WebVTTSerializer();
36
+ const tree = seri.serialize(vttTree.cues)
37
+ ```