Video playlists with VOD
I'm (still) trying to make the case for moving to Cablecast for our campus TV station, and with that moving to a VOD server so shows can be accessible online.
Our athletics department is looking at ways to place a "video box" on their main page. This box might have short highlights from the last game, a player interview, or a weekly coaches show.
I'm wondering if Cablecast VOD could fill this need. I imagine we could create a program ID and upload it to Cablecast, making it available for VOD, but with it highlights and such being so short, we probably wouldn't "air" it on our campus station. However, if we did a longer-format coaches show, we would air and VOD it.
But my question is if there is a way to have a webpage link to the VOD server and show a list of shows identified as sport's related. The user could select it and it would play in an embedded player window.
I imagine it would require our web team to integrate it through our content management system, but since I know nothing about databases and website integration, I thought I'd ask here first.
Also, if this is possible, what might the difficulty rating be on a scale of 1 (lowest) to 10 (highest)?
Thanks,
Zach
Our athletics department is looking at ways to place a "video box" on their main page. This box might have short highlights from the last game, a player interview, or a weekly coaches show.
I'm wondering if Cablecast VOD could fill this need. I imagine we could create a program ID and upload it to Cablecast, making it available for VOD, but with it highlights and such being so short, we probably wouldn't "air" it on our campus station. However, if we did a longer-format coaches show, we would air and VOD it.
But my question is if there is a way to have a webpage link to the VOD server and show a list of shows identified as sport's related. The user could select it and it would play in an embedded player window.
I imagine it would require our web team to integrate it through our content management system, but since I know nothing about databases and website integration, I thought I'd ask here first.
Also, if this is possible, what might the difficulty rating be on a scale of 1 (lowest) to 10 (highest)?
Thanks,
Zach
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
-
Inappropriate?Hey Zach...
If I understand what you wish to do it isn't very hard at all. Cablecast provides a web service for doing exactly what you want. I have used this web service to integrate Cablecast with web sites using PHP.
One of the web service functions is called 'AdvancedShowSearch' you can use this function to get a list of shows that are available on the VOD server. There is also an option to limit to a certain category. So if all the shows you wished to embed on the front page of your aththletics department were in the same category, it would be as simple as calling this function with the limit to VOD option enabled, and limit to the particular project ID.
Once you have this list of shows, with a bit of ajax you could easily generate a list and allow users to choose which show was embeded.
Here is some simple PHP code that would build a table of all the shows available for VOD in a particular category.
<?php require_once('nusoap.php'); //SOAP function library
$client = new nusoap_client("YOURSERVERADDRESS/CablecastWS/CablecastWS.asmx?WSDL", 'wsdl'); // Creates New SOAP client using WSDL file
$searchDate = date("Y-m-d")."T12:00:00";
// Search for all shows that have an event date less than now that are available for VOD
$result = $client?>call('AdvancedShowSearch', array(
'ChannelID' => 1,
'searchString' => '',
'eventDate' => $searchDate,
'dateComparator' => '<',
'restrictToCategoryID' => YOURCATEGORYID, //This would be the category ID
'restrictToProducerID' => 0,
'restrictToProjectID' => 0,
'displayStreamingShowsOnly' => 1,
'searchOtherSites' => 0,), '', '', false, true);
$resultNumber = count($result['AdvancedShowSearchResult']['SiteSearchResult']['Shows']['ShowInfo']); // of shows for loop
$count = 0; // Set count varaible
if($resultNumber == '0')
{
//There is probably something wrong if this shows up.
echo "There are now Shows currently available for on demand viewing.";
}
// Prints out a table with time and show title with link to show detial page
if($resultNumber >= '1')
{ echo "<table border="0" width="100%"><tr>\n
<th>Program Title</th><th>Link</th></tr>\n";
while ($count <= ($resultNumber -1))
{
echo "<tr><td>".$result['AdvancedShowSearchResult']['SiteSearchResult']['Shows']['ShowInfo'][$count]['Title']."</td><td><a href='".$result['AdvancedShowSearchResult']['SiteSearchResult']['Shows']['ShowInfo'][$count]['StreamingFileURL']."'>Watch Now</td></tr>\n";
$count++;
}
echo "</table>";
}
}
}
?>
I don't know what this forum will do to my code.
-ray -
P.S. You would need the nusoap library. Just google nusoap. -
P.S.S Always test code before you post it. Take out the last two }
-sorry -
Inappropriate?Ray,
Thanks for posting that. Until we actually HAVE a Carousel VOD, I can;t do anything to check this out, but I will keep this thread bookmarked.
The ability to do playlists like this could be a powerful incentive to push this harware. Marketing could use it for their videos on the admissions page, athleticsw could use it, etc...
Thanks again,
Zach -
Inappropriate?So, one other question came to mind as i was trying to get to sleep last night. (No, this topic wasn't keeping me up, it just came to me randomly.)
How might an embedded player be integrated to a different website. For example, our athletics page is a totally different URL from the school's main page. And the main page would be different from the Cablecast URL.
Can we embed a window to a totally separate site? I can see it being done with an iframe, but direct embedding would be preferred.
Again, I know squat about databases, so any advice in laymen's terms is appreciated. -
Inappropriate?Hey Zach,
Embedding videos from other sources is pretty routine. On any sourt of embed tag there is a source element (src="http://www.server.com/your_movie.wmv")
which will tell the the embedded player where to grab the movie from.
As far as getting the info about the embedded movies to the web server, the script I posted above would do that just fine.
-ray
Loading Profile...





CHAMP