P. 1
Box-net Music Player Snippet

Box-net Music Player Snippet

|Views: 2|Likes:
Published by Jonathan Bates
Code snippet to embed a box.net widget (featuring mp3 playback) on a web page
Code snippet to embed a box.net widget (featuring mp3 playback) on a web page

More info:

Published by: Jonathan Bates on Nov 11, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as RTF, PDF, TXT or read online from Scribd
See more
See less

05/12/2014

pdf

text

original

<body class="gradient"> <div class="top_notification "> <div class="center"> <div class="logo box_theme_show_shared_pic"> <a href="http

://www.box.net/"><img src="http://e3.boxcdn.net/resources/a9cbqo1did/img/shared_file_page_logo.g if" class="shared_file_box_logo" alt="Box.net" title="Box.net" onmousedown="return false;"></a> </div>

<div class="right_options box_theme_show_shared_options">

<a href="http://www.box.net/files/0/item/f_542478360" id="box_share_files_header_link_collab_access">View this in your account</a> </div> </div> </div>

<noscript> &lt;style&gt; #non_js { display: block; font-size:16px;

padding:10px; border:1px solid #d6ff3a; background-color:#faffec; } &lt;/style&gt; &lt;div id="non_js"&gt;JavaScript is disabled on your browser. Please enable JavaScript or upgrade to a JavaScript-capable browser to use Box.net.&lt;br /&gt;If you want to use Box.net on a mobile device, &lt;a href="http://m.box.net"&gt;click here&lt;/a&gt;.&lt;/div&gt; </noscript>

<div class="main_area">

<script>utmx_section("Logo")</script> <div class="main_area_top">

<script>utmx_section("Top Text")</script>

<div id="file_info"> <div id="file_name" class="file" style="font-size: 24px; visibility: visible; ">children_full.mp3</div> <div id="file_creator_info" class="creator_info">Created Nov 8, 2010 by dj jon bates</div> </div>

<div class="gallery_test_buttons shared_file_buttons links"> <a href="http://www.box.net/index.php? rm=box_download_shared_file&amp;file_id=f_542478360&amp;shared_name =kvaarosf99" class="folder" id="down_link" title="Download this file"> <span class="left"><span class="download">Download <span class="button_file_size">(22.6MB)</span></span></span> </a> <a class="folder" id="shared_file_options_button" href="#" title="Options" onclick=" box.shared_file_menu_show(this); return false;"> <span class="left"><span class="shared_file_options"></span><span class="arrow">&nbsp;&nbsp;&nbsp;<!-- --></span></span> </a> </div> </div>

<div class="file_area"> <div class="gallery" id="gallery_main" style="width: 800px;"> <div class="photo" id="gallery_photo_part"> <div id="main_preview"> <div id="gallery_content"><object type="application/xshockwave-flash" data="/resources/a9cbqo1did//static/flash//share.swf" width="800" height="361" id="player" style="visibility: visible; "><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="wmode" value="opaque"><param name="flashvars" value="backgroundColor=#ffffff"></object></div> </div>

<div id="gallery_file_description">Description: <span class="description_text">children play this loud - house music mix - dj jon bates</span></div> <div class="gallery_comments_part" id="gallery_comments_part" style="display: none; "> <div id="gallery_comments_header" style="display: none;">Comments</div> <div id="gallery_comments_block" class="comments_block item_expansion_comments"></div> <div id="gallery_comments_block_temp" style="display: none;"></div> </div> </div> </div> <div class="box_new_popup" id="popup_version_history" style="display:none;"> <div class="top"><!----></div> <div class="sub_top"> <div class="left_shadow"><!----></div><div class="center_image"><!----></div><div class="right_shadow"><!---></div> </div> <table cellspacing="0" cellpadding="0"> <tbody><tr> <td class="shadow"></td> <td class="main"> <div class="head"> <div class="text" id="popup_version_history_title">Version history</div> <a href="http://www.box.net/help" class="help" target="_blank">HELP</a>

</div> <div class="block" style="margin-top: 10px;"> <span class="text" id="current_version_span">Current version:</span> <div id="current_version" style="height: 38px;overflow:auto;position:relative;border: 1px solid #ddd;margintop:8px;margin-bottom:8px"> </div> <span class="text" id="version_history_span"></span> <div id="versions" style="height: 153px;overflow:auto;border: 1px solid #ddd;margin-top:8px"> </div> <div id="empty_versions" style="height: 20px;margin-top:8px;"> <span class="text">There are no versions associated with this file.</span> </div> </div> <table class="box_new_popup_button_table" cellpadding="0" cellspacing="0"> <tbody><tr> <td class="left"></td> <td> <a href="#" class="box_new_popup_button box_new_popup_button_first"><span class="left"><span class="right"><span class="center" id="submit_button" style="width:auto; padding:0 12px;"></span></span></span></a> </td>

<td> <a href="#" class="box_new_popup_button box_new_popup_button_first"><span class="left"><span class="right"><span class="center" id="submit_button">Close</span></span></span></a> </td> <td class="right"></td> </tr> </tbody></table> </td> <td class="shadow"></td> </tr> </tbody></table> <div class="sub_bottom"> <div class="left_shadow"><!----></div><div class="center_image"><!----></div><div class="right_shadow"><!---></div> </div> <div class="bottom"><!----></div> </div> <div style="display:none;"> <div id="tpl_version" class="metadata"> <div> <div class="date"></div> <div class="delete"></div> </div> <div class="message"> </div>

<div> <div style="display:inline;" class="download"> <a href="#">Download</a> </div> <div style="display:inline;"> <a href="#">Make current</a> </div> </div> </div> </div> </div>

<div class="footer description_exists"> <span class="footer_links_support"> Want Box for your Business? <b>Call 1-877-729-4269</b> </span> <a href="http://www.box.net/company">Box.net ©2010</a><span>| </span> <a href="http://www.box.net/files">View Account</a><span>|</span>

<a href="http://www.box.net/company/contact-us">Contact Us</a><span>| </span> <a href="http://www.box.net/community" target="_blank">Community</a> <a href="#" onclick="return

Common_Global.new_win('http://www.box.net/static/html/terms.html');">Ter ms</a><span>|</span> <a href="#" onclick="return Common_Global.new_win('http://www.box.net/static/html/privacy.html');">Pri vacy Policy</a> </div>

<script>utmx_section("Bottom Text")</script>

</div>

<script type="text/javascript"> var request_token = '7ff180d751bfa69a6ec808439694aa9a'; var is_subuser = false; var user_id = 9066914; var file_id = '542478360'; var root_folder_id = 'd_0';

var enable_shared_file_preview = '1'; var min_preview_flash_version = '9'; var ajax_dnd_enabled = '';

var waiting_on_password = ''; var shared_name = 'kvaarosf99';

// What does this do?

var pp = ''; var password_md5 = '';

var allow_shared_upload = ''; var collab_access = true;

var gallery_page = 'shared_file';

var openbox_actions = []; var webdoc_action_id = null; var basic_size_limit = 0;

var user_login = 'djjonbates@dabunny.com'; var user_rate = ''; var session_id = '';

</script>

<script type="text/javascript" src="http://e1.boxcdn.net/resources/a9cbqo1did/js/section_box_shared_file.js "></script>

<!--[if lt IE 7]><script type="text/javascript" src="http://e1.boxcdn.net/resources/a9cbqo1did/js/external/unitpngfix.js"></ script><![endif]-->

<script type="text/javascript"> var canvas = new Canvas({ in_account: false ,password: '' });

var item = new Item({ id: 542478360 ,extension: 'mp3' ,file_id_hash: 'a4004c' ,name: 'children_full.mp3' ,shared_name: 'kvaarosf99' ,shared: 1 ,description: 'children play this loud - house music mix - dj jon bates' ,permissions: Item.process_permissions('dcpsvu') ,type: 'file' ,typed_id: 'f_542478360' }); var single_item_collection = { 542478360 : item }; </script>

<div class="dd_menu" id="shared_file_menu" style="top: 109px; left: 807px; visibility: hidden; "> <div class="round_popup-top_shadow"> <div class="round_popup_image round_popup-lt_bg"> <div class="round_popup-content"> <div style="padding: 1px 0 9px 0; backgroundcolor: #fff;" class="clearfix"> <div class="menu"> <a id="shared_file_menu_box_link" target="_blank" href="/"><img src="http://e3.boxcdn.net/resources/a9cbqo1did/img/shared_file_menu/share d_file_menu_icon_box.gif">Go to Box.net</a> <a id="shared_file_menu_help" target="_blank" href="http://www.box.net/help? p_next_page=answers/detail/a_id/100"><img src="http://e3.boxcdn.net/resources/a9cbqo1did/img/shared_file_menu/share d_file_menu_icon_help.gif">Help</a> </div> </div> </div> </div> <div class="round_popup_image round_popup-r_bg"><!---></div> </div> <div class="round_popup-bottom_shadow"> <div class="round_popup_image round_popup-b_bg"><!---></div> <div class="round_popup_image round_popup-rb_bg"><!--

--></div> </div> </div>

<div id="global_blocker"></div> <div id="folder_tree"></div>

<script type="text/javascript"> var gaJsHost = (("" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script> <script type="text/javascript">

try { var pageTracker = _gat._getTracker("UA-292868-1"); pageTracker._trackPageview(); } catch(err) {}

</script>

<style> #non_cdn { font-size:18px; width:960px; padding:10px; border:1px solid #d6ff3a; background-color:#faffec; position: absolute;

top: 66px; left: 50px; z-index: 5; display: none; } </style>

<div id="non_cdn"> It appears that your firewall may be blocking Box.net or you are encountering an error.<br><br>Please contact your IT administrator to configure your firewall to recognize all sub-domains of .box.net and .boxcdn.net. The ports that should be opened for these domains are 80 and 443.<br><br>If that does not resolve the issue, then please submit a support ticket at <a target="_blank" href="http://www.box.net/help">http://www.box.net/help</a>. </div>

<script> setTimeout(function(){ if (typeof $j != 'function') { var non_cdn = document.getElementById("non_cdn"); non_cdn.parentNode.removeChild(non_cdn); non_cdn.style.position = 'static'; non_cdn.style.margin = '20px';

document.body.insertBefore(non_cdn, document.body.childNodes[0]); non_cdn.style.display = 'block'; } }, 1000); </script>

</body>

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->