mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
Merge pull request #3740 from laloch/fix-video
Fix video playback on xon.sh landing page
This commit is contained in:
commit
4a0d0c7897
1 changed files with 10 additions and 1 deletions
11
docs/_static/landing/js/theme.js
vendored
11
docs/_static/landing/js/theme.js
vendored
|
@ -77,7 +77,16 @@
|
|||
mainClass: 'mfp-fade',
|
||||
removalDelay: 160,
|
||||
preloader: false,
|
||||
fixedContentPos: false
|
||||
fixedContentPos: false,
|
||||
iframe: {
|
||||
patterns: {
|
||||
youtube_short: {
|
||||
index: 'youtu.be/',
|
||||
id: 'youtu.be/',
|
||||
src: 'http://www.youtube.com/embed/%id%?autoplay=1'
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue