Ning Developer Network

Sardor

Disabling YOUTUBE/GOOGLE video uploader

I was trying to find out if anyone out there could help me:

Is there away to disable the use of JUST the youtube/google add embed feature but keep the other two?

and if so...

Does that require requesting access to my source code again, or can this be disabled while still using the centralized coding?

Thanks!!!

Tags: disable, embed, google, uploader, video, youtube

Reply to This

Replies to This Discussion

Hi Sardor -- the easiest way to disable the YouTube/Google add embed feature is to probably just hide the links. Try the following CSS:

.xg_widget_video .xg_3col .block.left { display:none; }
#add_video_module .xg_1col .xg_module_body { display:none; }

Reply to This

Hi Ernie H.,

I want to same thing in my network, but i have no idea what
.xg_widget_video .xg_3col .block.left { display:none; }
#add_video_module .xg_1col .xg_module_body { display:none; }

is??

Reply to This

Ernie;

On a similiar note, is there a way to remove the "Add Video" link from the Video page? All that I would like to do is remove this link through CSS instead of removing the text through the language editor. Your hack seems very straightforward.

Thanks!

Reply to This

Hi Fred! Try this CSS:

/* Removes Add Video link in video pages */
.xg_widget_video .bigdesc.add { display:none; }

And to answer your question AKA - you place the CSS in the Advanced Tab in the Appearances page, under the Manage section of your site.

Reply to This

Ernie;

Worked perfecty!

Thanks!

Reply to This

Hi Ernie,

It works, but when you go to page where you could upload videos from your phone, on the right side you still could see Google/Youtube video uploader can I get rid of that?

Reply to This

Hi AKA,

Unfortunately, because the way the HTML and CSS is constructed on the page, removing the Google/YouTube reference will also remove the "Upload a video from your computer" reference in the right column. That said, you can remove the column with the following CSS:

.xg_widget_video_video_addByPhone .xg_1col .xg_module { display:none; }

- Ernie

Reply to This

Thank You Ernie :)

Reply to This

How about taking this a step further....what would one have to do to only allow videos from google/youtube and not allow users to upload taking up space?

In other words, linked videos only, no locally hosted videos.

Reply to This

Hey Scott,

The easiest way to do this would be to add a JavaScript redirect to your Tracking Code box that redirects conditionally on pages that allow members to upload content. This is far from full-proof, though. If you want a full proof solution You'll need to do some PHP work with access to your source code.

Cheers!
Mike

Reply to This

RSS

We're Hiring

We are looking for talented and passionate individuals to join our growing team.

Visit our engineering jobs and see if Ning is right for you.

© 2008   Created by Ning Developer Admin

Badges  |  Report an Issue  |  Privacy  |  Terms of Service