Subversion Repositories SmartDukaan

Rev

Rev 2333 | Rev 3988 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2333 Rev 2720
Line 19... Line 19...
19
 
19
 
20
    $('#vedioContainer' + slideNo)
20
    $('#vedioContainer' + slideNo)
21
    	.html('<div id="videoDiv' + slideNo + '"></div>')
21
    	.html('<div id="videoDiv' + slideNo + '"></div>')
22
    	.css('width', width + "px").css('height', height + "px");
22
    	.css('width', width + "px").css('height', height + "px");
23
    
23
    
24
	if(videoType == "withskin")	{
24
	if(videoType == "VIDEO_WITH_SKIN")	{
25
		$('#vedioContainer' + slideNo).css({margin: '0px 0px 0px 0px'});
25
		$('#vedioContainer' + slideNo).css({margin: '0px 0px 0px 0px'});
26
		swfobject.embedSWF("http://www.youtube.com/v/" + vidid + "&enablejsapi=1&playerapiid=player" + slideNo, "videoDiv" + slideNo, width, height, "8", null, null, params, atts);
26
		swfobject.embedSWF("http://www.youtube.com/v/" + vidid + "&enablejsapi=1&playerapiid=player" + slideNo, "videoDiv" + slideNo, width, height, "8", null, null, params, atts);
27
	} else	{
27
	} else	{
28
		$('#vedioContainer' + slideNo).css({margin: screenTopCornerY +  'px 0px 0px ' + screenTopCornerX + 'px'});
28
		$('#vedioContainer' + slideNo).css({margin: screenTopCornerY +  'px 0px 0px ' + screenTopCornerX + 'px'});
29
		swfobject.embedSWF("http://www.youtube.com/apiplayer?" + "&enablejsapi=1&playerapiid=player" + slideNo, "videoDiv" + slideNo, width, height, "8", null, null, params, atts);
29
		swfobject.embedSWF("http://www.youtube.com/apiplayer?" + "&enablejsapi=1&playerapiid=player" + slideNo, "videoDiv" + slideNo, width, height, "8", null, null, params, atts);