');
} else {
var query = elem.find('.keywords').html();
$.ajax({
context: elem,
url: 'https://wn.com/api/upge/cheetah-search-adv/video',
cache: true,
data: {
'query': query
},
dataType: 'jsonp',
success: function(text) {
if (text.length > 0) {
video_id = text[0].id;
elem.find('.player').html('
');
}
}
});
}
}
var stopAllYouTubeVideos = function() {
var iframes = document.querySelectorAll('iframe');
Array.prototype.forEach.call(iframes, function(iframe) {
iframe.contentWindow.postMessage(JSON.stringify({ event: 'command', func: 'pauseVideo' }), '*');
});
}
jQuery(function() {
jQuery(".playVideo").live("click", function() {
if(!$(this).hasClass("played")){
stopAllYouTubeVideos();
var elem = $(this);
setTimeout(function(){
mouseOverMe(elem);
}, 1000);
}
});
jQuery(".description_box .expandContent").live("click", function() {
elem = $(this).parent().parent().parent().find('.descContent');
if(elem.height() > 51) {
elem.css('height', '44px');
$(this).html('Show More
');
}else{
elem.css('height', 'auto');
$(this).html('Hide
');
}
});
jQuery('.interview-play-off').click(function() {
$(".interview-play-off").hide();
$(".interview-play").show();
$(".videoplayer-control-pause").click();
});
jQuery(".video-desc .show_author_videos").live("click", function() {
query = $(this).attr('title');
container = $(this).parent().parent().parent().find('.video-author-thumbs');
$(this).parent().parent().parent().find('.video-author-thumbs').css('height', '220px');
jQuery.ajax({
url: '/api/upge/cheetah-photo-search/videoresults',
data: {'query': query},
success: function(text) {
if(!text) { text = i18n("No results"); }
container.html(jQuery(text));
}
});
});
});
// -->
Latest News for: west lothian
Edit
Daily Record
25 Mar 2026
The call, from Linlithgow’s Tom Conn, came at this month’s local area committee where a planning officer conceded. enforcement can be “challenging” ... .
Edit
Daily Record
24 Mar 2026
Deer Park is primed for the new golfing season, with the course emerging from winter in outstanding condition following a comprehensive programme of investment and improvement works ... .
Edit
Daily Record
23 Mar 2026
A �330,000 investment will transform the former indoor bowling hall space at Xcite Bathgate into a purpose-built gymnastics facility ... .
Edit
Daily Record
23 Mar 2026
The CDT, fully operational since 2019, will run the building under a recharge lease as part of the changes to centres which come into being in April ... .
Edit
Daily Record
23 Mar 2026
Ellie Tappenden, from Broxburn, believed she had come down with a virus and decided to get an early night ... .