Results 1 to 10 of 10

Thread: Problems with V2.8

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2007
    Posts
    906

    Default

    Open support ticket at

    BuyScripts Helpdesk

    for vshare 2.8 beta.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  2. #2
    Join Date
    Sep 2010
    Location
    Pokhara Nepal
    Posts
    49

    Default youtube embade code

    Quote Originally Posted by hostonnet View Post
    Open support ticket at

    BuyScripts Helpdesk

    for vshare 2.8 beta.
    I got this codes while searching for clean youtube embed on vshare sites. but this code is not for vshare do you think you can modify and make it work for vshare bulk embed? it would be very nice, it will embed without ads, banners, logo etc from youtube.
    the code is:
    PHP Code:
    <?php
    function str_between($string$start$end){ 
        
    $string " ".$string$ini strpos($string,$start); 
        if (
    $ini == 0) return ""$ini += strlen($start); $len strpos

    ($string,$end,$ini) - $ini
        return 
    substr($string,$ini,$len); 
    }
    function 
    get_youtube_download_link(){
    $youtube_link "http://www.youtube.com/watch?v=".$_GET['v'];
    $youtube_page file_get_contents($youtube_link);
    $v_id str_between($youtube_page"&video_id=""&");
    $t_id str_between($youtube_page"&t=""&");
    $flv_link "http://www.youtube.com/get_video?video_id=$v_id&t=$t_id";

    die(
    '<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
        <channel>
            <title></title>
            <link></link>
            <item>
                <title></title>
                <media:content url="'
    .$flv_link.'&.flv" 

    type="video/x-flv" />
                <media:thumbnail url="http://i.ytimg.com/vi/'
    .$_GET

    ['v'].'/2.jpg" />
            </item>
        </channel>
    </rss>
    '
    );
    }
    get_youtube_download_link();
    ?>
    Please suggest if we can work with this?
    source of this codes are at :http://www.110mb.com/forum/embed-you...-t41201.0.html
    Nepal's Largest video community portal. share wisely at WWW.CLONEVIDEOS.COM

  3. #3
    Join Date
    Sep 2007
    Posts
    906

    Default

    Removing youtube watermark is againest youtube TOS. SO if you do it, they can block this.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  4. #4
    Join Date
    Sep 2010
    Location
    Pokhara Nepal
    Posts
    49

    Default can we just keep the watermark only?

    Quote Originally Posted by hostonnet View Post
    Removing youtube watermark is againest youtube TOS. SO if you do it, they can block this.
    keeping watermark and removing all other added things like advertisements, related videos shown at the end and player color can be fixed? please advice.
    Nepal's Largest video community portal. share wisely at WWW.CLONEVIDEOS.COM

  5. #5
    Join Date
    Sep 2007
    Posts
    906

    Default

    That can be done if you use JW player, but it will show JW player watermak if you don't pay for JW player.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  6. #6
    Join Date
    Sep 2010
    Location
    Pokhara Nepal
    Posts
    49

    Default i am using jw player already

    Quote Originally Posted by hostonnet View Post
    That can be done if you use JW player, but it will show JW player watermak if you don't pay for JW player.
    so how to change the code or what code should i use? i am using jwplayer as my video player in the site but it still shows the related videos, ads and annotations from youtube. please help.
    Nepal's Largest video community portal. share wisely at WWW.CLONEVIDEOS.COM

  7. #7
    Join Date
    Sep 2007
    Posts
    906

    Default

    You need to edit embded code, replace it it jw player. This can be done for imported videos, not videos embeded through admin area (cut and paste embeded code from youtube). We can do it for $5, contact us at [email protected] if interested.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

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
  •