This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Returns true or false if flash installed or not. Tested with IE8 on Windows 7 and Chrome on Win7 and Mac. | |
| (function() { var ie_flash; try { ie_flash = (window.ActiveXObject && (new ActiveXObject("ShockwaveFlash.ShockwaveFlash")) !== false) } catch(err) { ie_flash = false; } var _flash_installed = ((typeof navigator.plugins != "undefined" && typeof navigator.plugins["Shockwave Flash"] == "object") || ie_flash); return _flash_installed; })() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {exp:channel:entries} | |
| {switch='<div class="row">||'} | |
| <div class="col-md-4"> | |
| {sn_programme_block} | |
| </div><!-- / .col-md-4 --> | |
| {if count!=total_results}{switch='||</div><!-- / .row -->'}{/if} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {exp:channel:entries} | |
| {switch values='<div class="row">||'} | |
| <div class="col-md-4"> | |
| {sn_programme_block} | |
| </div><!-- / .col-md-4 --> | |
| {switch values='||</div><!-- / .row -->' closing='</div><!-- / .row -->'} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Parse Vimeo M3U8 URLs to negate relative redirect issues with JW Player (See issue #1510) | |
| * | |
| * @return string | |
| */ | |
| public function parseHLSUrl($url) | |
| { | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $url); //set url |
OlderNewer