Results 1 to 3 of 3

Thread: feature video

  1. #1
    Join Date
    May 2009
    Posts
    23

    Default feature video

    i want to show a feature video on my portal front page, this video thumb little big and want to show description. is this possible?

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default

    This can be done by the site reading the rss feed and displaying the content.

    if using Magpie RSS - PHP RSS Parser, the code will be some thing like

    Code:
    <?php
    
    require_once('./include/rss_fetch.inc');
    $url = 'http://yourdomain.extn/rss/new/';
    $rss = fetch_rss($url);
    echo "<a href=" . $rss->items[0]['link'] . ">" . $rss->items[0]['title'] . "</a>";
    echo "<br>";
    echo $rss->items[0]['description'];
    
    ?>
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3
    Join Date
    May 2009
    Posts
    23

    Default

    don't know how to install/use Magpie RSS - PHP RSS Parser, I can use iframe for show a feature video, my idea a new file need to make and insert code for a feature video there. But what code I don't know. Help needed.

Bookmarks

Posting Permissions

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