{"id":286,"date":"2018-10-04T17:31:55","date_gmt":"2018-10-04T17:31:55","guid":{"rendered":"https:\/\/hms-performance.com\/videos"},"modified":"2019-02-25T15:42:24","modified_gmt":"2019-02-25T14:42:24","slug":"videos","status":"publish","type":"page","link":"https:\/\/hms-performance.com\/en\/videos\/","title":{"rendered":"Videos"},"content":{"rendered":"<link rel='stylesheet' id='ff-dynamic-css1' type='text\/css' href='https:\/\/hms-performance.com\/wp-content\/resources\/flow-flow\/css\/stream-id1.css?ver=1551112496'\/><!-- Flow-Flow \u2014 Social stream plugin for WordPress -->\n<div class=\"ff-stream\" data-plugin=\"flow_flow\" id=\"ff-stream-1\"><span class=\"ff-loader\"><span class=\"ff-square\" ><\/span><span class=\"ff-square\"><\/span><span class=\"ff-square ff-last\"><\/span><span class=\"ff-square ff-clear\"><\/span><span class=\"ff-square\"><\/span><span class=\"ff-square ff-last\"><\/span><span class=\"ff-square ff-clear\"><\/span><span class=\"ff-square\"><\/span><span class=\"ff-square ff-last\"><\/span><\/span><\/div>\n<script type=\"text\/javascript\">\n(function ( $ ) {\n    \"use strict\";\n\n    var hash = '1754529858.1bfff8039a13db1d2e52e00ab73f2f4db243b7f89ed7bee0fe1498c44d4bb900ee17ab53920781f76f243273d9df491d';\n\n    var opts = window.FlowFlowOpts || {\"streams\":{},\"open_in_new\":\"yep\",\"filter_all\":\"All\",\"filter_search\":\"Search\",\"expand_text\":\"Expand\",\"collapse_text\":\"Collapse\",\"posted_on\":\"Posted on\",\"followers\":\"Followers\",\"following\":\"Following\",\"posts\":\"Posts\",\"show_more\":\"Show more\",\"date_style\":\"wpStyleDate\",\"dates\":{\"Yesterday\":\"Yesterday\",\"s\":\"s\",\"m\":\"m\",\"h\":\"h\",\"ago\":\"ago\",\"months\":[\"Jan\",\"Feb\",\"March\",\"April\",\"May\",\"June\",\"July\",\"Aug\",\"Sept\",\"Oct\",\"Nov\",\"Dec\"]},\"lightbox_navigate\":\"Navigate with arrow keys\",\"view_on\":\"View on\",\"view_on_site\":\"View on site\",\"view_all\":\"View all\",\"comments\":\"comments\",\"scroll\":\"Scroll for more\",\"no_comments\":\"No comments yet.\",\"be_first\":\"Be the first!\",\"server_time\":1775658743,\"forceHTTPS\":\"nope\",\"isAdmin\":false,\"ajaxurl\":\"https:\\\/\\\/hms-performance.com\\\/wp-admin\\\/admin-ajax.php\",\"isLog\":false,\"plugin_base\":\"https:\\\/\\\/hms-performance.com\\\/wp-content\\\/plugins\\\/flow-flow\",\"plugin_ver\":\"4.1.5\"};\n\n    var isLS = isLocalStorageNameSupported();\n\n    var FF_resource = window.FF_resource ||\n        {\n            scriptDeferred: $.Deferred(),\n            styleDeferred:  $.Deferred(),\n            scriptLoading: false,\n            styleLoading: false\n        };\n\n    if (!window.FF_resource) window.FF_resource = FF_resource;\n    if (!window.FlowFlowOpts) window.FlowFlowOpts = opts;\n\n    var data = {\n        'action': 'fetch_posts',\n        'stream-id': '1',\n        'disable-cache': '',\n        'hash': hash,\n        'page': '0',\n        'preview': '0'\n    };\n\n    var isMobile = \/android|blackBerry|iphone|ipad|ipod|opera mini|iemobile\/i.test( navigator.userAgent );\n\n    var streamOpts = {\"name\":\"Video Wall\",\"moderation\":\"nope\",\"order\":\"smartCompare\",\"posts\":\"30\",\"page-posts\":\"8\",\"cache\":\"yep\",\"cache_lifetime\":\"10\",\"gallery\":\"yep\",\"gallery-type\":\"classic\",\"private\":\"nope\",\"hide-on-desktop\":\"nope\",\"hide-on-mobile\":\"nope\",\"max-res\":\"nope\",\"show-only-media-posts\":\"yep\",\"titles\":\"nope\",\"hidemeta\":\"yep\",\"hidetext\":\"nope\",\"headingcolor\":\"rgb(59, 61, 64)\",\"subheadingcolor\":\"rgb(114, 112, 114)\",\"hhalign\":\"center\",\"bgcolor\":\"rgba(240, 240, 240, 0)\",\"filter\":\"nope\",\"filtercolor\":\"rgb(205, 205, 205)\",\"mobileslider\":\"nope\",\"viewportin\":\"yep\",\"width\":\"260\",\"margin\":\"20\",\"layout\":\"masonry\",\"theme\":\"classic\",\"gc-style\":\"style-1\",\"upic-pos\":\"timestamp\",\"upic-style\":\"round\",\"icon-style\":\"label1\",\"cardcolor\":\"rgb(0, 0, 0)\",\"namecolor\":\"rgb(255, 220, 0)\",\"textcolor\":\"rgb(255, 255, 255)\",\"linkscolor\":\"rgb(255, 220, 0)\",\"restcolor\":\"rgb(255, 255, 255)\",\"shadow\":\"rgba(0, 0, 0, 0.05)\",\"bcolor\":\"rgba(0, 0, 0, 0.75)\",\"talign\":\"left\",\"icons-style\":\"outline\",\"cards-num\":\"3\",\"scrolltop\":\"yep\",\"c-desktop\":\"2\",\"c-laptop\":\"2\",\"c-tablet-l\":\"2\",\"c-tablet-p\":\"2\",\"c-smart-l\":\"2\",\"c-smart-p\":\"1\",\"s-desktop\":\"15\",\"s-laptop\":\"15\",\"s-tablet-l\":\"10\",\"s-tablet-p\":\"10\",\"s-smart-l\":\"5\",\"s-smart-p\":\"5\",\"m-c-desktop\":\"2\",\"m-c-laptop\":\"2\",\"m-c-tablet-l\":\"2\",\"m-c-tablet-p\":\"2\",\"m-c-smart-l\":\"1\",\"m-c-smart-p\":\"1\",\"m-s-desktop\":\"30\",\"m-s-laptop\":\"25\",\"m-s-tablet-l\":\"20\",\"m-s-tablet-p\":\"15\",\"m-s-smart-l\":\"10\",\"m-s-smart-p\":\"5\",\"j-h-desktop\":\"260\",\"j-h-laptop\":\"240\",\"j-h-tablet-l\":\"220\",\"j-h-tablet-p\":\"200\",\"j-h-smart-l\":\"180\",\"j-h-smart-p\":\"160\",\"j-s-desktop\":\"0\",\"j-s-laptop\":\"0\",\"j-s-tablet-l\":\"0\",\"j-s-tablet-p\":\"0\",\"j-s-smart-l\":\"0\",\"j-s-smart-p\":\"0\",\"c-r-desktop\":\"2\",\"c-r-laptop\":\"2\",\"c-r-tablet-l\":\"2\",\"c-r-tablet-p\":\"2\",\"c-r-smart-l\":\"1\",\"c-r-smart-p\":\"1\",\"c-c-desktop\":\"5\",\"c-c-laptop\":\"4\",\"c-c-tablet-l\":\"3\",\"c-c-tablet-p\":\"3\",\"c-c-smart-l\":\"3\",\"c-c-smart-p\":\"3\",\"c-s-desktop\":\"0\",\"c-s-laptop\":\"0\",\"c-s-tablet-l\":\"0\",\"c-s-tablet-p\":\"0\",\"c-s-smart-l\":\"0\",\"c-s-smart-p\":\"0\",\"c-autoplay\":\"\",\"c-arrows-always\":\"yep\",\"c-arrows-mob\":\"nope\",\"c-dots\":\"yep\",\"c-dots-mob\":\"nope\",\"wallwidth\":\"\",\"wallvm\":\"20\",\"wallhm\":\"0\",\"wallcomments\":\"yep\",\"g-ratio-w\":\"1\",\"g-ratio-h\":\"2\",\"g-ratio-img\":\"1\\\/2\",\"g-overlay\":\"nope\",\"m-overlay\":\"nope\",\"template\":[\"header\",\"text\",\"image\",\"meta\"],\"tv\":\"nope\",\"tv-int\":\"5\",\"big\":\"nope\",\"id\":\"1\",\"last_changes\":1551112496,\"status\":\"1\",\"feeds\":[{\"id\":\"kd47333\",\"errors\":[],\"status\":\"1\",\"enabled\":\"yep\",\"last_update\":\"Apr 7 19:33\",\"cache_lifetime\":\"1440\",\"system_enabled\":\"1\",\"timeline-type\":\"user_timeline\",\"content\":\"Klappenmann\",\"playlist-order\":\"nope\",\"posts\":\"5\",\"mod\":\"nope\",\"type\":\"youtube\",\"include\":\"\",\"filter-by-words\":\"\"}],\"preview\":false};\n    streamOpts.plugin = 'flow_flow';\n    streamOpts.trueLayout = streamOpts.layout;\n\n    \/*we will modify 'grid' layout to get 'carousel' layout*\/\n    if ( streamOpts.layout == 'carousel' ) {\n        streamOpts['layout'] = 'grid';\n        streamOpts['g-ratio-h'] = \"1\";\n        streamOpts['g-ratio-img'] = \"1\/2\";\n        streamOpts['g-ratio-w'] = \"1\";\n        streamOpts['g-overlay'] = \"yep\";\n        streamOpts['c-overlay'] = \"yep\";\n        streamOpts['s-desktop'] = \"0\";\n        streamOpts['s-laptop'] = \"0\";\n        streamOpts['s-smart-l'] = \"0\";\n        streamOpts['s-smart-p'] = \"0\";\n        streamOpts['s-tablet-l'] = \"0\";\n        streamOpts['s-tablet-p'] = \"0\";\n    }\n    else if ( streamOpts.layout == 'list' ) {  \/*the same with list, we only need news feed style*\/\n        streamOpts['layout'] = 'masonry';\n    }\n\n    opts.streams['stream' + streamOpts.id] = streamOpts;\n    var $cont = $(\"[data-plugin='flow_flow']#ff-stream-\"+data['stream-id']);\n    var ajaxDeferred;\n    var script, style;\n    var layout_pre = streamOpts.layout.charAt(0);\n    var isOverlay = layout_pre === 'j' || streamOpts[layout_pre + '-overlay'] === 'yep' && streamOpts.trueLayout !== 'list';\n    var imgIndex;\n    if (isOverlay) {\n        if (streamOpts.template[0] !== 'image') {\n            for (var i = 0, len = streamOpts.template.length; i < len; i++) {\n                if (streamOpts.template[i] === 'image') imgIndex = i;\n            }\n            streamOpts.template.splice(0, 0, streamOpts.template.splice(imgIndex, 1)[0]);\n        }\n        streamOpts.isOverlay = true;\n    };\n    if (FF_resource.scriptDeferred.state() === 'pending' && !FF_resource.scriptLoading) {\n        script = document.createElement('script');\n        script.src = \"https:\/\/hms-performance.com\/wp-content\/plugins\/flow-flow\/js\/public.js\";\n        script.onload = function( script, textStatus ) {\n            FF_resource.scriptDeferred.resolve();\n        };\n        document.body.appendChild(script);\n        FF_resource.scriptLoading = true;\n    };\n    if (FF_resource.styleDeferred.state() === 'pending' && !FF_resource.styleLoading) {\n        style = document.createElement('link');\n        style.type = \"text\/css\";\n        style.id = \"ff_style\";\n        style.rel = \"stylesheet\";\n        style.href = \"https:\/\/hms-performance.com\/wp-content\/plugins\/flow-flow\/css\/public.css\";\n        style.media = \"screen\";\n        style.onload = function( script, textStatus ) {\n            FF_resource.styleDeferred.resolve();\n        };\n        document.getElementsByTagName(\"head\")[0].appendChild(style);\n        FF_resource.styleLoading = true;\n    }\n    $cont.addClass('ff-layout-' + streamOpts.trueLayout);\n    if (!isMobile && streamOpts.trueLayout !== 'carousel') $cont.css('minHeight', '500px');\n    ajaxDeferred = isLS && sessionStorage.getItem(hash) ? {} : $.get(opts.ajaxurl, data)\n;\n    $.when( ajaxDeferred, FF_resource.scriptDeferred, FF_resource.styleDeferred ).done(function ( data ) {\n        var response, $errCont, err;\n        var moderation = 0;\n        var original = (isLS && sessionStorage.getItem(hash)) ? JSON.parse( sessionStorage.getItem(hash) ) : data[0];\n        try {\n            \/\/ response = JSON.parse(original);\n            response = original; \/\/ since 4.1\n        } catch (e) {\n            window.console && window.console.log('Flow-Flow gets invalid data from server');\n            if (opts.isAdmin || opts.isLog) {\n                $errCont = $('<div class=\"ff-errors\" id=\"ff-errors-invalid-response\"><div class=\"ff-disclaim\">If you see this message then you have administrator permissions and Flow-Flow got invalid data from server. Please provide error message below if you are doing support request.<\\\/div><div class=\"ff-err-info\"><\\\/div><\\\/div>');\n                $cont.before($errCont);\n                $errCont.find('.ff-err-info').html(original == '' ? 'Empty response from server' : original);\n            }\n            return;\n        }\n        opts.streams['stream' + streamOpts.id]['items'] = response;\n        if (!FlowFlowOpts.dependencies) FlowFlowOpts.dependencies = {};\n                var requests = [];\n        var request, extension, style;\n\n        for ( extension in FlowFlowOpts.dependencies ) {\n            if ( FlowFlowOpts.dependencies[extension] && FlowFlowOpts.dependencies[extension] !== 'loaded') {\n                request = $.getScript( opts.plugin_base + '-' + extension + '\/js\/ff_' + extension + '_public.js');\n                requests.push(request);\n\n                style = document.createElement('link');\n                style.type = \"text\/css\";\n                style.rel = \"stylesheet\";\n                style.id = \"ff_ad_style\";\n                style.href = opts.plugin_base + '-' + extension + '\/css\/ff_' + extension + '_public.css';\n                style.media = \"screen\";\n                document.getElementsByTagName(\"head\")[0].appendChild(style);\n\n                FlowFlowOpts.dependencies[extension] = 'loaded';\n            }\n        }\n\n        var resourcesLoaded = $.when.apply($, requests);\n\n        resourcesLoaded.done(function(){\n            var $stream, width;\n            console.log(response);\n\n            $stream = FlowFlow.buildStreamWith(response, streamOpts, moderation, FlowFlowOpts.dependencies);\n\n            if (isLS && response.items.length > 0 && response.hash.length > 0) sessionStorage.setItem( JSON.stringify( response.hash ), original);\n\n            var num = streamOpts.layout === 'compact' || (streamOpts.mobileslider === 'yep' && isMobile)? (streamOpts.mobileslider === 'yep' ? 3 : streamOpts['cards-num']) : false;\n\n            $cont.append( $stream );\n\n            if ( typeof $stream !== 'string' ) {\n                FlowFlow.setupGrid($cont.find('.ff-stream-wrapper'), num, streamOpts.scrolltop === 'yep', streamOpts.gallery === 'yep', streamOpts, $cont);\n            }\n\n            setTimeout(function(){\n                $cont.find('.ff-header').removeClass('ff-loading').end().find('.ff-loader').addClass('ff-squeezed').delay(300).hide();\n            }, 0);\n\n            \n        }).fail(function(){\n            console.log('Flow-Flow: resource loading failed');\n        });\n\n        var isErr = response.status === \"errors\";\n        if ((opts.isAdmin || opts.isLog) && isErr) {\n            $errCont = $('<div class=\"ff-errors\" id=\"ff-errors-'+response.id+'\"><div class=\"ff-err-info\">If you see this then you are administrator and Flow-Flow got errors from APIs while requesting data. Please go to plugin admin and after refreshing page check for error(s) on stream settings page. Please provide error message info if you are doing support request.<\\\/div><\\\/div>');\n            $cont.before($errCont);\n        }\n\n        if (opts.isAdmin && response.status === 'building') {\n            window.console && window.console.log(response);\n            $cont.prepend($('<div id=\"ff-admin-info\">ADMIN INFO: Feeds cache is being built in background. Please wait for changes to apply. Page reload is required.<\\\/div>'));\n        }\n    });\n\n    function isLocalStorageNameSupported() {\n        var testKey = 'test', storage = window.sessionStorage;\n        try {\n            storage.setItem(testKey, '1');\n            storage.removeItem(testKey);\n            return true;\n        } catch (error) {\n            return false;\n        }\n    };\n\n    return false;\n}(jQuery));\n<\/script>\n<!-- Flow-Flow \u2014 Social streams plugin for Wordpress -->","protected":false},"excerpt":{"rendered":"","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-286","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/hms-performance.com\/en\/wp-json\/wp\/v2\/pages\/286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hms-performance.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hms-performance.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hms-performance.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/hms-performance.com\/en\/wp-json\/wp\/v2\/comments?post=286"}],"version-history":[{"count":4,"href":"https:\/\/hms-performance.com\/en\/wp-json\/wp\/v2\/pages\/286\/revisions"}],"predecessor-version":[{"id":677,"href":"https:\/\/hms-performance.com\/en\/wp-json\/wp\/v2\/pages\/286\/revisions\/677"}],"wp:attachment":[{"href":"https:\/\/hms-performance.com\/en\/wp-json\/wp\/v2\/media?parent=286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}