/*global jQuery, Drupal, drupalSettings*/ /*jslint white:true, multivar, this, browser:true*/ (function($, Drupal, drupalSettings) { "use strict"; function youtubeVideoEnable(context) { $(context).find(".youtube-player").once("youtube-video-enable").each(function() { var youtubeID, youtubePreview; youtubeID = $(this).attr("data-youtube-id"); $(this).parent().removeClass("no-js"); if(drupalSettings.urlToVideoFilter.autoload) { $(this).empty().append($("