prd

Posted Posted in PHP

Use the below function for small tests 🙂 /** * Print multiple arrays in a pretty way and die() * * @param mixed * @return […]

VideoJS with Youtube

Posted Posted in Video

Videojs with VideoJS Youtube Add CSS and JS resources <link href=”https://cdn.rawgit.com/videojs/video.js/v5.4.4/dist/video-js.css” rel=”stylesheet”> <script src=”https://cdn.rawgit.com/videojs/video.js/v5.4.4/dist/video.js”></script> <script src=”https://cdn.rawgit.com/eXon/videojs-youtube/v2.0.3/dist/Youtube.js”></script> Then add your video. <video id=”vide-01″ class=”video-js vjs-default-skin” controls […]

ES6 Template Syntax

Posted Posted in ES6

Syntax Template Strings use back-ticks (“) rather than the single or double quotes we’re used to with regular strings. A template string could thus be […]