YouTube has recently launched a new version of the website with a new layout. There are several things I do not like, but the main annoyance is that apparently I can not remove the videos I have already watched from the feed. If you are like me and prefer the old layout, you can do so by accessing: http://www.youtube.com/index_ajax. It seems to work fine showing your subscriptions and friends activities, but it just displays “Authorization Error. ” at the top. I have not found any problem for now, but it’s possible that a few things do not work. Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011. www.cnx-software.com
Autoplay Embedded Youtube Videos
You may want to autoplay some Youtube videos when you embed them in a website. By default, this is disabled (which is actually good). Here are the simple instructions to enable autoplay: Go to the Youtube video you’d like to embed in your website, click Share then Embed and copy the iFrame code which should look like: <iframe width=”560″ height=”345″ src=”http://www.youtube.com/embed/hOrJqV13TKs?rel=0″ frameborder=”0″ allowfullscreen></iframe> In order to enable Youtube autoplay, simply change the code as follows: <iframe width=”560″ height=”345″ src=”http://www.youtube.com/embed/hOrJqV13TKs?rel=0&autoplay=1” frameborder=”0″ allowfullscreen></iframe> That’s all. Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011. www.cnx-software.com
Support for HTML5 Youtube Videos (iFrame) in WordPress
WordPress 3.x will automatically remove iFrame tags when you switch between HTML and Visual mode. In order to prevent that issue, simply install TSL iframe unfilter plugin.This will fix the issue of Youtube iframe embedded code disappearing or any other iframe code you’ve got. To automatically center Youtube videos using the iframe embedded code (supporting for flash and HTML5), edit style.css in Appearance->Editor, and add the lines /* Align iFrame Youtube Videos */ .youtube-player { display: block; margin: 0 auto; } Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011. www.cnx-software.com