Example #1
0
File: new.php Project: hubgit/playr
"><?php 
        h(strtoupper($format));
        ?>
</a></td>
<?php 
    }
    ?>
          <td><a class=play href="<?php 
    h(url(FLASH_PLAYER, array('repeat' => 'list', 'autostart' => 'true', 'skin' => 'bekle.swf', 'playlist' => 'bottom', 'playlistsize' => '400', 'playlistfile' => play_url('xspf', $item->url))));
    ?>
">Flash</a></td>
		      <td><?php 
    if ($item->changes) {
        ?>
<a class="play" href="<?php 
        h(play_url('rss', $item->url));
        ?>
">Podcast</a><?php 
    } else {
        ?>
 <?php 
    }
    ?>
</td>
	      </tr>
<?php 
}
?>
	    </tbody>
    </table>
Example #2
0
    <id>tag:playr.hubmed.org,2005:new</id>
    <link rel="alternate" type="text/html" href="http://playr.hubmed.org/new.php" />
    <link rel="self" type="application/atom+xml" href="http://projects.hubmed.org/playr/atom.php"/>
    <author>
      <name>Playr</name>
      <email>alf@hubmed.org</email>
    </author>
    <icon>http://playr.hubmed.org/favicon.ico</icon>
    <updated><?php 
print $date;
?>
</updated>

<?php 
while ($item = mysql_fetch_object($result)) {
    $flash_params['playlistfile'] = play_url('xspf', $item->url);
    ?>
    <entry>
      <link rel="alternate" type="text/html" href="<?php 
    h($item->url);
    ?>
" />
      <title><?php 
    h($item->title);
    ?>
</title>
      <id>tag:playr.hubmed.org,2005:atom,<?php 
    h($item->id);
    ?>
</id>
      <updated><?php 
Example #3
0
    ?>
        <li><a href="javascript:location.href='<?php 
    h(play_url($format));
    ?>
&url=' + encodeURIComponent(location.href);"><?php 
    print strtoupper($format);
    ?>
</a>
  <?php 
}
?>
		    <li><a href="javascript:location.href='<?php 
h(url(FLASH_PLAYER, array('repeat' => 'list', 'autostart' => 'true', 'skin' => 'bekle.swf', 'playlist' => 'bottom', 'playlistsize' => 400)));
?>
&playlistfile='+ encodeURIComponent('<?php 
h(play_url('xspf'));
?>
&url='+encodeURIComponent(location.href))">Flash Audio</a>
      </ul>
     </section>

     <section>
      <p>Alternatively, enter the address of any web page that contains links to music files:</p>

      <form action=play.php method=get>
        <input type=hidden name=format value=m3u>
        <input name=url size=50 title=URL> <input type=submit value=play>
      </form>
     </section>

     <section>