Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: YouTube App Share Button?

  1. #1
    Default YouTube App Share Button?
    Is there a way to route the share button to allow me to share videos on facebook instead of email?

    I know there's a way to route safari links to share on FB using AddThis. All I had to do was copy and paste some script into a bookmark and name the bookmark "share" then anytime I wanted to share a website I'd hit that.

    Well I want to do something with YouTube. Anyone know of a way to do this?

  2. #2
    Here's the javascript that allows me to set up a Safari bookmark as a sharing portal:

    Code:
    javascript:void((function(svc)%20%7Bvar 
    %20d=document,w=window,p=0,b=function()%7Bif(!p)%7Bp=1;if 
    (w.addthis_sendto)addthis_sendto(svc%7C%7C'bkmore', 
    %7Bproduct:'bkm-'+_atc.ver%7D)%7Delse%7Bp=0;if(_atw)_atw.clb()%7D%7D;if 
    (!w._atc)%7Bvar%20ol=w.addthis_onload%7C%7C%5B%5D,o=d.createElement 
    ('script');o.src='//s7.addthis.com/js/250/addthis_widget.js? 
    domready=1&username=bookmarklet';ol.push 
    (b);w.addthis_onload=ol;d.getElementsByTagName('body') 
    %5B0%5D.appendChild(o)%7Delse%20b()%7D)())
    Now what I need to do is somehow integrate that into the YouTube app. When you click share on the YouTube app, it opens up the Mail app automatically. I need to find a way to edit that so safari opens up and takes me to that AddThis page in Safari.

    I know I can also copy and paste the link into the safari app, but if I can figure out how to do it this way, the process will be more streamlined.

    Any help would be appreciated. Thanks!

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