Subversion Repositories SmartDukaan

Rev

Rev 2103 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2103 Rev 2720
Line 85... Line 85...
85
 
85
 
86
    $('#vedioContainer' + slideNo)
86
    $('#vedioContainer' + slideNo)
87
    	.html('<div id="videoDiv' + slideNo + '"></div>')
87
    	.html('<div id="videoDiv' + slideNo + '"></div>')
88
    	.css('width', width + "px").css('height', height + "px");
88
    	.css('width', width + "px").css('height', height + "px");
89
    
89
    
90
	if(videoType == "withskin")	{
90
	if(videoType == "VIDEO_WITH_SKIN")	{
91
		$('#vedioContainer' + slideNo).css({margin: '0px 0px 0px 0px'});
91
		$('#vedioContainer' + slideNo).css({margin: '0px 0px 0px 0px'});
92
		swfobject.embedSWF("http://www.youtube.com/v/" + vidid + "&enablejsapi=1&playerapiid=player" + slideNo, "videoDiv" + slideNo, width, height, "8", null, null, params, atts);
92
		swfobject.embedSWF("http://www.youtube.com/v/" + vidid + "&enablejsapi=1&playerapiid=player" + slideNo, "videoDiv" + slideNo, width, height, "8", null, null, params, atts);
93
	} else	{
93
	} else	{
94
		$('#vedioContainer' + slideNo).css({margin: screenTopCornerY +  'px 0px 0px ' + screenTopCornerX + 'px'});
94
		$('#vedioContainer' + slideNo).css({margin: screenTopCornerY +  'px 0px 0px ' + screenTopCornerX + 'px'});
95
		swfobject.embedSWF("http://www.youtube.com/apiplayer?" + "&enablejsapi=1&playerapiid=player" + slideNo, "videoDiv" + slideNo, width, height, "8", null, null, params, atts);
95
		swfobject.embedSWF("http://www.youtube.com/apiplayer?" + "&enablejsapi=1&playerapiid=player" + slideNo, "videoDiv" + slideNo, width, height, "8", null, null, params, atts);