Current status of the Ning Platform is always available on the Ning Status Blog.

NC for Hire

Hi NCs,

This trick is specially for those who are running their video based networking sites. As you know there are small featured video thumbnails in video section of every network. So this trick will actually hide those small featured video thumbnails and show 2 big and clear featured video thumbnails. But you still have an option to expand more featured videos. Even you can directly use the embed code from youtube video.

How to use this code?

Step 1. Copy and paste the following code into notepad.

Step 2. Go to video section of your network and click on any one of the videos,

Step 3. Click on Get Embed Code and grab the iframe code from there and paste the iframe code within "IFRAME CODE GOES HERE". Please note there are 2 videos you are going to add so, obviously you have to copy 2 iframe codes. Be sure to change the height and width of the Iframe. The best width and height are 362 X 204/

The whole code looks like this 

<script type="text/javascript">
x$(document).ready(function() {
x$(".xg_list_video_feature").after('<iframe width="362" height="204" src="https://www.youtube.com/embed/QbGo95Rvh14?fs=1&amp;feature=oembed&amp;wmode=opaque" frameborder="0"></iframe>, <iframe width="362" height="204" src="https://www.youtube.com/embed/ZgTG6Bz_rpg?wmode=opaque" frameborder="0"></iframe>');
x$(".xg_list.xg_list_video.xg_list_video_feature").css('display','none');
});
</script>

Step 4. After that copy the whole code and paste it into custom code area of your site and save.

You are done.

The Code

<script type="text/javascript">
x$(document).ready(function() {
x$(".xg_list_video_feature").after(' IFRAME CODE GOES HERE , IFRAME CODE GOES HERE ');
x$(".xg_list.xg_list_video.xg_list_video_feature").css('display','none');
});
</script>

Contact me for Ning network customization (bernardmax2@gmail.com)

Live Example: Here

Example:

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • very nice Bernard!

  • You're so good, dude. Good stuff!

  • NC for Hire

    Thanks you Eric and Michael.

  • having problems, they are showing not side by side.. but one on top of the other. Maybe i change the size down a bit more. If this fails then i am not displaying inline.

    • 318 x 180 works for me. Just be sure to change your embed size.

      I added

      <!-- START Featured Videos -->

      to the beginning of the code, so I can easily distinguish it when making changes.

  • I love the fact it allows the featured videos to play right from there.

This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Steve C and Vander NG are now friends
4 hours ago
AnGella replied to AnGella's discussion
Slow and Painful 2.0 Death
"When did that happen?"
Monday
Kathleen (SunKat) updated their profile
Monday
Rosas † Negras replied to AnGella's discussion
Slow and Painful 2.0 Death
"with error 500 everything was destroyed, the forms disappeared even in the member page, I laugh,…"
Saturday
Rosas † Negras replied to AnGella's discussion
Slow and Painful 2.0 Death
"AnGella 
can you pass me email and password in my page in private please don't remember the…"
Friday
TJ @ jQueryHelp liked ⚡JFarrow⌁'s discussion Show Us your Ning Landing Pages
Feb 18
AnGella replied to AnGella's discussion
Slow and Painful 2.0 Death
"Check out Barbara's profile on my Wordpress Site.
She used full CSS to design it.…"
Feb 18
AnGella replied to AnGella's discussion
Slow and Painful 2.0 Death
"That was the first thing I did and even on there it was gone."
Feb 18
⚡JFarrow⌁ replied to AnGella's discussion
Slow and Painful 2.0 Death
"Have you tried to go back in the Wayback Machine and strip out the old CSS and replace it with the…"
Feb 18
AnGella replied to AnGella's discussion
Slow and Painful 2.0 Death
"I am not sure that Ning is a very stable platform at all.  My wordpress site has never deleted any…"
Feb 18
Rosas † Negras replied to AnGella's discussion
Slow and Painful 2.0 Death
"with 3.0 all our passions end for us who have been working on css for years, the only consolation…"
Feb 18
AnGella replied to AnGella's discussion
Slow and Painful 2.0 Death
"Looks like Ning will not resolve this and has told me the problem is on my end.  Knowing that I…"
Feb 18
More…

Meanwhile, you can check our social media channels