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

Now this is not something that a lot of NC's realise that you can do, you can add YouTube videos and other things like Soundcloud music into your activity feed. It's always been available but just not mentioned. The only problem with adding YouTube videos is that they where not big or responsive so here is a tip to remedy that. The videos you add do NOT get added to your current video pages they are just available in the activity feed.

This will work in the activity feeds in profile pages, side columns etc. The activity feeds must be set to detail and not titles only.

Here is an Example on my demo site, you will see I have added an activity feed in the side column as well so you can see it working there. I added a link to my profile page so you can check it out on profile pages also.

SITE URL: https://jr-images.ning.com/

MY PAGE URL: https://jr-images.ning.com/members/bizz

NOTE: Just use the YouTube link from share and not the embed option.

No custom code is needed just css so all the code just goes in your design studio custom css. The first parts are optional but the last part is required.

First how to add a YouTube link to your activity. All you do is go to a video on YouTube you want to share then choose the share option under the video and copy the link ( don't choose embed )

8384734683?profile=RESIZE_584xThis is what you will paste into the status share box on your site at the top of your activity ( your members can do this as well ). If you don't want to add any text then just paste the link and choose share on your site or whatever you named the button.

If you are adding a little text like a description add that first then press enter and add the link on a new line.

Ok so here is the code. In the optional parts you can add all of the blocks of code or just the ones you want. You MUST add the required code at the bottom though.

/*** THESE ARE OPTIONAL SETTINGS ***/

/* Changes the text on status post back to normal rather than bold */
.activityFeed-detailTitle {
font-weight:normal;
margin-top:1em;
}


/*Add the Words You Tube link above the link added */
.activityFeed-detailTitle.create_status > a[href^="https://youtu.be/"]::before,
.statusDetailPage-mainSection .activityFeed-headline > a[href^="https://youtu.be/"]::before{
content:"You Tube Link";display:block;
}


/* Adds Some Padding and margin between the Headline and link */
.statusDetailPage-mainSection .activityFeed-headline > a[href^="https://youtu.be/"],
.activityFeed-detailTitle.create_status > a[href^="https://youtu.be/"]{
display:block;
clear:both;
margin-top:1em;
padding:5px 0px 0px 5px;
}


/*Widens the box which holds the status content */
.feedEvent-createStatus .activityFeed-content,
.statusDetailPage-mainSection .activityFeed-content{
max-width:100%
}

 

/** THESE ARE REQUIRED to make the video bigger and responsive **/

.activityFeed-embed[data-type="video"] > .activityFeed-embedContent{
position: relative!important;
padding-bottom: 56.25%!important;
height: 0!important;
overflow: hidden!important;
max-width: 100%!important;
height: auto!important;
width:auto;
background:none;
}
.activityFeed-embed[data-type="video"] .videoFrame iframe,
.activityFeed-embed[data-type="video"] > .activityFeed-embedContent iframe{
border: none!important;
overflow: hidden!important;
position: absolute!important;
top: 0!important;
left: 0!important;
width: 100%!important;
height: 100%!important;
}

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

  • I have added and expand button to view it bigger on my site now, this is not included in the code above but will add the code after further testing of this option. So far seems to be working well though.

  • Well the expand button seems to be working nicely now which opens the video bigger out of the activity feed, just working on a little part to get the expand button to show up directly after you add the video but does show on refesh of the page. Videos added before the new one all show the expand button ok.

    You can try it out here: https://jr-images.ning.com/

    Be interested to know if you have any issues trying it and the video re-sizes ok for what you are wathcing it on. On a phone it's just the standard size as the phone tends to open it in it's own viewer anyway.

    jr-images
    jr-images is a social network
    • Vimeo links also work to display video here as well

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

Maighread Birdsong updated their profile photo
yesterday
J.Ayvar replied to Nique Stevenson's discussion
Directory Page
" hello, is there any update  idea to build a directory with ning 3 ?"
Saturday
TJ @ jQueryHelp replied to TJ @ jQueryHelp's discussion
Security Alert! Please Delete Code for my Old Apps such as Smileys IMMEDIATELY!
"Thanks! 👍"
Friday
J.Ayvar replied to TJ @ jQueryHelp's discussion
Security Alert! Please Delete Code for my Old Apps such as Smileys IMMEDIATELY!
"Thanks TJ.  welcome back !"
Friday
TJ @ jQueryHelp posted a discussion
Hi everyone! This is TJ, a Ning Apps developer for many years.  Looks like some Ning Creators are…
Friday
Rosas † Negras replied to Rosas † Negras's discussion
After many years of experience, I would like to know from you designers how I can solve this problem and a ridge
"thank you very much I come from the times of this site now I put the photo, it was hard to survive…"
Dec 1
Bizz replied to Rosas † Negras's discussion
After many years of experience, I would like to know from you designers how I can solve this problem and a ridge
"To do a border without the ridge and using dots you would just write it like this
border:13px…"
Dec 1
Steve C posted a discussion
 I want to put ads above individual groups.Jen showed me how to put text above forum categories…
Dec 1
Rosas † Negras replied to George H. Compton IV's discussion
(TIP N3.0 & N2.0) let's hang some Christmas lights..CSS.. Happy holidays :-) updated 12-04-14
"I don't use file manager for photos, so if it's a photo I'm not interested even if after I close…"
Dec 1
Rosas † Negras replied to Rosas † Negras's discussion
After many years of experience, I would like to know from you designers how I can solve this problem and a ridge
"I agree with you, but I want it rounded, on the square it gives no problem,this is an impossible…"
Nov 30
Bizz replied to Rosas † Negras's discussion
After many years of experience, I would like to know from you designers how I can solve this problem and a ridge
"It's because you are using the ridge as a border, to create the ridge the border property adds the…"
Nov 30
Rosas † Negras replied to Rosas † Negras's discussion
After many years of experience, I would like to know from you designers how I can solve this problem and a ridge
"I don't want to go below 13 px I know all would be ok but it's too logical"
Nov 30
More…

Meanwhile, you can check our social media channels