Saturday, June 11, 2011

Youtube Player with Time

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

<script src="http://cdn.jquerytools.org/1.2.5/jquery.tools.min.js"></script>
<script type="text/javascript" src="http://static.flowplayer.org/js/flowplayer-3.2.4.min.js"></script>
<script src="http://static.flowplayer.org/js/jquery.mousewheel.js"></script>
<script type="text/javascript" src="http://flowplayer.electroteque.org/js/flowplayer.bwcheck-3.2.js"></script>
<script type="text/javascript" src="http://flowplayer.electroteque.org/js/flowplayer.captions.js"></script>

<script type="text/javascript" src="http://flowplayer.electroteque.org/js/flowplayer.viralvideos.js"></script>
<script type="text/javascript" src="http://flowplayer.electroteque.org/js/flowplayer.securedrm-3.6.js"></script>



<script type="text/javascript">
$(function() {

// positions for each overlay


// setup triggers
$("button[rel]").each(function(i) {
$(this).overlay({

// common configuration for each overlay
oneInstance: false,
closeOnClick: false,


// use apple effect
effect: 'apple'

});
});

});
// common methods and configs


var loggingConfig = { level: 'debug', filter: 'org.flowplayer.audio.*, org.flowplayer.view.MediaResizer, org.flowplayer.view.Screen, org.flowplayer.controller.*,org.flowplayer.bwcheck.*, org.flowplayer.cluster.*,org.flowplayer.rtmp.*, org.flowplayer.youtube.*' };

function showTimeHere(){
a=(parseInt($f().getTime())>0)?$f().getTime():0;
document.getElementById('dI').innerHTML=a+' seconds';
}

</script>




<div style="width:480px;">
<!-- player container--> <a id="basic" style="display:block;width:480px;height:360px;float:left;" href="api:rJOsjP33nF4">
<!-- splash image inside the container --> <img alt="Search engine friendly content" src="http://img.youtube.com/vi/rJOsjP33nF4/0.jpg"> </a>
<!-- Flowplayer installation and configuration -->
<script language="JavaScript">

$f("basic", "http://flowplayer.electroteque.org/swf/flowplayer.swf", {
// configure the required plugin
screen: {
zIndez:1
},
plugins: {
controls: { autoHide: true },
youtube: {
url:'http://flowplayer.electroteque.org/swf/flowplayer.youtube-3.2.6.swf',
onVideoRemoved: function() {
console.log("Video Removed");
},
onVideoError: function() {
console.log("Incorrect Video ID");
},
onEmbedError: function() {
console.log("Embed Not Allowed");
},
zIndez:0,
displayErrors: true
}
},
clip: {
provider: 'youtube',
urlResolvers: 'youtube'
},
log: loggingConfig

});




</script>
</div>
<span id="dI"></span>
<button type="button" onclick="showTimeHere()">show time</button>

Thursday, October 15, 2009

Pathankot

Pathankot is a major railroad junction and the nearest mainline station to Dharamsala. Lines from Amritsar (2 hrs) and Delhi (8 hrs) merge here, and all services to Jammu (2 hrs) pass through. In addition to Pathankot station itself, there is a second station called Chakki Bank just 4 km away, which serves some express trains that do not stop in Pathankot station. Nowadays the majority of the Jammu trains stop only at Chakki Bank and not at Pathankot. Unfortunately Chakki Bank is a smaller station with limited facilities. In addition, Pathankot is also served by the narrow-gauge Kangra Valley Railway (a.k.a. Kangra Toy Train) built by the British, which crawls 128 km through stunning scenery to Joginder Nagar via Palampur and Kangra (near Dharamsala). However, the luxury Kangra Queen services were terminated back in 2003, leaving about 6 departures daily of slow, often packed second class trains, taking over six hours. Bookings for these can only be done locally at Pathankot station. Some of these trains run to Baijnath Paprola and a few to Joginder Nagar. The main stations on this line include Kangra and Palampur, although Dalhousie and Dharmasala are not on the line. The main bus stand has been renovated. Its close to the railway station. Formerly, there were two bus stations: a small one right next to the train station (for Himachal buses) and the main bus stand a few km away. Public HRTC buses to Dharamsala take 3-4 twisty, turny hours and cost Rs.75, while buses to Amritsar take 3 hours and cost the same.Dalhousie famous destination for honeymoon couples is at just 80 km from pathankot Pathankot is situated at the entry point of Jammu & Kashmir and Himachal Pradesh. The famous Hindu Pilgrimage Vaishno devi is just 160 km from pathankot.From Chandigarh you can reach here in just 6hrs.It is well connected with bus services from Punjab roadways,Haryana Roadways,Himachal Roadways and J&K transport.


For more info, visit our websites: www.pathankotcity.com and www.travelagentspathankot.com !

More Links:
Web Designer Pathankot
Hotels in Pathankot
Travel Agents in Pathankot
Punjabi Songs