File: podcast.js.php

Recommend this page to a friend!
  Classes of Karl Holz   SalamCast Podcast Player   podcast.js.php   Download  
File: podcast.js.php
Role: Auxiliary data
Content type: text/plain
Description: used to get podcast via ajax
Class: SalamCast Podcast Player
Play podcast episodes from RSS feed using jPlayer
Author: By
Last change: fix ui

fixed ui css, now links will work on iPhone and i can load the other
playlists. updated javascript class css selecters
Date: 3 years ago
Size: 707 bytes
 

Contents

Class file image Download
<?php $key=''; if (array_key_exists('PATH_INFO', $_SERVER)) { $key=$_SERVER['PATH_INFO']; } ?>jQuery(function ($) { $.ajax({ url: './SalamCast.php<?php echo $key; ?>', type: 'GET', dataType: 'json', success: function(result) { $.each(result, function(i, r) { $('head').append('<link title="'+result[i].title+'" href="'+result[i].href+'" type="application/rss+xml" rel="alternate" />'); }); $('#CastPlayer').SalamCast({ swf: "./js/", jPlayerSolution: "flash, html", debug: false }); // $('#tabs').tabs({ collapsible: true }); }, }); });