document.write("<iframe allowfullscreen=\"true\" id=\"pi_iframe_gizmo67ba8eeba0938\" title=\"video player : Shetland Islands Council  - Wednesday, 13th December 2023 at 10:00am\" src=\"\/\/shetland.public-i.tv\/core\/iframe\/justwidget\/560\/jsw\/1\/activity_id\/836649\/start_time\/912000\" style=\"position: static;width: 100%; height: 500px; border: none 0; z-index: 10;\"><\/iframe>");

var pi_iframe_gizmo67ba8eeba0938_width = '100%';
var pi_iframe_gizmo67ba8eeba0938_height = '500px';
var pi_iframe_gizmo67ba8eeba0938_placeholder_visible = false; // needed in pi_resize_*
	
	function pi_resize_pi_iframe_gizmo67ba8eeba0938() {
		el = document.getElementById('pi_iframe_gizmo67ba8eeba0938');
		el_placeholder = document.getElementById('pi_iframe_gizmo67ba8eeba0938_placeholder');
		
		width = pi_iframe_gizmo67ba8eeba0938_placeholder_visible ? document.getElementById('pi_iframe_gizmo67ba8eeba0938_placeholder').offsetWidth :  document.getElementById('pi_iframe_gizmo67ba8eeba0938').offsetWidth;
		
		if(width != pi_iframe_gizmo67ba8eeba0938_width) {
			pi_iframe_gizmo67ba8eeba0938_width = width;
			pi_iframe_gizmo67ba8eeba0938_height = ((width*0.5625) + 0) + 'px';
			el.style.height = pi_iframe_gizmo67ba8eeba0938_height;
			if(el_placeholder != null && el_placeholder.style.height) {
				el_placeholder.style.height = pi_iframe_gizmo67ba8eeba0938_height;
			}
		}
	}
	

	if(window.attachEvent) {
		window.attachEvent('onresize', pi_resize_pi_iframe_gizmo67ba8eeba0938);
		window.attachEvent('DOMContentReady', pi_resize_pi_iframe_gizmo67ba8eeba0938);
	}
	else if(window.addEventListener) {
		window.addEventListener('resize', pi_resize_pi_iframe_gizmo67ba8eeba0938);
		window.addEventListener('DOMContentReady', pi_resize_pi_iframe_gizmo67ba8eeba0938);
	}

	// and in case something else causes it's width to change
	setInterval(pi_resize_pi_iframe_gizmo67ba8eeba0938, 500);


