ALL


  YouTube video player control bar becomes transparent

YouTube has made an update on its video player control bar and made it general available to the public now. The update is to make the video player control bar transparent and float on top of the videos being played. There are no functional changes about this control bar. The original control bar is black but not transparent.After the update, the control bar looks like:YouTube started to test this new change back in April 2015. At that time, it was tested in a small scale and only a small group of people can see this change. Now it's generally available for public. Compared to the old desi...

5,709 0       HTML 5 YOUTUBE VIDEO PLAYER TRANSPARENT


  How to draw pentagram in HTML5 canvas

I wrote simple function to this magical symbol I like so much:123456789101112131415161718192021222324252627282930<!doctype html><html><body>    <canvas id="c" width="500" height="500"></canvas>    <script> var ctx = (document.getElementById("c")).getContext("2d"); // draws rotated pentagram with or without cirlefunction pentagram( ctx, x, y, radius, rotate, circle ){    ctx.beginPath();     for ( var i = 0; i <= 4 * Math.PI; i += ( 4 * Math.PI ) / 5 ) { &nb...

8,447 0       HTML 5 CANVAS PENTAGRAM