Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Itunes open automatically for streaming?

    Hi, I'm trying to get a link to open up on itunes automatically for streaming purposes on wordpress. As of now it is just opening on an html page. I am not sure how to do this and need some help. This is the coding I have right now, which worked previously but is no longer working now. The streaming link is http://wtbu.bu.edu:1800/listen or http://wtbu.bu.edu:1800/listen.m3u.

    Code:
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    
    <head profile="http://gmpg.org/xfn/11">
    	
    	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    	
    	<?php if (is_search()) { ?>
    	   <meta name="robots" content="noindex, nofollow" /> 
    	<?php } ?>
    
    	<title>
    	   <?php
    		      if (function_exists('is_tag') && is_tag()) {
    		         single_tag_title("Tag Archive for &quot;"); echo '&quot; - '; }
    		      elseif (is_archive()) {
    		         wp_title(''); echo ' Archive - '; }
    		      elseif (is_search()) {
    		         echo 'Search for &quot;'.wp_specialchars($s).'&quot; - '; }
    		      elseif (!(is_404()) && (is_single()) || (is_page())) {
    		         wp_title(''); echo '  '; }
    		      elseif (is_404()) {
    		         echo 'Not Found - '; }
    		      if (is_home()) {
    		         bloginfo('name'); echo ' - '; bloginfo('description'); }
    		      else {
    		          bloginfo('name'); }
    		      if ($paged>1) {
    		         echo ' - page '. $paged; }
    		   ?>	
    	</title>
    	
    <link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico"/>
    
    	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" />
    	
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    	<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    
    	<?php wp_head(); ?>
        
        
        
        <script type="text/javascript" src="/js/jquery-1.2.6.min.js"></script>
    <script type="text/javascript" src="/js/rollovers.js"></script>
        
        
    	<script type="text/javascript"> 
    var totalCount = 2;
    function ChangeIt() {
    var num =  Math.ceil( Math.random() * totalCount );
    document.body.background = '/bgimages/'+num+'.jpg';
    document.body.style.backgroundRepeat = "repeat";
    }
    </script> 
    
    
    
    
    </head>
    
    <body <?php body_class(); ?>>
    
    
     <!--[if IE]>
    
    <style>
    .leftpost object width:315px; padding-bottom:10px:}
    .leftpost embed {width:315px; padding-bottom:10px;}
    .leftpost {overflow:hidden;}
    .calnk a {line-height: 12px;}
    </style>
    
    <![endif]-->
    
    
     <!--[if IE 6]>
    <style>
    .show {background-color: #333; height: 130px; width: 700px; margin-top: 4%; margin-right: auto; margin-bottom: 0px; margin-left: auto; padding: 20px; font-size: 36px; font-family: Arial, Helvetica, sans-serif; text-decoration: blink; text-transform: uppercase; display: block; text-align: center; color: #999;
    }
    #container {display:none}
    body {background-color:black;}
    </style>
    <![endif]-->
    
    
    <script type="text/javascript"> 
    ChangeIt();
    </script> 
    <div class="show">This site doesn't render In IE6. Please upgrade to IE7 Or later or choose a different broswer.</div>
    
    	<div id="container">
    		<div id="header">
    
    <div class="logo"><a href="http://www.wtburadio.org/"><img src="/img/logo.gif" border="0" /></a></div>
    <div class="contentbox"><a href="http://wtbu.bu.edu:1800/listen.m3u"><img src="/img/clickhere.png" width="237" height="60" border="0" /></a>
    </div>
    <div class="seclink"><div id="nav">
    <ul>
    <li><a href="callto:1617-353-6400"><img src="/img/phone.png" alt="Home"  border="0" /></a></li> 
    <li><a href="http://wtbusportsradio.com/ "><img src="/img/sports.png" alt="About" border="0" /></a></li>
    <li><a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=365029932&mt=8?partnerId=30&siteID=KEmRFwU0WKY-7ht1OKFkLbTxMMWLZQMzKg"><img src="/img/phoneapp.png" alt="Products" border="0" /></a></li>
    <li><a href="aim:goim?screenname=wtburadiodj"><img src="/img/aim.png" alt="Contact" border="0" /></a></li>
    <li><a href="http://www.facebook.com/wtburadio"><img src="/img/facebook.png" alt="Contact" border="0" /></a></li>
    <li><a href="http://twitter.com/wtbu"><img src="/img/twitter.png" alt="Contact" border="0" /></a></li>
    
    </ul></div>		</div>
    
    <div class="mainlink"><?php wp_nav_menu(array('menu' => 'Main Nav Menu'));?>
    </div>
    
    		</div>
    Last edited by moloyolo; 02-26-2012 at 06:46 PM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •