On-demand Youtube embedded player

Hugely improves load speed of pages with lots of embedded Youtube videos by instantly showing clickable and immediately accessible placeholders, then the thumbnails are loaded in background.

Устаревшая версия за 12.05.2015. Перейдите к последней версии.

Ниже показаны версии этого скрипта, в которых изменялся код. Показать все версии.

  • вер. 2.4.1 26.07.2016 fixup for 'prevent parent clipping'
  • вер. 2.4.0 25.07.2016 Per-site rules (pikabu.ru added). Embed the icon as data url. Code cosmetics.
  • вер. 2.3.9 25.07.2016 Consume parents of retardedly positioned videos. Fade-in black background color from transparent.
  • вер. 2.3.8 25.07.2016 fixup: check googvid.length
  • вер. 2.3.7 25.07.2016 Speedup page loading: reduce time spent in MutationObserver 5x times
  • вер. 2.3.5 24.07.2016 Process autoplay=1 videos
  • вер. 2.3.4 24.07.2016 Add translations: Russian
  • вер. 2.3.3 23.07.2016 Original size mode: never remove parent elements
  • вер. 2.3.2 22.07.2016 Keep parent element if it has a class name or id; strip 'overflow:hidden' from parent chain
  • вер. 2.3.1 22.07.2016 Remove +0.49
  • вер. 2.3.0 21.07.2016 Don't round width and height to integer
  • вер. 2.2.8 21.07.2016 fixup
  • вер. 2.2.7 21.07.2016 Fixed: fresh install
  • вер. 2.2.6 21.07.2016 Process disqus comments, force fullscreen when inside nested iframes
  • вер. 2.2.5 20.07.2016 Inaccessible video background #888
  • вер. 2.2.4 20.07.2016 Gray out inaccessible video placeholders
  • вер. 2.2.3 20.07.2016 Replace 'watch?v=' with 'embed/' when loading iframe player
  • вер. 2.2.2 20.07.2016 Missing ;
  • вер. 2.2.1 19.07.2016 fixup: getComputedStyle is implemented differently in Chrome and Firefox
  • вер. 2.2.0 19.07.2016 Keep some attributes of custom positioned videos
  • вер. 2.1.9 19.07.2016 Fixup of option buttons click
  • вер. 2.1.8 19.07.2016 fixup for google results top video
  • вер. 2.1.7 19.07.2016 Don't force custom size to a multiple of 10
  • вер. 2.1.6 18.07.2016 Google results: process top video match
  • вер. 2.1.5 18.07.2016 Make video player size equal to the FYTE container, so it's autostretched when container size changes
  • вер. 2.1.4 17.07.2016 Adjust height to keep proportions when desired player width is constrained by page layout
  • вер. 2.1.3 15.07.2016 Limit storyboard thumbnail height to 33%
  • вер. 2.1.2 15.07.2016 Force visibility of Play button
  • вер. 2.1.1 15.07.2016 fixup: infinite loop
  • вер. 2.1 15.07.2016 Storyboard thumbnails. Faster title fetching. Fix 'Original' size mode
  • вер. 2.0.2 11.07.2016 fixup: FF options size selector
  • вер. 2.0.1 11.07.2016 fixup: allow click-to-play before video info is fetched
  • вер. 2.0 11.07.2016 Custom size options. Use !important for all CSS. Raise CSS specificity for video/iframe by inlining the styles
  • вер. 1.5.5 10.07.2016 fixed some issues with 4:3 embeds, [x]resize now keeps the clicked video's center at a relatively same window position
  • вер. 1.5.4 09.07.2016 Use the actual aspect ratio of video to display the thumbnails, add "Safe" option, autoresize videos when browser window size changes
  • вер. 1.5 30.06.2016 Show video title and duration on thumbnails
  • вер. 1.4.4 11.03.2016 Replace entire OBJECT element
  • вер. 1.4.3 04.02.2016 Adjust thumbnail size on DOMContentLoaded
  • вер. 1.4.2 18.01.2016 fixup tooltip text
  • вер. 1.4.1 18.01.2016 fixup: remove "debugger" call
  • вер. 1.4 18.01.2016 Fix options behavior. Autopause other videos when a new video starts to play.
  • вер. 1.3.3 18.01.2016 Support @connect-src
  • вер. 1.3.2 19.12.2015 Rename
  • вер. 1.3.1 19.12.2015 No preemptive fade-out on HTML5 video
  • вер. 1.3 19.12.2015 Fix playback on new Youtube videos + fade-out
  • вер. 1.2.3 10.11.2015 don't process non-video embeddings like that on last.fm
  • вер. 1.2.2 10.11.2015 fix positioning via !important
  • вер. 1.2.1 08.11.2015 increase specificity
  • вер. 1.2 24.10.2015 +option Play directly
  • вер. 1.1.2 12.10.2015 update to setMutationHandler

Показать все версии скрипта