
#Full screen youtube autoplay url format 2018 code
It is not designed to work with Internet Explorer.ĭid I mention that I’ve written a WordPress plugin that makes this all very easy and customizable? Check it out! Code Updates This code has been tested in Chrome, Firefox, Edge, and Chrome for Android. If the video is paused, the script shows a “play” button over the related videos box. When the replay button is clicked, the video plays over from the beginning again. When the video ends, the script shows a custom “replay” button over the entire embed. Under the hood, the script hooks into the YouTube API to determine whether the video is playing. To see the full, unminified version of the script, click here. If you end up using this code, I would greatly appreciate a link back to this post as attribution, if possible!

If you’re not using WordPress, you can integrate this code with your website: This is the final result (pay attention at the end of the video): For those of us who still want to be able to embed YouTube videos without related videos showing at the end, there is a snippet of code we can use as a workaround. This option was likely deprecated because it was not seeing a lot of use, but the sudden change has left the rest of us to wonder why rel=0 is not working to hide related videos like it used to. YouTube Player API Release Notes - August 23, 2018 However, you will have the option of specifying that the related videos shown in the player should be from the same channel as the video that was just played. The effect of the change is that you will not be able to disable related videos. The behavior for the rel parameter is changing on or after September 25, 2018. It is no longer possible to fully disable related videos using rel=0. However in September 2018, YouTube changed their embed code so that this rel=0 trick no longer fully removes the related videos (instead it makes it so the related videos come from the same YouTube channel as the video displayed). Last update: May 22nd, 2020 - Version 6.1.Before September 2018, a webmaster could disable related videos on YouTube embeds by simply adding ?rel=0 to the iframe’s src like this: LICENSEĪllVideos is a Joomla plugin developed by JoomlaWorks, released under the GNU General Public License.



Fun videos, product presentations, audio podcasts, you name it! WHY ALLVIDEOS? Use the plugin to easily embed video & audio content from all major 3rd party media providers (in alphabetical order: Dailymotion, Facebook, Flickr, Mixcloud, SoundCloud, Twitch, Vimeo, YouTube) inside your Joomla articles, K2, Virtuemart, Kunena or any other Joomla component that supports "content" plugins.Īdditionally, it allows you to playback any web-native video/audio file format hosted on your server or even a remote server, providing great flexibility when it comes to media content embedding.
