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

⚡JFarrow⌁ replied to Ana Massien's discussion
Emoji work in module headers and newsfeed
"anywhere except for inside the HTML itself."
1 hour ago
⚡JFarrow⌁ replied to Ana Massien's discussion
Front end edits
"Most likely not"
1 hour ago
⚡JFarrow⌁ updated their profile photo
1 hour ago
Rosas † Negras replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"Alessandro is me .. thank you very much for the compliment I am the best"
2 hours ago
Ana Massien replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"Dood we have not even spoke in this thread since June 2020. I don't see why you came to bump it…"
3 hours ago
Ana Massien replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"My name is Ana, not Ann. Ning's earlier days, before the 2.0. Some the elgg layouts correspond to…"
3 hours ago
Rosas † Negras replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"De nada"
yesterday
Ana Massien posted a discussion
  You can add emoji from a browser extension or emojipedia.com (and copy and paste it) into module…
Monday
Ana Massien posted a discussion
For mods and admins, will 3.0 ever be able to have the front end edit buttons like ning 2.0…
Monday
Ana Massien updated their profile
Monday
Lea Bouillet updated their profile
Sunday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"Bizz 
these are the points impossible to reach without these codes"
Saturday
More…

Meanwhile, you can check our social media channels