Showing posts with label YouTube. Show all posts
Showing posts with label YouTube. Show all posts

Chromecast Support for YouTube Live Streams

Donal Trung 1:41 PM Add Comment
Chromecast is now even more useful: you can watch YouTube's live streams. This should work in YouTube's mobile apps and in Chrome for Android.

Here's a screenshot from YouTube's app for Android:


"With Chromecast available in 18 countries and YouTube live streams happening on the regular, we wanted to share one of our favorite ways to use Chromecast. Head to one of the live streams in the YouTube app, just press the cast button, then kick back and enjoy these live events from the comfort of your living room," informs Google.

Here are some live streams you can watch:

* ASP World Tour (surfing)
* Adidas Dugout live from Rio (football / soccer)
* Birds, puppies, cats and more streaming live @ The Pet Collective
* other live streams

Apparently, "YouTube Live streams cannot be viewed from Germany." Here's an explanation: "because of the German law (RStV), you must have a broadcast licence from the media authorities when you make a live stream that can reach more than 500 people at the same time. Not getting one would result in a fine of up to 500000€. "

YouTube Switches to the HTML5 Player in Chrome

Donal Trung 2:29 PM Add Comment
YouTube has a page that lets you switch to the HTML5 player. If you visit that page in Chrome, you'll only see the message: "The HTML5 player is currently used when possible" and you can't switch to the Flash player. In all the other browsers, the Flash player is enabled by default and you can click "request the HTML5 player" to enable that player.


Here's the same page in Firefox:


It turns out that the HTML5 player is now enabled by default in Chrome and it's the only player you can use, at least officially. YouTube's HTML5 player now supports all the features of the Flash player, including ads and encrypted streams.

If you don't like the HTML5 player and you want to switch to the Flash player, install this extension.

YouTube's HTML5 Player Shows Bandwidth Stats

Donal Trung 3:18 AM Add Comment
YouTube's HTML5 player has recently added bandwidth stats. Just right click the player and select "stats for nerds". It's fairly easy to tell if you're using the HTML5 player or the Flash player: if you see a menu item called "about the HTML5 player" you're obviously using the HTML5 player. Go to YouTube's HTML5 video page and click "Request the HTML5 player" to enable it for most videos.


"In computer networking and computer science, bandwidth, network bandwidth, data bandwidth, or digital bandwidth is a measurement of bit-rate of available or consumed data communication resources expressed in bits per second or multiples of it," informs Wikipedia.

Bandwidth stats are only displayed in Chrome and they're probably related to the DASH support. YouTube uses adaptive streaming, so that you get the most appropriate video quality for your bandwidth, even if it fluctuates.

Google also has a video quality report page, which shows information about YouTube streaming, including some stats for each major ISP in your area. YouTube used to offer a speed test service, but this is no longer available.

A YouTube Experiment Resizes the Player Dynamically

Donal Trung 2:32 AM Add Comment
There's a new YouTube experiment that changes the video player's size, depending on the browser window's size. When resizing Chrome's window, YouTube switches from 360p to 480p and to 720p, while the player gets bigger.

Here's the same video in a larger player (480p) and an almost fullscreen player (720p) on a 1080p display:



Here's the regular YouTube interface. The screenshot shows a maximized Chrome window on a 1080p display, just like the previous screenshot:


YouTube's "stats for nerds" show the size of the player ("dimensions") and the video resolution:


The nice thing is that the player resizes automatically and you don't have to click a button. It's the power of responsive design. The YouTube player still has a "large player" button, but it only moves the right sidebar and centers the player.

How to try the new interface? If you use Chrome, Firefox, Opera, Safari or Internet Explorer 8+:

1. open youtube.com in a new tab

2. load your browser's developer console:

* Chrome or Opera 15+ - press Ctrl+Shift+J for Windows/Linux/ChromeOS or Command-Option-J for Mac

* Firefox - press Ctrl+Shift+K for Windows/Linux or Command-Option-K for Mac

* Internet Explorer 8+ - press F12 and select the "Console" tab

* Safari 6+ - if you haven't enabled the Develop menu, open Preferences from the Safari menu, go to the Advanced tab and check "Show Develop menu in menu bar". Close Preferences and then press Command-Option-C to show the console.

* Opera 12 - press Ctrl+Shift+I for Windows/Linux or Command-Option-I for Mac, then click "Console".

3. paste the following code which changes a YouTube cookie:

document.cookie="VISITOR_INFO1_LIVE=E_OLzg3yeLw; path=/; domain=.youtube.com";window.location.reload();

4. press Enter and close the console.

To go back to the regular interface, use the same instructions, but replace the code from step 3 with this one:

document.cookie="VISITOR_INFO1_LIVE=; path=/; domain=.youtube.com";window.location.reload();

{ Thanks, Maurice Wahba. }

YouTube Has a New Interface

Donal Trung 1:25 PM Add Comment
After many months of experiments, YouTube's new interface is finally available to everyone. The layout is center aligned, the header is sticky, the guide sidebar is now a "hamburger"-style menu that includes your playlists, subscriptions and more.

"YouTube now has a center-aligned look, fitting neatly on any screen size, and feeling similar to the mobile apps you're spending almost half your YouTube time with. You can quickly flip between what's recommended and popular in 'What to Watch' like Postmodern Jukebox's Timber, and the latest from your subscribed channels like iamOTHER in 'My Subscriptions,' with both options now front and center. Click the guide icon to the right of the YouTube logo at any time to see your playlists, subscriptions and more."






You can also check some screenshots from YouTube's experiments: July, September, October, November.

YouTube Tests New Mobile Site UI

Donal Trung 4:18 PM Add Comment
YouTube tests a new interface of the mobile site. It's closer to the mobile app UI, it shows the description and the number of likes and dislikes, a red "subscribe" button and action buttons are placed below the video.


There are other changes: the new YouTube logo, the "hamburger" menu, bigger thumbnails, new font, gray background.


{ Thanks, Nedas. }

YouTube's Center-Aligned UI, Ready For Launch

Donal Trung 4:57 PM Add Comment
YouTube continues to refine its center-aligned experimental interface, first spotted in July. The latest tweaks include a menu button placed next to the YouTube logo, a gear button placed next to the "upload" button and a sidebar that remembers the latest display state.


Just like in the previous iterations, the header is sticky and the layout is center-aligned.



The homepage uses carousels and shows contextual menus that let you customize the sections.


YouTube also shows a tour guide, which means that the updated interface is almost ready to be released for everyone.




Here's how you can enable the experimental interface. If you use Chrome, Firefox, Opera, Safari or Internet Explorer 8+:

1. open youtube.com in a new tab

2. load your browser's developer console:

* Chrome or Opera 15+ - press Ctrl+Shift+J for Windows/Linux/ChromeOS or Command-Option-J for Mac

* Firefox - press Ctrl+Shift+K for Windows/Linux or Command-Option-K for Mac

* Internet Explorer 8+ - press F12 and select the "Console" tab

* Safari 6+ - if you haven't enabled the Develop menu, open Preferences from the Safari menu, go to the Advanced tab and check "Show Develop menu in menu bar". Close Preferences and then press Command-Option-C to show the console.

* Opera 12 - press Ctrl+Shift+I for Windows/Linux or Command-Option-I for Mac, then click "Console".

3. paste the following code which changes a YouTube cookie:

document.cookie="VISITOR_INFO1_LIVE=LlWIQlLwL_Y; path=/; domain=.youtube.com";window.location.reload();

4. press Enter and close the console.

To go back to the regular interface, use the same instructions, but replace the code from step 3 with this one:

document.cookie="VISITOR_INFO1_LIVE=; path=/; domain=.youtube.com";window.location.reload();

{ Thanks, Rubén. }

Google's Video Duration Experiment

Donal Trung 1:32 PM Add Comment
This is a strange experiment: Google tests adding the duration of a video to the search result title. I've noticed this experiment by searching for [zero 7 in the waiting line]. Google seems to change the title only for YouTube videos, but not for all of them.


The duration of the video is already displayed on top of the thumbnail, so this is redundant.

YouTube Tweaks Experimental Center-Aligned UI

Donal Trung 1:39 PM Add Comment
YouTube continues to tweak the center-aligned UI experiment. The latest version includes a new upload button, a refined guide sidebar with new icons and "more" drop-downs for playlists and subscriptions, a list of recommended channels and probably other features.


The "guide" sidebar is displayed by default only if there's enough room. If there isn't, the sidebar is hidden and you need to click "guide" to see your playlists, subscriptions, video history and more.


The layout still uses cards and it's center-aligned.


Here's how you can enable the experimental interface. If you use Chrome, Firefox, Opera, Safari or Internet Explorer 8+:

1. open youtube.com in a new tab

2. load your browser's developer console:

* Chrome or Opera 15+ - press Ctrl+Shift+J for Windows/Linux/ChromeOS or Command-Option-J for Mac

* Firefox - press Ctrl+Shift+K for Windows/Linux or Command-Option-K for Mac

* Internet Explorer 8+ - press F12 and select the "Console" tab

* Safari 6 - if you haven't enabled the Develop menu, open Preferences from the Safari menu, go to the Advanced tab and check "Show Develop menu in menu bar". Close Preferences and then press Command-Option-C to show the console.

* Opera 12 - press Ctrl+Shift+I for Windows/Linux or Command-Option-I for Mac, then click "Console".

3. paste the following code which changes a YouTube cookie:

document.cookie="VISITOR_INFO1_LIVE=rkZGzYxfbLQ; path=/; domain=.youtube.com";window.location.reload();

4. press Enter and close the console.

To go back to the regular interface, use the same instructions, but replace the code from step 3 with this one:

document.cookie="VISITOR_INFO1_LIVE=; path=/; domain=.youtube.com";window.location.reload();

{ Thanks, Florian K. }

YouTube's Player, Back to Simple Buttons?

Donal Trung 12:58 PM Add Comment
Back in September, YouTube's player grouped controls for annotations, player size and video quality. A few weeks ago, the "large player" button has been removed from the drop-down and brought back to its original position, next to the "full screen" button.


If the video doesn't have annotations and you use the Flash player, you'll even see the video quality drop-down without an additional click:

YouTube Easter Egg for Doge Meme

Donal Trung 5:04 PM Add Comment
"Doge is a slang term for 'dog' that is primarily associated with pictures of Shiba Inus (nicknamed 'Shibe') and internal monologue captions on Tumblr. These photos may be photoshopped to change the dog's face or captioned with interior monologues in Comic Sans font," informs KnowYourMeme.

YouTube has an Easter Egg that changes the search results page for [doge meme]: colorful text, Comic Sans, much wow, so hip, help plz.



{ via Phandroid, thanks Sushubh }

YouTube's Follow Back in Google+

Donal Trung 2:26 PM Add Comment
Emanuele Bartolomucci spotted a new YouTube feature: when you're watching a video from a channel associated with a page that follows you in Google+, you get this message: "X added you on Google+. Follow back for exclusive updates!"


I wasn't able to trigger this feature, so it's probably an experiment. It's also a sign that YouTube will integrate more with Google+.

{ Thanks, Emanuele. }

YouTube Tests Channel Cards

Donal Trung 2:43 PM Add Comment
After adding music cards and testing cards for shows, YouTube experiments with cards for channels. They're displayed in the right sidebar of the search results page and show the latest videos from the channel and some of its playlists.

Here's an example for Google Chrome. The channel is still included in the list of search results.


Here's how you can enable the experimental feature. If you use Chrome, Firefox, Opera, Safari or Internet Explorer 8+:

1. open youtube.com in a new tab

2. load your browser's developer console:

* Chrome or Opera 15+ - press Ctrl+Shift+J for Windows/Linux/ChromeOS or Command-Option-J for Mac

* Firefox - press Ctrl+Shift+K for Windows/Linux or Command-Option-K for Mac

* Internet Explorer 8+ - press F12 and select the "Console" tab

* Safari 6 - if you haven't enabled the Develop menu, open Preferences from the Safari menu, go to the Advanced tab and check "Show Develop menu in menu bar". Close Preferences and then press Command-Option-C to show the console.

* Opera 12 - press Ctrl+Shift+I for Windows/Linux or Command-Option-I for Mac, then click "Console".

3. paste the following code which changes a YouTube cookie:

document.cookie="VISITOR_INFO1_LIVE=2IS0PWox26Q; path=/; domain=.youtube.com";window.location.reload();

4. press Enter and close the console.

Some examples of searches: [google], [apple], [comedy central].

To go back to the regular interface, use the same instructions, but replace the code from step 3 with this one:

document.cookie="VISITOR_INFO1_LIVE=; path=/; domain=.youtube.com";window.location.reload();

{ via Rubén. }

Blue YouTube

Donal Trung 2:49 PM Add Comment
I like blue, so I was pleasantly surprised to see that YouTube made some UI elements blue (#2793e6): the like button and the line below the number of views. Maybe someone was unhappy that Android KitKat removed all the blue icons and decided to compensate in other ways or maybe it's an attempt to calm YouTube users and make them stop posting silly comments.


YouTube Adds Google+ Comments

Donal Trung 4:15 PM Add Comment
YouTube started to roll out the new commenting system powered by Google+.

Here are the new features:

* Smarter sorting: see more from people you know
* Meaningful conversations: new threaded format and +mentions encourage discussion.
* Comments appear from both YouTube and Google+.



"Comments you care about show first. You'll see comments at the top of the list from people in your Google+ Circles, from creators, and from popular personalities. Comments with many likes and replies will rank highly as well. Choose Newest First to see the most recent comments instead. Replies are threaded (like Gmail) so you can easily follow conversations. Google+ posts that link to videos or channels will also appear as comments on YouTube, marked 'via Google+'. You can report any comment for spam or abuse. If you're a creator, you can also use comment moderation tools for comments on your videos or your channels," informs Google.

"By default, your comment will be public on YouTube. You can also have a more private discussion by sharing your comment just to specific people or Google+ circles. Click Edit to enter the people and circles you want. On mobile apps, tap the field that shows the visibility of your post. You can also share your comment as a post on Google+. Only the people you choose will be able to see the comment on Google+."


You can also add rich text using the old Google Talk tricks: *bold*, _italic_, -strikethrough-.

The new commenting system is already enabled for YouTube channels. Here's a random YouTube channel that uses it.

YouTube Drops Support for 1080p Streams in the Regular HTML5 Player

Donal Trung 4:27 PM Add Comment
I've mentioned in the previous post about Media Source Extensions and YouTube's HTML5 player. For now, only Chrome, Opera and IE11 for Windows 8 support Media Source Extensions. If you're using Firefox, Safari or an old version of IE, you're out of luck.

Why is this important? YouTube switched to adaptive streams in the Flash player and now does the same thing for the HTML5 player, but this requires Media Source Extensions. The adaptive DASH player uses separate chunked streams for audio and video, so that YouTube can switch the stream to a lower or higher bit rate, depending on the network bandwidth.

A few days ago, YouTube removed the non-DASH streams for 480p and 1080p. This means that you'll no longer be able to watch 1080p videos in YouTube's HTML5 player if you use Firefox or Safari. Here's an example of video that includes the 480p and 1080p options in the Flash player and the DASH HTML5 player, but not the regular HTML5 player.

Firefox screenshot:


Chrome screenshot:


This change affects desktop browsers and mobile browsers, third-party mobile YouTube players, as well as the apps and extensions that download YouTube videos and break YouTube's terms of use. You're not affected if you use the Flash player, the HTML5 player in Chrome, Opera and IE11 or YouTube's mobile apps.

Maybe this was one of the reasons why YouTube decided to make the video quality drop-down less visible.

Update: Mozilla plans to add support for Media Source Extensions. "Timeline wise we are hoping to support enough of the spec to support the YouTube production player by the end of the year but will need to collaborate with YouTube to ensure that we're focusing on the right things."

YouTube Shows if Your Browser Supports Media Source Extensions

Donal Trung 3:31 PM Add Comment
YouTube has recently updated the HTML5 player's page and now shows if your browser supports Media Source Extensions for H.264 or WebM VP9. I loaded the page in various browsers and Chrome is the only browser that supports both containers and Media Source Extensions. Internet Explorer 11 also supports Media Source Extensions, but you need to install a Google software to play WebM videos in IE.


The W3C draft explains that this "extends HTMLMediaElement to allow JavaScript to generate media streams for playback. Allowing JavaScript to generate streams facilitates a variety of use cases like adaptive streaming and time shifting live streams."

If your browser supports Media Source Extensions, YouTube's HTML5 player can use the adaptive streaming feature that's already available in the Flash player. You can also right-click the player, select "stats for nerds" and see if you can find "DASH: yes" - this means that YouTube uses adaptive streaming, slices videos and only loads the slices when they are needed. Here's a screenshot from IE11 in Windows 8.1:


"IE11 introduces support for MPEG-DASH media streaming through HTML5 Media Source Extensions (MSE). MSE extends the video and audio elements that you can dynamically change for a media stream without using plug-ins. This gives you such things as adaptive media streaming, live streaming, splicing videos, and video editing. This feature is not supported in IE11 on Windows 7," informs Microsoft.

With the introduction of Media Source Extensions and Encrypted Media Extensions, sites like Netflix or Hulu can switch to HTML5 players and no longer rely on plug-ins or separate apps. The downside for users is that it will no longer be easy to download videos from HTML5 players, since the DRM code will generate streams dynamically.

YouTube Cards for Shows

Donal Trung 12:35 PM Add Comment
YouTube tests a new interface for the shows card that looks just like the music card. It displays a large thumbnail, a list of seasons and episodes when you search for the name of the show.

"A YouTube show is an episodic or consistently themed web series consisting of a cast along with one or various topics, styles, and/or storylines. A viewer can subscribe directly to a show as opposed to an entire channel. All episodes in a show are created by a single partner, organized into seasons and delivered consistently. Episodes may be ad-supported, purchased by rental or not monetized at all," explains YouTube.



Here's the existing interface:


Here's how you can enable the experimental feature. If you use Chrome, Firefox, Opera, Safari or Internet Explorer 8+:

1. open youtube.com in a new tab

2. load your browser's developer console:

* Chrome or Opera 15+ - press Ctrl+Shift+J for Windows/Linux/ChromeOS or Command-Option-J for Mac

* Firefox - press Ctrl+Shift+K for Windows/Linux or Command-Option-K for Mac

* Internet Explorer 8+ - press F12 and select the "Console" tab

* Safari 6 - if you haven't enabled the Develop menu, open Preferences from the Safari menu, go to the Advanced tab and check "Show Develop menu in menu bar". Close Preferences and then press Command-Option-C to show the console.

* Opera 12 - press Ctrl+Shift+I for Windows/Linux or Command-Option-I for Mac, then click "Console".

3. paste the following code which changes a YouTube cookie:

document.cookie="VISITOR_INFO1_LIVE=c1OXNGmJ090; path=/; domain=.youtube.com";window.location.reload();

4. press Enter and close the console.

To go back to the regular interface, use the same instructions, but replace the code from step 3 with this one:

document.cookie="VISITOR_INFO1_LIVE=; path=/; domain=.youtube.com";window.location.reload();

Some examples of searches: [lifehacker], [designers at work], [classical music], [gta].

{ Thanks, Rubén. }

YouTube Updates Center-Aligned UI, Adds Carousel

Donal Trung 12:12 PM Add Comment
YouTube's experimental interface now uses carousels on the homepage, so it can show more videos from a channel. Video thumbnails are also much bigger. The regular interface also uses carousels, but only when you are signed in.

It's another version of the center-aligned layout, which uses a persistent header, a guide sidebar that's visible only when you click "Guide" and a card-style interface.




Here's how you can enable the experimental feature. If you use Chrome, Firefox, Opera, Safari or Internet Explorer 8+:

1. open youtube.com in a new tab

2. load your browser's developer console:

* Chrome or Opera 15+ - press Ctrl+Shift+J for Windows/Linux/ChromeOS or Command-Option-J for Mac

* Firefox - press Ctrl+Shift+K for Windows/Linux or Command-Option-K for Mac

* Internet Explorer 8+ - press F12 and select the "Console" tab

* Safari 6 - if you haven't enabled the Develop menu, open Preferences from the Safari menu, go to the Advanced tab and check "Show Develop menu in menu bar". Close Preferences and then press Command-Option-C to show the console.

* Opera 12 - press Ctrl+Shift+I for Windows/Linux or Command-Option-I for Mac, then click "Console".

3. paste the following code which changes a YouTube cookie:

document.cookie="VISITOR_INFO1_LIVE=lnq3tYnrDNU; path=/; domain=.youtube.com";window.location.reload();

4. press Enter and close the console.

To go back to the regular interface, use the same instructions, but replace the code from step 3 with this one:

document.cookie="VISITOR_INFO1_LIVE=; path=/; domain=.youtube.com";window.location.reload();

{ Thanks, Rubén and Ramona Brown. }

Force YouTube to Use the HTML5 Player

Donal Trung 8:14 AM Add Comment
YouTube's HTML5 player is great, but it's not enabled for all the videos. Even if you go to youtube.com/html5 and join the HTML5 trial, you'll find a lot of videos that use the Flash player. "Some videos with ads are not yet supported (they will play in the Flash player)," mentions the site.

There's a simple Greasemonkey script that forces YouTube to use the HTML5 player for almost all the videos you watch at youtube.com. You need to install Greasemonkey if you use Firefox or Tampermonkey if you use Chrome, then click the "Install" button here.

[Update (Octomber 3rd, 2013): For Chrome, use the old version from Sept 23.]

The script works better in Firefox. If you install the script in Chrome, it will disable the new Ajax interface, but everything else seems to work well.


Here's a video you can use to test the script. Please note that the script doesn't work for embedded videos.