Results 1 to 10 of 10

Thread: Stop youtube videos from linking to youtube

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2009
    Posts
    71

    Default

    Hi,

    Open file include/class.video_player.php

    find
    PHP Code:
    $vshare_player '
            <object width="' 
    $config['player_width'] . '" height="' $config['player_height'] . '">
            <param name="movie" value="http://www.youtube.com/v/' 
    $this->video_info['video_name'] . '&autoplay=' $config['player_autostart'] . '&hl=en&fs=1"></param>
            <param name="allowFullScreen" value="true"></param>
            <param name="allowscriptaccess" value="always"></param>
            <embed src="http://www.youtube.com/v/' 
    $this->video_info['video_name'] . '&autoplay=' $config['player_autostart'] . '&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"
            width="' 
    $config['player_width'] . '" height="' $config['player_height'] . '"></embed>
            </object>'

    replace to
    PHP Code:
    $vshare_player '
            <object width="' 
    $config['player_width'] . '" height="' $config['player_height'] . '">
            <param name="movie" value="http://www.youtube.com/v/' 
    $this->video_info['video_name'] . '&autoplay=' $config['player_autostart'] . '&hl=en&fs=1"></param>
            <param name="allowFullScreen" value="true"></param>
            <param name="allowscriptaccess" value="always"></param>
            <embed src="http://www.youtube.com/v/' 
    $this->video_info['video_name'] . '&autoplay=' $config['player_autostart'] . '&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"
            width="' 
    $config['player_width'] . '" height="' $config['player_height'] . '" allownetworking="internal" saveembedtags="true" enablehref="false" enablejsurl="false"></embed>
            </object>'

    if any support, open a support ticket at http://helpdesk.buyscripts.in

    Thanks

  2. #2
    Join Date
    Apr 2010
    Posts
    88

    Wink

    Yes indeed! Thank you so much! Have a good weekend :)

  3. #3
    Join Date
    Apr 2010
    Posts
    88

    Default

    This is good, it effected all the videos. I thought it would only work for future embeds! I want to change the color now :) How can I do this, thanks if its no bother.

  4. #4

    Default

    Hello, How do i stop YouTube from linking to my tube?
    I do not want any YouTube videos on my site.
    I'm using vShare version: 2.8.1

  5. #5
    Join Date
    Apr 2010
    Posts
    88

  6. #6

    Default

    (Thank you for the info) She has a big ass ON YOUR SITE!
    "O" ya how do i change my background color to Black vshare 2.8.1 you have a nice website.

  7. #7
    Join Date
    Apr 2010
    Posts
    88

  8. #8
    Join Date
    Feb 2012
    Posts
    9

    Default

    Quote Originally Posted by vshare View Post
    Hi,

    Open file include/class.video_player.php

    find
    PHP Code:
    $vshare_player '
            <object width="' 
    $config['player_width'] . '" height="' $config['player_height'] . '">
            <param name="movie" value="http://www.youtube.com/v/' 
    $this->video_info['video_name'] . '&autoplay=' $config['player_autostart'] . '&hl=en&fs=1"></param>
            <param name="allowFullScreen" value="true"></param>
            <param name="allowscriptaccess" value="always"></param>
            <embed src="http://www.youtube.com/v/' 
    $this->video_info['video_name'] . '&autoplay=' $config['player_autostart'] . '&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"
            width="' 
    $config['player_width'] . '" height="' $config['player_height'] . '"></embed>
            </object>'

    replace to
    PHP Code:
    $vshare_player '
            <object width="' 
    $config['player_width'] . '" height="' $config['player_height'] . '">
            <param name="movie" value="http://www.youtube.com/v/' 
    $this->video_info['video_name'] . '&autoplay=' $config['player_autostart'] . '&hl=en&fs=1"></param>
            <param name="allowFullScreen" value="true"></param>
            <param name="allowscriptaccess" value="always"></param>
            <embed src="http://www.youtube.com/v/' 
    $this->video_info['video_name'] . '&autoplay=' $config['player_autostart'] . '&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"
            width="' 
    $config['player_width'] . '" height="' $config['player_height'] . '" allownetworking="internal" saveembedtags="true" enablehref="false" enablejsurl="false"></embed>
            </object>'

    if any support, open a support ticket at http://helpdesk.buyscripts.in

    Thanks


    Thanks,
    I am looking for this script.

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
  •