source: trunk/www.guidonia.net/wp/wp-content/plugins/tubepress/ui/players/popup/popup.js@ 44

Last change on this file since 44 was 44, checked in by luciano, 14 years ago
File size: 1010 bytes
Line 
1function tubepress_popup_player(galleryId, videoId) {
2 var wrapperId = "#tubepress_embedded_object_" + galleryId,
3 wrapper = jQuery(wrapperId),
4 obj = jQuery(wrapperId + " > object"),
5 params = obj.children("param"),
6 win = window.open('', '',
7 'location=0,directories=0,menubar=0,scrollbars=0,status=0,toolbar=0,width=' + obj.css("width") + ',height=' + obj.css("height")),
8 preamble = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title>' +
9 jQuery("#tubepress_title_" + videoId + "_" + galleryId).html() + '</title></head><body style="margin: 0pt; background-color: black;">',
10 newHtml = tubepress_deep_construct_object(wrapper, params);
11
12 win.document.write(preamble + newHtml + '</body></html>');
13 win.document.close() ;
14}
15
16function tubepress_popup_player_init(baseUrl) { }
Note: See TracBrowser for help on using the repository browser.