diff --git a/docs/source/whatsnew/pr/enable-to-add-extra-attrs-to-iframe.rst b/docs/source/whatsnew/pr/enable-to-add-extra-attrs-to-iframe.rst deleted file mode 100644 index 1954bc4..0000000 --- a/docs/source/whatsnew/pr/enable-to-add-extra-attrs-to-iframe.rst +++ /dev/null @@ -1,38 +0,0 @@ -``YouTubeVideo`` autoplay and the ability to add extra attributes to ``IFrame`` -=============================================================================== - -You can add any extra attributes to the `` - -Related to the above, the ``YouTubeVideo`` class now takes an -``allow_autoplay`` flag, which sets up the iframe of the embedded YouTube video -such that it allows autoplay. - -.. note:: - Whether this works depends on the autoplay policy of the browser rendering - the HTML allowing it. It also could get blocked by some browser extensions. - -Try it out! -:: - - In [1]: from IPython.display import YouTubeVideo - - In [2]: YouTubeVideo("dQw4w9WgXcQ", allow_autoplay=True) - -🙃 diff --git a/docs/source/whatsnew/pr/pastebin-expiry-days.rst b/docs/source/whatsnew/pr/pastebin-expiry-days.rst deleted file mode 100644 index 68faa78..0000000 --- a/docs/source/whatsnew/pr/pastebin-expiry-days.rst +++ /dev/null @@ -1,7 +0,0 @@ -Pastebin magic expiry days option -================================= - -The Pastebin magic now has ``-e`` option to determine -the number of days for paste expiration. For example -the paste that created with ``%pastebin -e 20 1`` magic will -be available for next 20 days. diff --git a/docs/source/whatsnew/version7.rst b/docs/source/whatsnew/version7.rst index 42e12e5..20fa039 100644 --- a/docs/source/whatsnew/version7.rst +++ b/docs/source/whatsnew/version7.rst @@ -80,6 +80,49 @@ New Features: - Reword the YouTubeVideo autoplay WN :ghpull:`13147` +Highlighted features +-------------------- + + +``YouTubeVideo`` autoplay and the ability to add extra attributes to ``IFrame`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can add any extra attributes to the `` + +Related to the above, the ``YouTubeVideo`` class now takes an +``allow_autoplay`` flag, which sets up the iframe of the embedded YouTube video +such that it allows autoplay. + +.. note:: + Whether this works depends on the autoplay policy of the browser rendering + the HTML allowing it. It also could get blocked by some browser extensions. + +Try it out! +:: + + In [1]: from IPython.display import YouTubeVideo + + In [2]: YouTubeVideo("dQw4w9WgXcQ", allow_autoplay=True) + + + Thanks ------ @@ -137,6 +180,16 @@ Of particular interest are the following Pull-requests: :ghpull:`13056` - Make Ipython.utils.timing work with jupyterlite :ghpull:`13050`. +Pastebin magic expiry days option +--------------------------------- + +The Pastebin magic now has ``-e`` option to determine +the number of days for paste expiration. For example +the paste that created with ``%pastebin -e 20 1`` magic will +be available for next 20 days. + + + Thanks