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
    Apr 2010
    Posts
    88

    Default Stop youtube videos from linking to youtube

    Hello gang,
    I have been seing sites like myspace and socialgo.com with embeded youtube vides that dont link to you tube. I have figured out so far the peace of code that disables the linking out to youtube.

    allownetworking="internal" saveembedtags="true" enablehref="false" enablejsurl="false"

    Whenever this code is added to the embed it wont link to youtube.
    Is there a place in the vshare script to add the code so when one bulk or remote embed it can be added to every video? It seems like it should be because you can ajust the player width and hieght and control auto play in the player settings. This would be a great benifit to all. So if anyone knows it would be awesome. Thanks!

    Here is an example of some of the players with the code. The one in the middle is not using the code.
    http://shegotass.info/testembed.html

  2. #2
    Join Date
    Apr 2010
    Posts
    88

    Cool

    Does anybody care about this besides me :)

  3. #3
    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

  4. #4
    Join Date
    Apr 2010
    Posts
    88

    Wink

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

  5. #5
    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.

  6. #6

    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

  7. #7
    Join Date
    Apr 2010
    Posts
    88

  8. #8

    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.

  9. #9
    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
  •